legit: init at 1.2.0

This commit is contained in:
ryneeverett 2019-12-07 01:34:14 +00:00
parent 954d44f875
commit e964450670
3 changed files with 34 additions and 0 deletions

View File

@ -173,6 +173,8 @@ let
lefthook = callPackage ./lefthook { };
legit = callPackage ./legit { };
pass-git-helper = python3Packages.callPackage ./pass-git-helper { };
pre-commit = pkgs.python3Packages.toPythonApplication pkgs.python3Packages.pre-commit;

View File

@ -0,0 +1,30 @@
{ lib, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "legit";
version = "1.2.0";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "0ngh3ar6v15516f52j21k6qz7hykmxfjadhb2rakvl27b5xvjy1c";
};
propagatedBuildInputs = with python3Packages; [
click
clint
crayons
GitPython
six
];
# Prevent tests from trying to create configuration in /homeless-shelter.
preCheck = ''
export HOME=$PWD/test-home
'';
meta = with lib; {
homepage = "https://github.com/frostming/legit";
description = "Git for Humans, Inspired by GitHub for Mac";
license = licenses.bsd3;
maintainers = with maintainers; [ ryneeverett ];
};
}

View File

@ -20094,6 +20094,8 @@ in
lemonbar-xft = callPackage ../applications/window-managers/lemonbar/xft.nix { };
legit = gitAndTools.legit;
leo-editor = callPackage ../applications/editors/leo-editor { };
libowfat = callPackage ../development/libraries/libowfat { };