Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 24 lines 712 B view raw
1{ lib, stdenv, fetchurl, perl, pkgconfig, audiofile, bzip2, glib, libgcrypt, zlib }: 2 3stdenv.mkDerivation rec { 4 name = "libspectrum-1.4.4"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/fuse-emulator/${name}.tar.gz"; 8 sha256 = "1cc0jx617sym6qj1f9fm115q44cq5azsxplqq2cgrg0pmlmjpyzx"; 9 }; 10 11 nativeBuildInputs = [ perl pkgconfig ]; 12 13 buildInputs = [ audiofile bzip2 glib libgcrypt zlib ]; 14 15 enableParallelBuilding = true; 16 17 meta = with lib; { 18 homepage = http://fuse-emulator.sourceforge.net/libspectrum.php; 19 description = "ZX Spectrum input and output support library"; 20 license = licenses.gpl2Plus; 21 platforms = platforms.linux; 22 maintainers = with maintainers; [ orivej ]; 23 }; 24}