at 24.11-pre 41 lines 815 B view raw
1{ lib 2, fetchFromGitHub 3, python3 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "gitless"; 8 version = "0.9.17"; 9 format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "goldstar611"; 13 repo = pname; 14 rev = version; 15 hash = "sha256-XDB1i2b1reMCM6i1uK3IzTnsoLXO7jldYtNlYUo1AoQ="; 16 }; 17 18 nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ]; 19 20 propagatedBuildInputs = with python3.pkgs; [ 21 pygit2 22 argcomplete 23 ]; 24 25 pythonRelaxDeps = [ "pygit2" ]; 26 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "gitless" 31 ]; 32 33 meta = with lib; { 34 description = "Version control system built on top of Git"; 35 homepage = "https://gitless.com/"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ cransom ]; 38 platforms = platforms.all; 39 mainProgram = "gl"; 40 }; 41}