mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
47 lines
811 B
Nix
47 lines
811 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
perl,
|
|
pkg-config,
|
|
audiofile,
|
|
bzip2,
|
|
glib,
|
|
libgcrypt,
|
|
zlib,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libspectrum";
|
|
version = "1.6.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/fuse-emulator/libspectrum-${finalAttrs.version}.tar.gz";
|
|
sha256 = "sha256-+kpeaMGrWGDc35n1SG7mMTmV2+MOhBYOn2mdD423fXY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
perl
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
audiofile
|
|
bzip2
|
|
glib
|
|
libgcrypt
|
|
zlib
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://fuse-emulator.sourceforge.net/libspectrum.php";
|
|
description = "ZX Spectrum input and output support library";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = [ ];
|
|
};
|
|
})
|