Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 ocamlPackages,
3 fetchFromGitHub,
4 lib,
5}:
6
7let
8 pname = "satyrographos";
9 version = "0.0.2.13";
10 src = fetchFromGitHub {
11 owner = "na4zagin3";
12 repo = "satyrographos";
13 rev = "refs/tags/v${version}";
14 sha256 = "sha256-f9iJTr4nV7dFCMkI8+zv9qvYWRSw8H/xbbZm2LR9cB4=";
15 };
16in
17ocamlPackages.buildDunePackage {
18 inherit pname version src;
19
20 duneVersion = "3";
21
22 nativeBuildInputs = with ocamlPackages; [
23 menhir
24 ];
25
26 buildInputs = with ocamlPackages; [
27 core_unix
28 fileutils
29 opam-format
30 opam-state
31 ppx_deriving
32 ppx_deriving_yojson
33 ppx_import
34 ppx_jane
35 shexp
36 uri
37 uri-sexp
38 yaml-sexp
39 yojson
40 ];
41
42 meta = {
43 changelog = "https://github.com/na4zagin3/satyrographos/releases/tag/${src.rev}";
44 description = "Package manager for SATySFi";
45 homepage = "https://github.com/na4zagin3/satyrographos";
46 maintainers = with lib.maintainers; [ momeemt ];
47 mainProgram = "satyrographos";
48 license = lib.licenses.lgpl3Plus;
49 };
50}