pugixml: use fetchFromGitHub
This commit is contained in:
parent
bf6537552e
commit
8571a669a7
@ -1,12 +1,14 @@
|
|||||||
{ stdenv, fetchurl, cmake, shared ? false }:
|
{ stdenv, fetchFromGitHub, cmake, shared ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pugixml-${version}";
|
name = "pugixml-${version}";
|
||||||
version = "1.9";
|
version = "1.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/zeux/pugixml/releases/download/v${version}/${name}.tar.gz";
|
owner = "zeux";
|
||||||
sha256 = "19nv3zhik3djp4blc4vrjwrl8dfhzmal8b21sq7y907nhddx6mni";
|
repo = "pugixml";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0iraznwm78pyyzc9snvd3dyz8gddvmxsm1b3kpw7wixkvcawdviv";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
Loading…
Reference in New Issue
Block a user