2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "popt";
|
|
|
|
version = "1.16";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://debian/pool/main/p/popt/popt_${version}.orig.tar.gz";
|
|
|
|
sha256 = "1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
patches = lib.optionals stdenv.isCygwin [
|
2020-04-24 23:36:52 +00:00
|
|
|
./1.16-cygwin.patch
|
|
|
|
./1.16-vpath.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # fails
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Command line option parsing library";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|