nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 fetchFromGitHub,
4 lib,
5 autoreconfHook,
6 pkg-config,
7 readline,
8 xercesc,
9 unstableGitUpdater,
10}:
11
12stdenv.mkDerivation (finalAttrs: {
13 pname = "ringing-lib";
14 version = "0-unstable-2025-07-16";
15
16 src = fetchFromGitHub {
17 owner = "ringing-lib";
18 repo = "ringing-lib";
19 rev = "838d13edb3231d8c122d3222da1b465e2018757f";
20 hash = "sha256-MO5FerQMyWDV/cV2hrY/L+JyhMojtaqPQkw8efaVu1I=";
21 };
22
23 nativeBuildInputs = [
24 autoreconfHook
25 pkg-config
26 ];
27 buildInputs = [
28 readline
29 xercesc
30 ];
31
32 doCheck = true;
33
34 passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };
35 meta = {
36 description = "Library of C++ classes and utilities for change ringing";
37 homepage = "https://ringing-lib.github.io/";
38 license = with lib.licenses; [
39 gpl2Plus
40 lgpl2Plus
41 ];
42 maintainers = with lib.maintainers; [ jshholland ];
43 platforms = lib.platforms.linux;
44 };
45})