depot/third_party/nixpkgs/pkgs/tools/package-management/harmonia/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

39 lines
727 B
Nix

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