3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/git-and-tools/legit/default.nix
2020-02-26 20:11:31 +00:00

31 lines
717 B
Nix

{ 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 ];
};
}