mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +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
35 lines
807 B
Nix
35 lines
807 B
Nix
{ stdenv, fetchurl, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mandoc-${version}";
|
|
version = "1.13.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://mdocml.bsd.lv/snapshots/mdocml-${version}.tar.gz";
|
|
sha256 = "1vz0g5nvjbz1ckrg9cn6ivlnb13bcl1r6nc4yzb7300qvfnw2m8a";
|
|
};
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
configureLocal = ''
|
|
HAVE_WCHAR=1
|
|
MANPATH_DEFAULT="/run/current-system/sw/share/man"
|
|
OSNAME="NixOS"
|
|
PREFIX="$out"
|
|
HAVE_MANPATH=1
|
|
LD_OHASH="-lutil"
|
|
BUILD_DB=0
|
|
'';
|
|
|
|
preConfigure = ''
|
|
echo $configureLocal > configure.local
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://mdocml.bsd.lv/;
|
|
description = "suite of tools compiling mdoc and man";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ ramkromberg ];
|
|
};
|
|
}
|