pythonPackage.git-sweep: refactor move to python-modules
This commit is contained in:
parent
968b1ab947
commit
c26dd4138b
25
pkgs/development/python-modules/git-sweep/default.nix
Normal file
25
pkgs/development/python-modules/git-sweep/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, GitPython
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "git-sweep";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1csp0zd049d643d409rfivbswwzrayb4i6gkypp5mc27fb1z2afd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ GitPython ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A command-line tool that helps you clean up Git branches";
|
||||
homepage = https://github.com/arc90/git-sweep;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
|
||||
}
|
@ -2382,23 +2382,7 @@ in {
|
||||
|
||||
gipc = callPackage ../development/python-modules/gipc { };
|
||||
|
||||
git-sweep = buildPythonPackage rec {
|
||||
name = "git-sweep-0.1.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/g/git-sweep/${name}.tar.gz";
|
||||
sha256 = "1csp0zd049d643d409rfivbswwzrayb4i6gkypp5mc27fb1z2afd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ GitPython ];
|
||||
|
||||
meta = {
|
||||
description = "A command-line tool that helps you clean up Git branches";
|
||||
homepage = https://github.com/arc90/git-sweep;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
};
|
||||
git-sweep = callPackage ../development/python-modules/git-sweep { };
|
||||
|
||||
glances = callPackage ../development/python-modules/glances { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user