mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
34 lines
960 B
Nix
34 lines
960 B
Nix
{ stdenv, fetchurl
|
|
, libpng, libjpeg, libogg, libvorbis, freetype, smpeg
|
|
, SDL, SDL_image, SDL_mixer, SDL_ttf }:
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "onscripter-en-20110930";
|
|
|
|
src = fetchurl {
|
|
url = "http://unclemion.com/dev/attachments/download/36/${name}-src.tar.bz2";
|
|
sha256 = "1kzm6d894c0ihgkwhd03x3kaqqz0sb6kf0r86xrrz12y309zfam6";
|
|
};
|
|
|
|
buildInputs = [ libpng libjpeg libogg libvorbis freetype smpeg
|
|
SDL SDL_image SDL_mixer SDL_ttf
|
|
];
|
|
|
|
configureFlags = [ "--no-werror" ];
|
|
|
|
# Without this libvorbisfile.so is not getting linked properly for some reason.
|
|
NIX_CFLAGS_LINK = [ "-lvorbisfile" ];
|
|
|
|
preBuild = ''
|
|
sed -i 's/.dll//g' Makefile
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Japanese visual novel scripting engine";
|
|
homepage = http://unclemion.com/onscripter/;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
};
|
|
}
|