2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2009-04-22 07:16:45 +00:00
|
|
|
|
2011-12-28 21:48:55 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-03-17 14:34:44 +00:00
|
|
|
pname = "popt";
|
2020-07-06 06:26:50 +00:00
|
|
|
version = "1.18";
|
2014-10-26 14:27:39 +00:00
|
|
|
|
2009-04-22 07:16:45 +00:00
|
|
|
src = fetchurl {
|
2020-03-17 14:34:44 +00:00
|
|
|
url = "mirror://debian/pool/main/p/popt/popt_${version}.orig.tar.gz";
|
2020-07-06 06:26:50 +00:00
|
|
|
sha256 = "1lf5zlj5rbg6s4bww7hbhpca97prgprnarx978vcwa0bl81vqnai";
|
2011-12-28 21:48:55 +00:00
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
patches = 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
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "Command line option parsing library";
|
2018-10-25 20:26:53 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.mit;
|
2009-04-22 07:16:45 +00:00
|
|
|
};
|
|
|
|
}
|