tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
yaml2json: 1.3 -> 1.3.2
Aaron Jheng
2 years ago
d451f851
e999e93d
+10
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
yaml2json
default.nix
+10
-6
pkgs/development/tools/yaml2json/default.nix
···
1
1
-
{ lib, buildGoPackage, fetchFromGitHub }:
2
2
-
1
1
+
{ lib, buildGoModule, fetchFromGitHub }:
3
2
4
4
-
buildGoPackage rec {
3
3
+
buildGoModule rec {
5
4
pname = "yaml2json";
6
6
-
version = "1.3";
7
7
-
goPackagePath = "github.com/bronze1man/yaml2json";
5
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
13
-
sha256 = "0bhjzl4qibiyvn56wcsm85f3vwnlzf4gywy2gq9mrnbrl629amq1";
11
11
+
hash = "sha256-yVA5eV+/TxWN3wzsHy5++IGMAopkCz+PBfjSD+TNKc8=";
14
12
};
13
13
+
14
14
+
vendorHash = "sha256-g+yaVIx4jxpAQ/+WrGKxhVeliYx7nLQe/zsGpxV4Fn4=";
15
15
+
16
16
+
subPackages = [ "." ];
17
17
+
18
18
+
ldflags = [ "-s" "-w" ];
15
19
16
20
meta = with lib; {
17
21
homepage = "https://github.com/bronze1man/yaml2json";