8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
30 lines
717 B
Nix
30 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 ];
|
|
};
|
|
}
|