2017-03-20 08:19:05 +01:00
|
|
|
{ stdenv, fetchurl, rustPlatform, perl, darwin }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "pijul-${version}";
|
2017-04-13 15:25:25 +02:00
|
|
|
version = "0.4.4";
|
2017-03-20 08:19:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://pijul.org/releases/${name}.tar.gz";
|
2017-04-13 15:25:25 +02:00
|
|
|
sha256 = "8f133b7e14bfa84156c103126d53b12c6dfb996dcdebcf1091199ff9c77f3713";
|
2017-03-20 08:19:05 +01:00
|
|
|
};
|
|
|
|
|
2017-03-22 17:26:04 +01:00
|
|
|
sourceRoot = "${name}/pijul";
|
2017-03-20 08:19:05 +01:00
|
|
|
|
|
|
|
buildInputs = [ perl ]++ stdenv.lib.optionals stdenv.isDarwin
|
|
|
|
(with darwin.apple_sdk.frameworks; [ Security ]);
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-04-13 15:25:25 +02:00
|
|
|
depsSha256 = "1zdvnarg182spgydmqwxxr929j44d771zkq7gyh152173i0xqb20";
|
2017-03-20 08:19:05 +01: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;
|
|
|
|
};
|
|
|
|
}
|