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-13 13:25:25 +00:00
version = "0.4.4";
2017-03-20 07:19:05 +00:00
src = fetchurl {
url = "https://pijul.org/releases/${name}.tar.gz";
2017-04-13 13:25:25 +00:00
sha256 = "8f133b7e14bfa84156c103126d53b12c6dfb996dcdebcf1091199ff9c77f3713";
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-13 13:25:25 +00:00
depsSha256 = "1zdvnarg182spgydmqwxxr929j44d771zkq7gyh152173i0xqb20";
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;
};
}