git-gone: 0.4.1 -> 0.4.2
https://github.com/lunaryorn/git-gone/releases/tag/v0.4.2
This commit is contained in:
parent
31d5678462
commit
1c0da2400d
@ -1,29 +1,27 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitea
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, libiconv
|
|
||||||
, Security
|
, Security
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "git-gone";
|
pname = "git-gone";
|
||||||
version = "0.4.1";
|
version = "0.4.2";
|
||||||
|
|
||||||
src = fetchFromGitea {
|
src = fetchFromGitHub {
|
||||||
domain = "codeberg.org";
|
owner = "lunaryorn";
|
||||||
owner = "flausch";
|
repo = "git-gone";
|
||||||
repo = pname;
|
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-kqKFs3xvTVHnsLpLC9gjj1dcPChhegmupNrbWy+7C6o=";
|
sha256 = "sha256-aKBNi797aMPawxD+BLpk0sazXz2g0XTzmDpR/mk07no=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-8R13eHS69fQ3r3LYlnB3nPTPX7VesUPlAUCmQEpUUdw=";
|
cargoSha256 = "sha256-vO1ePqDIy5HEBauO3OkMCovrgtIVB9biJExw/q89ivE=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage git-gone.1
|
installManPage git-gone.1
|
||||||
@ -31,8 +29,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Cleanup stale Git branches of merge requests";
|
description = "Cleanup stale Git branches of merge requests";
|
||||||
homepage = "https://codeberg.org/flausch/git-gone";
|
homepage = "https://github.com/lunaryorn/git-gone";
|
||||||
changelog = "https://codeberg.org/flausch/git-gone/raw/tag/v${version}/CHANGELOG.md";
|
changelog = "https://github.com/lunaryorn/git-gone/raw/v${version}/CHANGELOG.md";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ maintainers.marsam ];
|
maintainers = [ maintainers.marsam ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user