8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
24 lines
538 B
Nix
24 lines
538 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "popt";
|
|
version = "1.16";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://debian/pool/main/p/popt/popt_${version}.orig.tar.gz";
|
|
sha256 = "1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77";
|
|
};
|
|
|
|
patches = stdenv.lib.optionals stdenv.isCygwin [
|
|
./1.16-cygwin.patch
|
|
./1.16-vpath.patch
|
|
];
|
|
|
|
doCheck = false; # fails
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Command line option parsing library";
|
|
platforms = platforms.unix;
|
|
license = licenses.mit;
|
|
};
|
|
}
|