mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
git-branchstack: migrate to by-name (#348315)
This commit is contained in:
commit
655301c44d
@ -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 ];
|
||||
};
|
||||
}
|
30
pkgs/by-name/gi/git-branchstack/package.nix
Normal file
30
pkgs/by-name/gi/git-branchstack/package.nix
Normal 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
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user