Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 31 lines 645 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "dapper"; 9 version = "0.6.0"; 10 11 src = fetchFromGitHub { 12 owner = "rancher"; 13 repo = "dapper"; 14 rev = "v${version}"; 15 sha256 = "sha256-V+lHnOmIWjI1qmoJ7+pp+cGmJAtSeY+r2I9zykswQzM="; 16 }; 17 vendorHash = null; 18 19 patchPhase = '' 20 substituteInPlace main.go --replace 0.0.0 ${version} 21 ''; 22 23 meta = with lib; { 24 description = "Docker build wrapper"; 25 mainProgram = "dapper"; 26 homepage = "https://github.com/rancher/dapper"; 27 license = licenses.asl20; 28 platforms = platforms.linux; 29 maintainers = with maintainers; [ kuznero ]; 30 }; 31}