mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 14:47:06 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
22 lines
494 B
Nix
22 lines
494 B
Nix
{ stdenv, buildGoPackage, fetchgit }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "jd";
|
|
version = "0.3.1";
|
|
rev = "2729b5af166cfd72bd953ef8959b456c4db940fc";
|
|
|
|
goPackagePath = "github.com/tidwall/jd";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/tidwall/jd";
|
|
sha256 = "0dj4k38pf80dl77jns29vx2dj265s4ksg2q2s9n240b7b8z8mn5h";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Interactive JSON Editor";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.np ];
|
|
};
|
|
}
|