mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 07:31:19 +00:00
tack: init at 1.0.0
This commit is contained in:
43
pkgs/by-name/ta/tack/package.nix
Normal file
43
pkgs/by-name/ta/tack/package.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "tack";
|
||||
version = "1.0.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "manic-systems";
|
||||
repo = "tack";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-KhJb0NWLhj8AkD8uWEbXt179YlFLemk0OgOltw4jEk8=";
|
||||
};
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
cargoHash = "sha256-3vDMM5uTsmRso6McH/b3+RpjeKjhgQm9V1piBrnSRjk=";
|
||||
|
||||
prePatch = ''
|
||||
rm .cargo/config.toml
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/manic-systems/tack";
|
||||
description = "flake-like toml nix pins, lazily fetched and transformed";
|
||||
mainProgram = "tack";
|
||||
license = [ lib.licenses.eupl12 ];
|
||||
maintainers = with lib.maintainers; [
|
||||
amaanq
|
||||
atagen
|
||||
faukah
|
||||
max
|
||||
NotAShelf
|
||||
];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user