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

25 lines
529 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "popt";
2020-07-06 06:26:50 +00:00
version = "1.18";
2014-10-26 14:27:39 +00:00
src = fetchurl {
url = "mirror://debian/pool/main/p/popt/popt_${version}.orig.tar.gz";
2020-07-06 06:26:50 +00:00
sha256 = "1lf5zlj5rbg6s4bww7hbhpca97prgprnarx978vcwa0bl81vqnai";
};
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 20:26:53 +00:00
platforms = platforms.unix;
license = licenses.mit;
};
}