nixpkgs/pkgs/tools/filesystems/genromfs/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

26 lines
656 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "0.5.2";
name = "genromfs-${version}";
src = fetchurl {
url = "mirror://sourceforge/romfs/genromfs/${version}/${name}.tar.gz";
sha256 = "0q6rpq7cmclmb4ayfyknvzbqysxs4fy8aiahlax1sb2p6k3pzwrh";
};
postPatch = ''
substituteInPlace Makefile \
--replace "prefix = /usr" "prefix = $out" \
--replace "gcc" "cc"
'';
meta = with stdenv.lib; {
homepage = http://romfs.sourceforge.net/;
description = "Tool for creating romfs file system images";
license = licenses.gpl2;
maintainers = with maintainers; [ pxc ];
platforms = platforms.all;
};
}