nixpkgs-suyu/pkgs/development/libraries/liblaxjson/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
564 B
Nix

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
version = "1.0.5";
pname = "liblaxjson";
src = fetchFromGitHub {
owner = "andrewrk";
repo = "liblaxjson";
rev = "${version}";
sha256 = "01iqbpbhnqfifhv82m6hi8190w5sdim4qyrkss7z1zyv3gpchc5s";
};
buildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "Library for parsing JSON config files";
homepage = https://github.com/andrewrk/liblaxjson;
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ maintainers.andrewrk ];
};
}