diff --git a/pkgs/by-name/do/dotslash/package.nix b/pkgs/by-name/do/dotslash/package.nix new file mode 100644 index 000000000000..788d6ea17aa0 --- /dev/null +++ b/pkgs/by-name/do/dotslash/package.nix @@ -0,0 +1,31 @@ +{ 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 ]; + }; +}