git-branchstack: migrate to by-name (#348315)

This commit is contained in:
kirillrdy 2024-10-17 17:31:04 +11:00 committed by GitHub
commit 655301c44d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 30 additions and 28 deletions

View File

@ -1,26 +0,0 @@
{ lib
, fetchPypi
, buildPythonApplication
, git-revise
}:
buildPythonApplication rec {
pname = "git-branchstack";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-gja93LOcVCQ6l+Cygvsm+3uomvxtvUl6t23GIb/tKyQ=";
};
buildInputs = [
git-revise
];
meta = with lib; {
homepage = "https://github.com/krobelus/git-branchstack";
description = "Efficiently manage Git branches without leaving your local branch";
license = licenses.mit;
maintainers = [ maintainers.AndersonTorres ];
};
}

View File

@ -0,0 +1,30 @@
{
lib,
fetchPypi,
python3Packages,
}:
let
self = python3Packages.buildPythonApplication {
pname = "git-branchstack";
version = "0.2.0";
src = fetchPypi {
pname = "git-branchstack";
inherit (self) version;
hash = "sha256-gja93LOcVCQ6l+Cygvsm+3uomvxtvUl6t23GIb/tKyQ=";
};
dependencies = with python3Packages; [
git-revise
];
meta = {
homepage = "https://github.com/krobelus/git-branchstack";
description = "Efficiently manage Git branches without leaving your local branch";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ AndersonTorres ];
};
};
in
self

View File

@ -2191,8 +2191,6 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
git-branchstack = python3.pkgs.callPackage ../applications/version-management/git-branchstack { };
git-bug = callPackage ../applications/version-management/git-bug { };
git-bug-migration = callPackage ../applications/version-management/git-bug-migration { };