mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
gitAndTools.git-gone: init at 0.1.2
This commit is contained in:
parent
38c7c5d322
commit
9719889377
@ -89,6 +89,10 @@ let
|
||||
|
||||
git-extras = callPackage ./git-extras { };
|
||||
|
||||
git-gone = callPackage ./git-gone {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
git-hub = callPackage ./git-hub { };
|
||||
|
||||
git-ignore = callPackage ./git-ignore { };
|
||||
|
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, curl, libiconv, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "git-gone";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lunaryorn";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0vgkx227wpg9l2zza6446wzshjhnrhba3qhabibn4gg8wwcqmmxf";
|
||||
};
|
||||
|
||||
cargoSha256 = "11h2whlgjhg3j98a9w9k29njj89wx93w0dcyf981985flin709sx";
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ openssl ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ curl libiconv Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cleanup stale Git branches of pull requests";
|
||||
homepage = "https://github.com/lunaryorn/git-gone";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user