nixpkgs/pkgs/development/libraries/zvbi/default.nix
Eelco Dolstra 607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00

16 lines
381 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 = mirror://sourceforge/zapping/zvbi-0.2.22.tar.bz2;
md5 = "a01cbe39a48579ba92582ff75a5e37c2";
};
buildInputs = [x11 (if pngSupport then libpng else null)];
inherit pngSupport;
}