Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoPackage, fetchFromGitHub }: 2 3 4buildGoPackage rec { 5 pname = "yaml2json"; 6 version = "1.3"; 7 goPackagePath = "github.com/bronze1man/yaml2json"; 8 9 src = fetchFromGitHub { 10 owner = "bronze1man"; 11 repo = "yaml2json"; 12 rev = "v${version}"; 13 sha256 = "0bhjzl4qibiyvn56wcsm85f3vwnlzf4gywy2gq9mrnbrl629amq1"; 14 }; 15 16 meta = with lib; { 17 homepage = "https://github.com/bronze1man/yaml2json"; 18 description = "Convert yaml to json"; 19 license = with licenses; [ mit ]; 20 maintainers = [ maintainers.adisbladis ]; 21 }; 22}