depot/third_party/nixpkgs/pkgs/development/libraries/popt/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
529 B
Nix

{lib, 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 = 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;
};
}