3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/popt/default.nix
2021-03-20 09:32:10 +01:00

25 lines
529 B
Nix

{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "popt";
version = "1.18";
src = fetchurl {
url = "mirror://debian/pool/main/p/popt/popt_${version}.orig.tar.gz";
sha256 = "1lf5zlj5rbg6s4bww7hbhpca97prgprnarx978vcwa0bl81vqnai";
};
patches = lib.optionals stdenv.isCygwin [
./1.16-cygwin.patch
./1.16-vpath.patch
];
doCheck = false; # fails
meta = with lib; {
description = "Command line option parsing library";
platforms = platforms.unix;
license = licenses.mit;
};
}