about summary refs log tree commit diff
path: root/pkgs/by-name/ri/ringing-lib/package.nix
blob: 14ec2b4d7b572e4e0d336a22ddbca07d3401f32d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
  stdenv,
  fetchFromGitHub,
  lib,
  autoreconfHook,
  pkg-config,
  readline,
  xercesc,
  unstableGitUpdater,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "ringing-lib";
  version = "0-unstable-2024-05-31";

  src = fetchFromGitHub {
    owner = "ringing-lib";
    repo = "ringing-lib";
    rev = "4f791c559743499589d66dc44266cd681f6901de";
    hash = "sha256-+P2x2ywk7Ev7GacfUONusVHjlE6bIVBeJasjlcw5kTU=";
  };

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
  ];
  buildInputs = [
    readline
    xercesc
  ];

  doCheck = true;

  passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };
  meta = {
    description = "Library of C++ classes and utilities for change ringing";
    homepage = "https://ringing-lib.github.io/";
    license = with lib.licenses; [
      gpl2Plus
      lgpl2Plus
    ];
    maintainers = with lib.maintainers; [ jshholland ];
    platforms = lib.platforms.linux;
  };
})