87f9c27ba9
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
39 lines
728 B
Nix
39 lines
728 B
Nix
{ lib
|
|
, boost
|
|
, fetchFromGitHub
|
|
, libsodium
|
|
, nix
|
|
, pkg-config
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "harmonia";
|
|
version = "0.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nix-community";
|
|
repo = pname;
|
|
rev = "refs/tags/${pname}-v${version}";
|
|
hash = "sha256-fT9CJ/WAH5ESU4Ja062U/qNWDmhEfHI1XctnFjgBJ+A=";
|
|
};
|
|
|
|
cargoHash = "sha256-rcA94i7JDUBH2JrbWbEQLBMV9R1rBXnS3pNEmbOUr9c=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config nix
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|