nixpkgs/pkgs/applications/version-management/gitless/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
815 B
Nix
Raw Permalink Normal View History

{ lib
, fetchFromGitHub
, python3
}:
2017-12-12 18:33:42 +00:00
python3.pkgs.buildPythonApplication rec {
2019-12-30 08:13:43 +00:00
pname = "gitless";
2023-08-17 18:03:41 +00:00
version = "0.9.17";
format = "setuptools";
2017-12-12 18:33:42 +00:00
src = fetchFromGitHub {
2023-08-17 18:03:41 +00:00
owner = "goldstar611";
repo = pname;
2023-08-17 18:03:41 +00:00
rev = version;
hash = "sha256-XDB1i2b1reMCM6i1uK3IzTnsoLXO7jldYtNlYUo1AoQ=";
2017-12-12 18:33:42 +00:00
};
2022-04-28 22:05:15 +00:00
nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ];
propagatedBuildInputs = with python3.pkgs; [
pygit2
2023-08-17 18:03:41 +00:00
argcomplete
];
2022-04-28 22:05:15 +00:00
pythonRelaxDeps = [ "pygit2" ];
2017-12-12 18:33:42 +00:00
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 ];
2017-12-12 18:33:42 +00:00
platforms = platforms.all;
2023-11-27 01:17:53 +00:00
mainProgram = "gl";
2017-12-12 18:33:42 +00:00
};
}