2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2016-09-18 01:16:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pod2mdoc";
|
2016-09-18 01:16:07 +01:00
|
|
|
version = "0.0.10";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://mdocml.bsd.lv/pod2mdoc/snapshots/${pname}-${version}.tgz";
|
2016-09-18 01:16:07 +01:00
|
|
|
sha256 = "0nwa9zv9gmfi5ysz1wfm60kahc7nv0133n3dfc2vh2y3gj8mxr4f";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/share/man/man1
|
|
|
|
install -m 0755 pod2mdoc $out/bin
|
|
|
|
install -m 0444 pod2mdoc.1 $out/share/man/man1
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://mdocml.bsd.lv/";
|
2016-09-18 01:16:07 +01:00
|
|
|
description = "converter from POD into mdoc";
|
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ ramkromberg ];
|
|
|
|
};
|
|
|
|
}
|