mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00: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
1.0 KiB
Nix
34 lines
1.0 KiB
Nix
{ stdenv, fetchurl, fetchpatch, libX11, libXext, xextproto, libICE, libSM, xproto, libpng12, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "lincity-${version}";
|
|
version = "1.13.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/lincity/${name}.tar.gz";
|
|
sha256 = "0p81wl7labyfb6rgp0hi42l2akn3n7r2bnxal1wyvjylzw8vsk3v";
|
|
};
|
|
|
|
buildInputs = [
|
|
libICE libpng12 libSM libX11 libXext
|
|
xextproto zlib xproto
|
|
];
|
|
|
|
patches = [
|
|
(fetchpatch {
|
|
url = "https://sources.debian.net/data/main/l/lincity/1.13.1-13/debian/patches/extern-inline-functions-777982";
|
|
sha256 = "06dp3zwk0z5wr5a3xaaj2my75vcjcy98vc22hsag7ggd9jwrkcp0";
|
|
})
|
|
(fetchpatch {
|
|
url = "https://sources.debian.net/data/main/l/lincity/1.13.1-13/debian/patches/clang-ftbfs-757859";
|
|
sha256 = "098rnywcsyc0m11x4a5m3dza8i0jmfh6pacfgma1vvxpsfkb6ngp";
|
|
})
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "City simulation game";
|
|
license = licenses.gpl2Plus;
|
|
homepage = https://sourceforge.net/projects/lincity;
|
|
};
|
|
}
|