Skip to content

Commit

Permalink
legit: init at 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ryneeverett committed Feb 26, 2020
1 parent 954d44f commit e964450
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit e964450

Please sign in to comment.