nixpkgs/pkgs/development/tools/yj/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
783 B
Nix

# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
buildGoPackage rec {
pname = "yj";
version = "4.0.0";
rev = "d9a48607cc5c812e8cf4abccc8ad26f37ab51558";
goPackagePath = "github.com/sclevine/yj";
src = fetchgit {
inherit rev;
url = "https://github.com/sclevine/yj";
sha256 = "04irphzs6hp9hvyski29ad29ga1kis3h8bw7jqvmy2c2rkrrsh7x";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = ''Convert YAML <=> TOML <=> JSON <=> HCL'';
license = licenses.asl20;
maintainers = with maintainers; [ Profpatsch ];
platforms = platforms.all;
downloadPage = "https://github.com/sclevine/yj";
updateWalker = true;
inherit version;
};
}