You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
846 B
34 lines
846 B
{ lib, stdenv, fetchFromSourcehut }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "scdoc";
|
|
version = "1.11.2";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~sircmpwn";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "07c2vmdgqifbynm19zjnrk7h102pzrriv73izmx8pmd7b3xl5mfq";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace Makefile \
|
|
--replace "-static" "" \
|
|
--replace "/usr/local" "$out"
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "A simple man page generator";
|
|
longDescription = ''
|
|
scdoc is a simple man page generator written for POSIX systems written in
|
|
C99.
|
|
'';
|
|
homepage = "https://git.sr.ht/~sircmpwn/scdoc";
|
|
changelog = "https://git.sr.ht/~sircmpwn/scdoc/refs/${version}";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ primeos ];
|
|
};
|
|
}
|
|
|