mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03: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
26 lines
656 B
Nix
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;
|
|
};
|
|
}
|