Files
nixpkgs/pkgs/by-name/li/libitl/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

38 lines
959 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libitl";
version = "0.1.8-unstable-2024-05-26";
nativeBuildInputs = [ cmake ];
src = fetchFromGitHub {
owner = "arabeyes-org";
repo = "ITL";
rev = "07de1851722d0818d1f981df234e1b585eb60e05";
hash = "sha256-bhejnA7FfuopR27heliaE/vNd1Rqvnjj3n/vkjmimAw=";
};
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = {
description = "Islamic Tools and Libraries (ITL)";
longDescription = ''
The Islamic Tools and Libraries (ITL) project provides
a fully featured library for performing common Islamic calculations.
'';
homepage = "https://www.arabeyes.org/ITL";
license = lib.licenses.lgpl21Only;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ amyipdev ];
};
})