mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
scdoc: init at 1.3.3 (#41315)
We'll need this to build the man pages of sway 1.0 (sway 1.0-alpha.2: "This release replaces the asciidoc dependency with scdoc." [0]). [0]: https://github.com/swaywm/sway/releases/tag/1.0-alpha.2
This commit is contained in:
parent
e754f60fd9
commit
37b90ed9af
32
pkgs/tools/typesetting/scdoc/default.nix
Normal file
32
pkgs/tools/typesetting/scdoc/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "scdoc-${version}";
|
||||
version = "1.3.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://git.sr.ht/~sircmpwn/scdoc/snapshot/scdoc-${version}.tar.xz";
|
||||
sha256 = "1xkfsrzpbm68522b1dml9dghnwb5dlwpf91c1i4y51rgv3hdgwdj";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "VERSION=1.2.3" "VERSION=${version}" \
|
||||
--replace "-static" "" \
|
||||
--replace "/usr/local" "$out"
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.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/;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ primeos ];
|
||||
};
|
||||
}
|
@ -4853,6 +4853,8 @@ with pkgs;
|
||||
|
||||
scanbd = callPackage ../tools/graphics/scanbd { };
|
||||
|
||||
scdoc = callPackage ../tools/typesetting/scdoc { };
|
||||
|
||||
screen = callPackage ../tools/misc/screen {
|
||||
inherit (darwin.apple_sdk.libs) utmp;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user