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 {
|
||||
name = "pugixml-${version}";
|
||||
version = "1.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/zeux/pugixml/releases/download/v${version}/${name}.tar.gz";
|
||||
sha256 = "19nv3zhik3djp4blc4vrjwrl8dfhzmal8b21sq7y907nhddx6mni";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zeux";
|
||||
repo = "pugixml";
|
||||
rev = "v${version}";
|
||||
sha256 = "0iraznwm78pyyzc9snvd3dyz8gddvmxsm1b3kpw7wixkvcawdviv";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
Loading…
Reference in New Issue
Block a user