diff options
Diffstat (limited to 'pkgs/applications/version-management/gitless/default.nix')
-rw-r--r-- | pkgs/applications/version-management/gitless/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/gitless/default.nix b/pkgs/applications/version-management/gitless/default.nix new file mode 100644 index 00000000000..31ab40d7947 --- /dev/null +++ b/pkgs/applications/version-management/gitless/default.nix @@ -0,0 +1,41 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "gitless"; + version = "0.8.8"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "gitless-vcs"; + repo = pname; + rev = "v${version}"; + hash = "sha256-xo5EWtP2aN8YzP8ro3bnxZwUGUp0PHD0g8hk+Y+gExE="; + }; + + nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ]; + + propagatedBuildInputs = with python3.pkgs; [ + sh + pygit2 + clint + ]; + + pythonRelaxDeps = [ "pygit2" ]; + + doCheck = false; + + pythonImportsCheck = [ + "gitless" + ]; + + meta = with lib; { + description = "Version control system built on top of Git"; + homepage = "https://gitless.com/"; + license = licenses.mit; + maintainers = with maintainers; [ cransom ]; + platforms = platforms.all; + }; +} |