2009-04-22 07:16:45 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2011-12-28 21:48:55 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "popt-1.16";
|
2014-10-26 14:27:39 +00:00
|
|
|
|
2009-04-22 07:16:45 +00:00
|
|
|
src = fetchurl {
|
2011-12-28 21:48:55 +00:00
|
|
|
url = "http://rpm5.org/files/popt/${name}.tar.gz";
|
|
|
|
sha256 = "1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77";
|
|
|
|
};
|
|
|
|
|
2018-04-25 03:20:18 +00:00
|
|
|
patches = stdenv.lib.optionals stdenv.isCygwin [
|
2014-10-26 14:27:39 +00:00
|
|
|
./1.16-cygwin.patch
|
|
|
|
./1.16-vpath.patch
|
2018-04-25 03:20:18 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # fails
|
2014-10-26 14:27:39 +00:00
|
|
|
|
2011-12-28 21:48:55 +00:00
|
|
|
meta = {
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "Command line option parsing library";
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-04-22 07:16:45 +00:00
|
|
|
};
|
|
|
|
}
|