30 lines
768 B
Nix
30 lines
768 B
Nix
{ stdenv, fetchurl, rustPlatform, darwin }:
|
|
|
|
with rustPlatform;
|
|
|
|
buildRustPackage rec {
|
|
name = "pijul-${version}";
|
|
version = "0.8.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://pijul.org/releases/${name}.tar.gz";
|
|
sha256 = "00pi03yp2bgnjpsz2hgaapxfw2i4idbjqc88cagpvn4yr1612wqx";
|
|
};
|
|
|
|
sourceRoot = "${name}/pijul";
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin
|
|
(with darwin.apple_sdk.frameworks; [ Security ]);
|
|
|
|
doCheck = false;
|
|
|
|
cargoSha256 = "1cnr08qbpia3336l37k1jli20d7kwnrw2gys8s9mg271cb4vdx03";
|
|
|
|
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;
|
|
};
|
|
}
|