1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #38541 from sifmelcara/fix/pcmanx/libtoolize

pcmanx-gtk2: fix build
This commit is contained in:
Jörg Thalheim 2018-04-08 13:17:37 +01:00 committed by GitHub
commit b214874bda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,14 @@
{ stdenv, fetchurl, gtk2, libXft, intltool, automake, autoconf, libtool, pkgconfig }:
{ stdenv, fetchFromGitHub, gtk2, libXft, intltool, automake, autoconf, libtool, pkgconfig }:
stdenv.mkDerivation {
name = "pcmanx-gtk2-1.3";
src = fetchurl {
url = "https://github.com/pcman-bbs/pcmanx/archive/1.3.tar.gz";
sha256 = "2e5c59f6b568036f2ad6ac67ca2a41dfeeafa185451e507f9fb987d4ed9c4302";
stdenv.mkDerivation rec {
name = "pcmanx-gtk2-${version}";
version = "1.3";
src = fetchFromGitHub {
owner = "pcman-bbs";
repo = "pcmanx";
rev = version;
sha256 = "0fbwd149wny67rfhczz4cbh713a1qnswjiz7b6c2bxfcwh51f9rc";
};
nativeBuildInputs = [ pkgconfig ];
@ -12,6 +16,8 @@ stdenv.mkDerivation {
preConfigure = ''
./autogen.sh
# libtoolize generates configure script which uses older version of automake, we need to autoreconf it
cd libltdl; autoreconf; cd ..
'';
meta = with stdenv.lib; {