1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 23:55:23 +00:00
nixpkgs/pkgs/development/tools/jd/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

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 ];
};
}