2009-04-22 09:16:45 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2011-12-28 22:48:55 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2020-03-17 15:34:44 +01:00
|
|
|
pname = "popt";
|
|
|
|
version = "1.16";
|
2014-10-26 15:27:39 +01:00
|
|
|
|
2009-04-22 09:16:45 +02:00
|
|
|
src = fetchurl {
|
2020-03-17 15:34:44 +01:00
|
|
|
url = "mirror://debian/pool/main/p/popt/popt_${version}.orig.tar.gz";
|
2011-12-28 22:48:55 +01:00
|
|
|
sha256 = "1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77";
|
|
|
|
};
|
|
|
|
|
2018-04-25 05:20:18 +02:00
|
|
|
patches = stdenv.lib.optionals stdenv.isCygwin [
|
2014-10-26 15:27:39 +01:00
|
|
|
./1.16-cygwin.patch
|
|
|
|
./1.16-vpath.patch
|
2018-04-25 05:20:18 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # fails
|
2014-10-26 15:27:39 +01:00
|
|
|
|
2018-10-25 22:26:53 +02:00
|
|
|
meta = with stdenv.lib; {
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "Command line option parsing library";
|
2018-10-25 22:26:53 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.mit;
|
2009-04-22 09:16:45 +02:00
|
|
|
};
|
|
|
|
}
|