mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-09 05:53:50 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
21 lines
438 B
Nix
21 lines
438 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "popt-1.16";
|
|
|
|
src = fetchurl {
|
|
url = "http://rpm5.org/files/popt/${name}.tar.gz";
|
|
sha256 = "1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77";
|
|
};
|
|
|
|
patches = if stdenv.isCygwin then [
|
|
./1.16-cygwin.patch
|
|
./1.16-vpath.patch
|
|
] else null;
|
|
|
|
meta = {
|
|
description = "Command line option parsing library";
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|