nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 buildDunePackage,
5}:
6
7buildDunePackage (finalAttrs: {
8 pname = "ocb";
9 version = "0.2";
10
11 src = fetchFromGitHub {
12 owner = "ocamlpro";
13 repo = "ocb";
14 tag = finalAttrs.version;
15 hash = "sha256-LbAeeaPsOGd1w0I5YFrgRyFKKwIkYjMaRo2G1JUEado=";
16 };
17
18 meta = {
19 homepage = "https://github.com/ocamlpro/ocb";
20 description = "OCaml library for SVG badge generation";
21 changelog = "https://raw.githubusercontent.com/ocamlpro/ocb/${finalAttrs.version}/CHANGES.md";
22 license = lib.licenses.isc;
23 maintainers = with lib.maintainers; [ redianthus ];
24 mainProgram = "ocb";
25 };
26})