mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
1442e8ec22
svn path=/nixpkgs/trunk/; revision=6711
16 lines
386 B
Nix
16 lines
386 B
Nix
{ pngSupport ? true
|
|
, stdenv, fetchurl, x11, libpng ? null}:
|
|
|
|
assert x11 != null;
|
|
assert pngSupport -> libpng != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "zvbi-0.2.12";
|
|
src = fetchurl {
|
|
url = http://nix.cs.uu.nl/dist/tarballs/zvbi-0.2.22.tar.bz2;
|
|
md5 = "a01cbe39a48579ba92582ff75a5e37c2";
|
|
};
|
|
buildInputs = [x11 (if pngSupport then libpng else null)];
|
|
inherit pngSupport;
|
|
}
|