harmonia: init at 0.2.0

This commit is contained in:
Fabian Affolter 2022-10-18 22:40:55 +02:00
parent 824866a5dc
commit 01d2fab743
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, boost
, fetchFromGitHub
, libsodium
, nix
, pkg-config
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "harmonia";
version = "0.2.0";
src = fetchFromGitHub {
owner = "helsinki-systems";
repo = pname;
rev = "refs/tags/${pname}-v${version}";
hash = "sha256-deqF6xDz3oCA1W8X8U1FD1gPYfxinZzpSuRKyaPDN/Y=";
};
cargoHash = "sha256-eur3tg2w2WTA+JkOwTLwQzDZX7QN2xV4K0FIn7JN/rM=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
boost
libsodium
nix
];
meta = with lib; {
description = "Nix binary cache";
homepage = "https://github.com/helsinki-systems/harmonia";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -7614,6 +7614,8 @@ with pkgs;
hardinfo = callPackage ../tools/system/hardinfo { };
harmonia = callPackage ../tools/package-management/harmonia { };
hcl2json = callPackage ../applications/misc/hcl2json { };
hcxtools = callPackage ../tools/security/hcxtools { };