3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/pijul/default.nix

31 lines
798 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-04-03 14:04:04 +01:00
version = "0.4.1";
2017-03-20 07:19:05 +00:00
src = fetchurl {
url = "https://pijul.org/releases/${name}.tar.gz";
2017-04-03 14:04:04 +01:00
sha256 = "e492fde1bea839f474f5b91bb762a0fab5ff6a9bc2b8f20eb91a253ca6feda5a";
2017-03-20 07:19:05 +00:00
};
2017-03-22 16:26:04 +00:00
sourceRoot = "${name}/pijul";
2017-03-20 07:19:05 +00:00
buildInputs = [ perl ]++ stdenv.lib.optionals stdenv.isDarwin
(with darwin.apple_sdk.frameworks; [ Security ]);
doCheck = false;
2017-04-03 14:04:04 +01:00
depsSha256 = "17n66clr31s49gbbcsii0f31s63rncc9mmz4wwdi0yl4r6ykv9h7";
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;
};
}