32 lines
1 KiB
Nix
32 lines
1 KiB
Nix
|
{ lib, rustPlatform, fetchCrate }:
|
||
|
|
||
|
rustPlatform.buildRustPackage rec {
|
||
|
pname = "dotslash";
|
||
|
version = "0.2.0";
|
||
|
|
||
|
src = fetchCrate {
|
||
|
inherit pname version;
|
||
|
hash = "sha256-4y4GH+YR6QpZj7gYycJcm7K5tE7dCvYm3UQuCKF3cfQ=";
|
||
|
};
|
||
|
|
||
|
cargoHash = "sha256-L/ahRDLVOWsg7mHWlLYqP/+6zS9JwXGQXn66UsIIARk=";
|
||
|
doCheck = false; # http tests
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|