yaml2json: 1.3 -> 1.3.2

+10 -6
+10 -6
pkgs/development/tools/yaml2json/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 2 - 1 + { lib, buildGoModule, fetchFromGitHub }: 3 2 4 - buildGoPackage rec { 3 + buildGoModule rec { 5 4 pname = "yaml2json"; 6 - version = "1.3"; 7 - goPackagePath = "github.com/bronze1man/yaml2json"; 5 + version = "1.3.2"; 8 6 9 7 src = fetchFromGitHub { 10 8 owner = "bronze1man"; 11 9 repo = "yaml2json"; 12 10 rev = "v${version}"; 13 - sha256 = "0bhjzl4qibiyvn56wcsm85f3vwnlzf4gywy2gq9mrnbrl629amq1"; 11 + hash = "sha256-yVA5eV+/TxWN3wzsHy5++IGMAopkCz+PBfjSD+TNKc8="; 14 12 }; 13 + 14 + vendorHash = "sha256-g+yaVIx4jxpAQ/+WrGKxhVeliYx7nLQe/zsGpxV4Fn4="; 15 + 16 + subPackages = [ "." ]; 17 + 18 + ldflags = [ "-s" "-w" ]; 15 19 16 20 meta = with lib; { 17 21 homepage = "https://github.com/bronze1man/yaml2json";