diff options
author | Andika Demas Riyandi <andika.riyan@gmail.com> | 2020-07-28 21:38:00 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 14:38:00 +0000 |
commit | f4997efd5c84d3b0b816e14c34c842872df83d26 (patch) | |
tree | 763f0ae443e188f4280847bd8053a425825876a5 /pkgs/tools/nix | |
parent | d6e909342f5bde8f0bdaccac57940f5aa3730c5d (diff) |
rnix-hashes: init at 0.2.0 (#93778)
Diffstat (limited to 'pkgs/tools/nix')
-rw-r--r-- | pkgs/tools/nix/rnix-hashes/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/tools/nix/rnix-hashes/default.nix b/pkgs/tools/nix/rnix-hashes/default.nix new file mode 100644 index 000000000000..607884b8ac90 --- /dev/null +++ b/pkgs/tools/nix/rnix-hashes/default.nix @@ -0,0 +1,21 @@ +{ lib, rustPlatform, fetchFromGitHub, fetchpatch }: +rustPlatform.buildRustPackage rec { + pname = "rnix-hashes"; + version = "0.2.0"; + + src = fetchFromGitHub { + owner = "numtide"; + repo = pname; + rev = "v${version}"; + sha256 = "SzHyG5cEjaaPjTkn8puht6snjHMl8DtorOGDjxakJfA="; + }; + + cargoSha256 = "vaG+0t+XAckV9F4iIgcTkbIUurxdQsTCfOnRnrOKoRc="; + + meta = with lib; { + description = "Nix Hash Converter"; + homepage = "https://github.com/numtide/rnix-hashes"; + license = licenses.asl20; + maintainers = with maintainers; [ rizary ]; + }; +} |