mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
git-revise: init at 0.4.2
A flexible and fast alternative to `git commit --amend`/`git rebase`. See also: * https://mystor.github.io/git-revise.html * https://lobste.rs/s/5gdnrt/introducing_git_revise * https://git-revise.readthedocs.io/en/latest/
This commit is contained in:
parent
ee877d7b19
commit
a010a7b665
3 changed files with 39 additions and 0 deletions
35
pkgs/development/python-modules/git-revise/default.nix
Normal file
35
pkgs/development/python-modules/git-revise/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
|
@ -3138,6 +3138,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 { };
|
||||
|
|
Loading…
Reference in a new issue