2022-11-04 12:27:35 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, stdenv, Security }:
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "srvc";
|
2022-11-04 12:27:35 +00:00
|
|
|
version = "0.7.0";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "insilica";
|
|
|
|
repo = "rs-srvc";
|
|
|
|
rev = "v${version}";
|
2022-11-04 12:27:35 +00:00
|
|
|
sha256 = "sha256-XGZ6Jr/RVDOLDa0sANZIsKtNjY3pEBlOtei+xNGPBBY=";
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
cargoSha256 = "sha256-sjMg5XMnAQZjp6z9prtRq+0pyNQ1oTm0/KWOZPxDW4w=";
|
|
|
|
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
|
|
|
Security
|
|
|
|
];
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Sysrev version control";
|
|
|
|
homepage = "https://github.com/insilica/rs-srvc";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ john-shaffer ];
|
|
|
|
};
|
|
|
|
}
|