Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 41 lines 797 B view raw
1{ lib 2, fetchFromGitHub 3, python3 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "gitless"; 8 version = "0.8.8"; 9 format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "gitless-vcs"; 13 repo = pname; 14 rev = "v${version}"; 15 hash = "sha256-xo5EWtP2aN8YzP8ro3bnxZwUGUp0PHD0g8hk+Y+gExE="; 16 }; 17 18 nativeBuildInputs = [ python3.pkgs.pythonRelaxDepsHook ]; 19 20 propagatedBuildInputs = with python3.pkgs; [ 21 sh 22 pygit2 23 clint 24 ]; 25 26 pythonRelaxDeps = [ "pygit2" ]; 27 28 doCheck = false; 29 30 pythonImportsCheck = [ 31 "gitless" 32 ]; 33 34 meta = with lib; { 35 description = "Version control system built on top of Git"; 36 homepage = "https://gitless.com/"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ cransom ]; 39 platforms = platforms.all; 40 }; 41}