{ stdenv, fetchurl, rustPlatform, darwin }: with rustPlatform; buildRustPackage rec { name = "pijul-${version}"; version = "0.7.3"; src = fetchurl { url = "https://pijul.org/releases/${name}.tar.gz"; sha256 = "08cffv6nfp1iv9m2qhr9hggy9kg8xp07p8kqkjypfsdsb983vz5n"; }; sourceRoot = "${name}/pijul"; buildInputs = stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Security ]); doCheck = false; cargoSha256 = "0r69vghjd6b30v0qjsipyv56n92iwvyxmllrnwjzjf5pzhhjl7sy"; 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; }; }