nixpkgs/pkgs/development/tools/jmespath/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

23 lines
577 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "jmespath";
version = "0.2.2";
rev = "${version}";
goPackagePath = "github.com/jmespath/go-jmespath";
src = fetchFromGitHub {
inherit rev;
owner = "jmespath";
repo = "go-jmespath";
sha256 = "0f4j0m44limnjd6q5fk152g6jq2a5cshcdms4p3a1br8pl9wp5fb";
};
meta = with stdenv.lib; {
description = "A JMESPath implementation in Go";
homepage = https://github.com/jmespath/go-jmespath;
maintainers = with maintainers; [ cransom ];
license = licenses.asl20;
};
}