Files
nixpkgs/pkgs/by-name/do/dotslash/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
1.2 KiB
Nix

{
lib,
rustPlatform,
fetchCrate,
testers,
nix-update-script,
dotslash,
}:
rustPlatform.buildRustPackage rec {
pname = "dotslash";
version = "0.5.7";
src = fetchCrate {
inherit pname version;
hash = "sha256-VFesGum2xjknUuCwIojntdst5dmhvZb78ejJ2OG1FVI=";
};
cargoHash = "sha256-+FWDeR4AcFSFz0gGQ8VMvX68/F0yEm25cNfHeedqsWE=";
doCheck = false; # http tests
passthru = {
updateScript = nix-update-script { };
tests = testers.testVersion {
package = dotslash;
};
};
meta = with lib; {
homepage = "https://dotslash-cli.com";
description = "Simplified multi-platform executable deployment";
longDescription = ''
DotSlash is a command-line tool that is designed to facilitate fetching an
executable, verifying it, and then running it. It maintains a local cache
of fetched executables so that subsequent invocations are fast.
DotSlash helps keeps heavyweight binaries out of your repo while ensuring
your developers seamlessly get the tools they need, ensuring consistent
builds across platforms.
'';
license = with licenses; [
asl20 # or
mit
];
mainProgram = "dotslash";
maintainers = with maintainers; [ thoughtpolice ];
};
}