Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 677 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 git, 6}: 7 8buildGoModule rec { 9 pname = "bit"; 10 version = "1.1.2"; 11 12 src = fetchFromGitHub { 13 owner = "chriswalz"; 14 repo = "bit"; 15 rev = "v${version}"; 16 sha256 = "sha256-18R0JGbG5QBDghF4SyhXaKe9UY5UzF7Ap0Y061Z1SZ8="; 17 }; 18 19 vendorHash = "sha256-3Y/B14xX5jaoL44rq9+Nn4niGViLPPXBa8WcJgTvYTA="; 20 21 propagatedBuildInputs = [ git ]; 22 23 # Tests require a repository 24 doCheck = false; 25 26 meta = with lib; { 27 description = "Command-line tool for git"; 28 homepage = "https://github.com/chriswalz/bit"; 29 license = with licenses; [ asl20 ]; 30 maintainers = with maintainers; [ fab ]; 31 mainProgram = "bit"; 32 }; 33}