Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 python3, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "gitless"; 9 version = "0.9.17"; 10 format = "pyproject"; 11 12 src = fetchFromGitHub { 13 owner = "goldstar611"; 14 repo = "gitless"; 15 rev = version; 16 hash = "sha256-XDB1i2b1reMCM6i1uK3IzTnsoLXO7jldYtNlYUo1AoQ="; 17 }; 18 19 build-system = with python3.pkgs; [ 20 setuptools 21 ]; 22 23 dependencies = with python3.pkgs; [ 24 pygit2 25 argcomplete 26 ]; 27 28 pythonRelaxDeps = [ "pygit2" ]; 29 30 doCheck = false; 31 32 pythonImportsCheck = [ 33 "gitless" 34 ]; 35 36 meta = with lib; { 37 description = "Version control system built on top of Git"; 38 homepage = "https://gitless.com/"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ cransom ]; 41 platforms = platforms.all; 42 mainProgram = "gl"; 43 }; 44}