Use distfiles
This commit is contained in:
parent
580efed355
commit
5efb4643e2
@ -1,22 +1,13 @@
|
|||||||
{ stdenv, fetchgit, automake, autoconf, libtool }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pkgconf-1.5.4";
|
name = "pkgconf-1.5.4";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchurl {
|
||||||
url = "https://git.dereferenced.org/pkgconf/pkgconf.git";
|
url = "https://distfiles.dereferenced.org/pkgconf/${name}.tar.xz";
|
||||||
rev = "74133eda31bc1ed5947b4a3a854001e320b6c1fe";
|
sha256 = "0r26qmij9lxpz183na3dxj6lamcma94cjhasy19fya44w2j68n4w";
|
||||||
sha256 = "159fxbwm5shz8p95jp28wrjvinlhmp42dy60pqg34psjn41wq1q4";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ automake autoconf libtool ];
|
|
||||||
|
|
||||||
preConfigurePhases = ["autogenPhase"];
|
|
||||||
|
|
||||||
autogenPhase = ''
|
|
||||||
./autogen.sh
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Package compiler and linker metadata toolkit";
|
description = "Package compiler and linker metadata toolkit";
|
||||||
homepage = https://git.dereferenced.org/pkgconf/pkgconf;
|
homepage = https://git.dereferenced.org/pkgconf/pkgconf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user