mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 21:18:28 +03:00
yajl: use fetchFromGitHub and pname&version
This commit is contained in:
parent
f2e47305ea
commit
567fb83759
@ -1,12 +1,14 @@
|
|||||||
{ lib, stdenv, fetchurl, cmake }:
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "yajl-2.1.0";
|
pname = "yajl";
|
||||||
|
version = "2.1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/lloyd/yajl/tarball/2.1.0";
|
owner = "lloyd";
|
||||||
name = "${name}.tar.gz";
|
repo = "yajl";
|
||||||
sha256 = "0f6yrjc05aa26wfi7lqn2gslm19m6rm81b30ksllpkappvh162ji";
|
rev = version;
|
||||||
|
sha256 = "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
Loading…
Reference in New Issue
Block a user