nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 704 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "joker"; 9 version = "1.5.8"; 10 11 src = fetchFromGitHub { 12 rev = "v${version}"; 13 owner = "candid82"; 14 repo = "joker"; 15 sha256 = "sha256-srBJiCqxNGfLZCxVHH6Mjs3Ht7Boy64qmPjr2+l/l1I="; 16 }; 17 18 vendorHash = "sha256-yH8QVzliAFZlOvprfdh/ClCWK2/7F96f0yLWvuAhGY8="; 19 20 doCheck = false; 21 22 preBuild = '' 23 go generate ./... 24 ''; 25 26 subPackages = [ "." ]; 27 28 meta = { 29 homepage = "https://github.com/candid82/joker"; 30 description = "Small Clojure interpreter and linter written in Go"; 31 mainProgram = "joker"; 32 license = lib.licenses.epl10; 33 maintainers = with lib.maintainers; [ andrestylianos ]; 34 }; 35}