3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/pazi/default.nix

27 lines
724 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, rustPlatform, darwin }:
2019-04-27 08:36:10 +01:00
rustPlatform.buildRustPackage rec {
pname = "pazi";
2019-08-14 21:08:49 +01:00
version = "0.3.0";
2019-04-27 08:36:10 +01:00
src = fetchFromGitHub {
owner = "euank";
repo = pname;
rev = "v${version}";
2019-08-14 21:08:49 +01:00
sha256 = "1gnh6047hacavcb9bhps9d1zjns66rdbd158fw20kjp1lln5srrn";
2019-04-27 08:36:10 +01:00
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
2019-08-14 21:08:49 +01:00
cargoSha256 = "15s03vwgl6562n5h9r4d5kp2r168jakn5nwnyibmrs8r5q0idmjs";
2019-04-27 08:36:10 +01:00
cargoPatches = [ ./cargo-lock.patch ];
meta = with stdenv.lib; {
description = "An autojump \"zap to directory\" helper";
homepage = https://github.com/euank/pazi;
license = licenses.gpl3;
maintainers = with maintainers; [ bbigras ];
};
}