2022-01-26 04:04:25 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-01-26 04:04:25 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gitless";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "0.9.17";
|
2022-01-26 04:04:25 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-08-22 20:05:09 +00:00
|
|
|
owner = "goldstar611";
|
2022-01-26 04:04:25 +00:00
|
|
|
repo = pname;
|
2023-08-22 20:05:09 +00:00
|
|
|
rev = version;
|
|
|
|
hash = "sha256-XDB1i2b1reMCM6i1uK3IzTnsoLXO7jldYtNlYUo1AoQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ];
|
|
|
|
|
2022-01-26 04:04:25 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
pygit2
|
2023-08-22 20:05:09 +00:00
|
|
|
argcomplete
|
2022-01-26 04:04:25 +00:00
|
|
|
];
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
pythonRelaxDeps = [ "pygit2" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-01-26 04:04:25 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"gitless"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-01-26 04:04:25 +00:00
|
|
|
description = "Version control system built on top of Git";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://gitless.com/";
|
2022-01-26 04:04:25 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ cransom ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|