depot/third_party/nixpkgs/pkgs/applications/version-management/gitless/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

41 lines
815 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "gitless";
version = "0.9.17";
format = "setuptools";
src = fetchFromGitHub {
owner = "goldstar611";
repo = pname;
rev = version;
hash = "sha256-XDB1i2b1reMCM6i1uK3IzTnsoLXO7jldYtNlYUo1AoQ=";
};
nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ];
propagatedBuildInputs = with python3.pkgs; [
pygit2
argcomplete
];
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;
mainProgram = "gl";
};
}