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

31 lines
767 B
Nix
Raw Normal View History

2017-08-26 21:45:37 +02:00
{ stdenv, fetchurl, rustPlatform, darwin }:
2017-03-20 08:19:05 +01:00
with rustPlatform;
buildRustPackage rec {
name = "pijul-${version}";
2017-08-26 21:45:37 +02:00
version = "0.7.3";
2017-03-20 08:19:05 +01:00
src = fetchurl {
url = "https://pijul.org/releases/${name}.tar.gz";
2017-08-26 21:45:37 +02:00
sha256 = "08cffv6nfp1iv9m2qhr9hggy9kg8xp07p8kqkjypfsdsb983vz5n";
2017-03-20 08:19:05 +01:00
};
2017-08-26 21:45:37 +02:00
sourceRoot = "${name}/pijul";
2017-03-20 08:19:05 +01:00
2017-06-07 10:24:44 +02:00
buildInputs = stdenv.lib.optionals stdenv.isDarwin
2017-03-20 08:19:05 +01:00
(with darwin.apple_sdk.frameworks; [ Security ]);
doCheck = false;
2017-06-07 10:24:44 +02:00
2017-08-26 21:45:37 +02:00
depsSha256 = "1qzzpnkyw1bn5fnj06c80f7985v1q0rqcphrrrkpbi33lg5mzgbv";
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;
};
}