nixpkgs/pkgs/development/libraries/physfs/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* 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
2017-08-01 22:03:30 +02:00

24 lines
548 B
Nix

{stdenv, fetchurl, cmake}:
stdenv.mkDerivation rec {
name = "physfs-2.0.3";
src = fetchurl {
url = "${meta.homepage}/downloads/${name}.tar.bz2";
sha256 = "0sbbyqzqhyf0g68fcvvv20n3928j0x6ik1njmhn1yigvq2bj11na";
};
nativeBuildInputs = [ cmake ];
patchPhase = ''
sed s,-Werror,, -i CMakeLists.txt
'';
meta = {
homepage = http://icculus.org/physfs/;
description = "Library to provide abstract access to various archives";
license = stdenv.lib.licenses.free;
platforms = stdenv.lib.platforms.linux;
};
}