nixpkgs/pkgs/applications/version-management/pijul/default.nix

31 lines
777 B
Nix
Raw Normal View History

2017-03-20 07:19:05 +00:00
{ stdenv, fetchurl, rustPlatform, perl, darwin }:
with rustPlatform;
buildRustPackage rec {
name = "pijul-${version}";
2017-06-07 08:24:44 +00:00
version = "0.6.0";
2017-03-20 07:19:05 +00:00
src = fetchurl {
url = "https://pijul.org/releases/${name}.tar.gz";
2017-06-07 08:24:44 +00:00
sha256 = "a6b066b49b25d1083320c5ab23941deee795e1fcbe1faa951e95189fd594cdb3";
2017-03-20 07:19:05 +00:00
};
2017-06-07 08:24:44 +00:00
sourceRoot = "pijul";
2017-03-20 07:19:05 +00:00
2017-06-07 08:24:44 +00:00
buildInputs = stdenv.lib.optionals stdenv.isDarwin
2017-03-20 07:19:05 +00:00
(with darwin.apple_sdk.frameworks; [ Security ]);
doCheck = false;
2017-06-07 08:24:44 +00:00
depsSha256 = "0raim0ahqg6fkidb6picfzircdzwdbsdmmv8in70r5hw770bv67r";
2017-03-20 07:19:05 +00:00
meta = with stdenv.lib; {
description = "A distributed version control system";
homepage = https://pijul.org;
license = with licenses; [ gpl2Plus ];
maintainers = [ maintainers.gal_bolle ];
platforms = platforms.all;
};
}