2009-04-22 09:16:45 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2011-12-28 22:48:55 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "popt-1.16";
|
2014-10-26 15:27:39 +01:00
|
|
|
|
2009-04-22 09:16:45 +02:00
|
|
|
src = fetchurl {
|
2011-12-28 22:48:55 +01:00
|
|
|
url = "http://rpm5.org/files/popt/${name}.tar.gz";
|
|
|
|
sha256 = "1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77";
|
|
|
|
};
|
|
|
|
|
2014-10-26 15:27:39 +01:00
|
|
|
patches = if stdenv.isCygwin then [
|
|
|
|
./1.16-cygwin.patch
|
|
|
|
./1.16-vpath.patch
|
|
|
|
] else null;
|
|
|
|
|
2011-12-28 22:48:55 +01:00
|
|
|
meta = {
|
|
|
|
description = "command line option parsing library";
|
2009-04-22 09:16:45 +02:00
|
|
|
};
|
|
|
|
}
|