mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
yaml2json: unstable-2017-05-03 -> 1.3
This commit is contained in:
parent
e3a7270e3d
commit
2bf291a436
2 changed files with 4 additions and 17 deletions
|
@ -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; {
|
||||
|
|
11
pkgs/development/tools/yaml2json/deps.nix
generated
11
pkgs/development/tools/yaml2json/deps.nix
generated
|
@ -1,11 +0,0 @@
|
|||
[
|
||||
{
|
||||
goPackagePath = "gopkg.in/yaml.v2";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://gopkg.in/yaml.v2";
|
||||
rev = "d670f9405373e636a5a2765eea47fac0c9bc91a4";
|
||||
sha256 = "1w1xid51n8v1mydn2m3vgggw8qgpd5a5sr62snsc77d99fpjsrs0";
|
||||
};
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue