Merge pull request #75129 from ryneeverett/legit-init

legit: init at 1.2.0
This commit is contained in:
Timo Kaufmann 2020-03-31 14:22:31 +00:00 committed by GitHub
commit 24ead6996c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 0 deletions

View file

@ -179,6 +179,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

@ -20296,6 +20296,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 { };