mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
scdoc: 1.11.2 -> 1.11.2-unstable-2023-03-08
This commit is contained in:
parent
4fb9541e1a
commit
b604023e0a
@ -6,20 +6,20 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "scdoc";
|
pname = "scdoc";
|
||||||
version = "1.11.2";
|
version = "1.11.2-unstable-2023-03-08";
|
||||||
|
|
||||||
src = fetchFromSourcehut {
|
src = fetchFromSourcehut {
|
||||||
owner = "~sircmpwn";
|
owner = "~sircmpwn";
|
||||||
repo = "scdoc";
|
repo = "scdoc";
|
||||||
rev = finalAttrs.version;
|
rev = "afeda241f3f9b2c27e461f32d9c2a704ab82ef61";
|
||||||
hash = "sha256-2NVC+1in1Yt6/XGcHXP+V4AAz8xW/hSq9ctF/Frdgh0=";
|
hash = "sha256-jIYygjUXP/6o5d9drlZjdr25KjEQx8oy4TaQwQEu8fM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "man" "dev" ];
|
outputs = [ "out" "man" "dev" ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
--replace "-static" ""
|
--replace "LDFLAGS+=-static" "LDFLAGS+="
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
@ -33,10 +33,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "A simple man page generator written in C99 for POSIX systems";
|
description = "A simple man page generator written in C99 for POSIX systems";
|
||||||
homepage = "https://git.sr.ht/~sircmpwn/scdoc";
|
homepage = "https://git.sr.ht/~sircmpwn/scdoc";
|
||||||
changelog = "https://git.sr.ht/~sircmpwn/scdoc/refs/${finalAttrs.version}";
|
changelog = "https://git.sr.ht/~sircmpwn/scdoc/refs/${finalAttrs.src.rev}";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
|
mainProgram = "scdoc";
|
||||||
maintainers = with lib.maintainers; [ primeos AndersonTorres ];
|
maintainers = with lib.maintainers; [ primeos AndersonTorres ];
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
mainProgram = "scdoc";
|
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user