summary refs log tree commit diff
path: root/pkgs/tools/nix
diff options
context:
space:
mode:
authorAndika Demas Riyandi <andika.riyan@gmail.com>2020-07-28 21:38:00 +0700
committerGitHub <noreply@github.com>2020-07-28 14:38:00 +0000
commitf4997efd5c84d3b0b816e14c34c842872df83d26 (patch)
tree763f0ae443e188f4280847bd8053a425825876a5 /pkgs/tools/nix
parentd6e909342f5bde8f0bdaccac57940f5aa3730c5d (diff)
downloadnixpkgs-f4997efd5c84d3b0b816e14c34c842872df83d26.tar
nixpkgs-f4997efd5c84d3b0b816e14c34c842872df83d26.tar.gz
nixpkgs-f4997efd5c84d3b0b816e14c34c842872df83d26.tar.bz2
nixpkgs-f4997efd5c84d3b0b816e14c34c842872df83d26.tar.lz
nixpkgs-f4997efd5c84d3b0b816e14c34c842872df83d26.tar.xz
nixpkgs-f4997efd5c84d3b0b816e14c34c842872df83d26.tar.zst
nixpkgs-f4997efd5c84d3b0b816e14c34c842872df83d26.zip
rnix-hashes: init at 0.2.0 (#93778)
Diffstat (limited to 'pkgs/tools/nix')
-rw-r--r--pkgs/tools/nix/rnix-hashes/default.nix21
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 00000000000..607884b8ac9
--- /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 ];
+  };
+}