Skip to content

Commit

Permalink
rnix-hashes: init at 0.2.0 (#93778)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rizary committed Jul 28, 2020
1 parent d6e9093 commit f4997ef
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Expand Up @@ -6856,6 +6856,12 @@
githubId = 2507744;
name = "Roland Koebler";
};
rizary = {
email = "andika@numtide.com";
github = "Rizary";
githubId = 7221768;
name = "Andika Demas Riyandi";
};
rkrzr = {
email = "ops+nixpkgs@channable.com";
github = "rkrzr";
Expand Down
21 changes: 21 additions & 0 deletions 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -26402,6 +26402,8 @@ in

nixpkgs-fmt = callPackage ../tools/nix/nixpkgs-fmt { };

rnix-hashes = callPackage ../tools/nix/rnix-hashes { };

nixos-artwork = callPackage ../data/misc/nixos-artwork { };
nixos-icons = callPackage ../data/misc/nixos-artwork/icons.nix { };
nixos-grub2-theme = callPackage ../data/misc/nixos-artwork/grub2-theme.nix { };
Expand Down

0 comments on commit f4997ef

Please sign in to comment.