diff options
Diffstat (limited to 'pkgs/by-name/ri/ringing-lib/package.nix')
-rw-r--r-- | pkgs/by-name/ri/ringing-lib/package.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/by-name/ri/ringing-lib/package.nix b/pkgs/by-name/ri/ringing-lib/package.nix new file mode 100644 index 0000000000000..14ec2b4d7b572 --- /dev/null +++ b/pkgs/by-name/ri/ringing-lib/package.nix @@ -0,0 +1,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; + }; +}) |