16 gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.43"; };
18 src = fetchFromSourcehut {
22 hash = "sha256-JFMtif2kIE/fs5PNcQtkJikAFNszgZTU7BG/8fTncTI=";
25 mansrht-api = buildGoModule ({
27 pname = "mansrht-api";
29 vendorHash = "sha256-GVN11nEJqIHh8MtKvIXe4zcUwJph9eTSkJ2R+ufD+ic=";
32 buildPythonPackage rec {
37 disabled = pythonOlder "3.7";
40 substituteInPlace Makefile --replace "all: api" ""
48 propagatedBuildInputs = [
54 export PKGVER=${version}
55 export SRHT_PATH=${srht}/${python.sitePackages}/srht
59 ln -s ${mansrht-api}/bin/api $out/bin/mansrht-api
62 pythonImportsCheck = [ "mansrht" ];
65 homepage = "https://git.sr.ht/~sircmpwn/man.sr.ht";
66 description = "Wiki service for the sr.ht network";
67 license = licenses.agpl3Only;
68 maintainers = with maintainers; [ eadwu christoph-heiss ];