depot/third_party/nixpkgs/pkgs/by-name/do/dotslash/package.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

31 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 ];
};
}