Skip to content

Commit

Permalink
Merge pull request #66509 from emilazy/add-git-revise
Browse files Browse the repository at this point in the history
git-revise: init at 0.4.2
  • Loading branch information
mmahut committed Aug 12, 2019
2 parents f5d84bb + a010a7b commit 984851a
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/git-revise/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonAtLeast
, tox
, pytest
, pylint
, mypy
, black
}:

buildPythonPackage rec {
pname = "git-revise";
version = "0.4.2";

src = fetchPypi {
inherit pname version;
sha256 = "1mq1fh8m6jxl052d811cgpl378hiq20a8zrhdjn0i3dqmxrcb8vs";
};

disabled = !(pythonAtLeast "3.6");

checkInputs = [ tox pytest pylint mypy black ];

checkPhase = ''
tox
'';

meta = with lib; {
description = "Efficiently update, split, and rearrange git commits";
homepage = https://github.com/mystor/git-revise;
license = licenses.mit;
maintainers = with maintainers; [ emily ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,8 @@ in

git-repo-updater = python3Packages.callPackage ../development/tools/git-repo-updater { };

git-revise = with python3Packages; toPythonApplication git-revise;

git-town = callPackage ../tools/misc/git-town { };

github-changelog-generator = callPackage ../development/tools/github-changelog-generator { };
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3142,6 +3142,8 @@ in {

gipc = callPackage ../development/python-modules/gipc { };

git-revise = callPackage ../development/python-modules/git-revise { };

git-sweep = callPackage ../development/python-modules/git-sweep { };

glances = callPackage ../development/python-modules/glances { };
Expand Down

0 comments on commit 984851a

Please sign in to comment.