-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
954d44f
commit e964450
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
pkgs/applications/version-management/git-and-tools/legit/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters