nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenvNoCC, fetchFromGitHub }:
2
3stdenvNoCC.mkDerivation rec {
4 pname = "scheme-manpages";
5 version = "unstable-2023-03-26";
6
7 src = fetchFromGitHub {
8 owner = "schemedoc";
9 repo = "manpages";
10 rev = "eac67db33b2111f19ac267585032df8b4838e6f4";
11 hash = "sha256-FBoagGHWsxZo40gOqeBUw0L+LtNAVF/q6IZ3N9QBFQs=";
12 };
13
14 dontBuild = true;
15
16 installPhase = ''
17 mkdir -p $out/share/man
18 cp -r man3/ man7/ $out/share/man/
19 '';
20
21 meta = with lib; {
22 description = "Unix manual pages for R6RS and R7RS";
23 homepage = "https://github.com/schemedoc/manpages";
24 license = licenses.mit;
25 maintainers = [ maintainers.marsam ];
26 platforms = platforms.all;
27 };
28}