nixpkgs/pkgs/development/libraries/popt/default.nix

25 lines
529 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "popt";
version = "1.16";
2014-10-26 14:27:39 +00:00
src = fetchurl {
url = "mirror://debian/pool/main/p/popt/popt_${version}.orig.tar.gz";
sha256 = "1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77";
};
patches = lib.optionals stdenv.isCygwin [
2014-10-26 14:27:39 +00:00
./1.16-cygwin.patch
./1.16-vpath.patch
];
doCheck = false; # fails
2014-10-26 14:27:39 +00:00
meta = with lib; {
description = "Command line option parsing library";
2018-10-25 21:26:53 +01:00
platforms = platforms.unix;
license = licenses.mit;
};
}