diff --git a/pkgs/development/tools/yaml2json/default.nix b/pkgs/development/tools/yaml2json/default.nix index 77f884b82b6a..543ed7fc3eaf 100644 --- a/pkgs/development/tools/yaml2json/default.nix +++ b/pkgs/development/tools/yaml2json/default.nix @@ -1,18 +1,16 @@ { lib, buildGoPackage, fetchFromGitHub }: -buildGoPackage { +buildGoPackage rec { pname = "yaml2json"; - version = "unstable-2017-05-03"; + version = "1.3"; goPackagePath = "github.com/bronze1man/yaml2json"; - goDeps = ./deps.nix; - src = fetchFromGitHub { - rev = "ee8196e587313e98831c040c26262693d48c1a0c"; owner = "bronze1man"; repo = "yaml2json"; - sha256 = "16a2sqzbam5adbhfvilnpdabzwncs7kgpr0cn4gp09h2imzsprzw"; + rev = "v${version}"; + sha256 = "0bhjzl4qibiyvn56wcsm85f3vwnlzf4gywy2gq9mrnbrl629amq1"; }; meta = with lib; { diff --git a/pkgs/development/tools/yaml2json/deps.nix b/pkgs/development/tools/yaml2json/deps.nix deleted file mode 100644 index f907520cc872..000000000000 --- a/pkgs/development/tools/yaml2json/deps.nix +++ /dev/null @@ -1,11 +0,0 @@ -[ - { - goPackagePath = "gopkg.in/yaml.v2"; - fetch = { - type = "git"; - url = "https://gopkg.in/yaml.v2"; - rev = "d670f9405373e636a5a2765eea47fac0c9bc91a4"; - sha256 = "1w1xid51n8v1mydn2m3vgggw8qgpd5a5sr62snsc77d99fpjsrs0"; - }; - } -]