libsForQt5.grantlee: switch to fetchFromGitHub
This commit is contained in:
parent
fe3f5d3447
commit
70e22061bf
|
@ -1,14 +1,15 @@
|
||||||
{ mkDerivation, lib, fetchurl, qtbase, qtscript, cmake }:
|
{ mkDerivation, lib, fetchFromGitHub, qtbase, qtscript, cmake }:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "grantlee";
|
pname = "grantlee";
|
||||||
version = "5.2.0";
|
version = "5.2.0";
|
||||||
grantleePluginPrefix = "lib/grantlee/${lib.versions.majorMinor version}";
|
grantleePluginPrefix = "lib/grantlee/${lib.versions.majorMinor version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/steveire/grantlee/archive/v${version}.tar.gz";
|
owner = "steveire";
|
||||||
sha256 = "02lrdbnvaz19hkawbbj2psww1m04qsbhvv172ggpp5bbfkjwx6hk";
|
repo = "grantlee";
|
||||||
name = "${pname}-${version}.tar.gz";
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-mAbgzdBdIW1wOTQNBePQuyTgkKdpn1c+zR3H7mXHvgk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase qtscript ];
|
buildInputs = [ qtbase qtscript ];
|
||||||
|
|
Loading…
Reference in a new issue