From 75c4c3d421afa448e647a889eb9dc2377c5827f6 Mon Sep 17 00:00:00 2001 From: Matias Zwinger Date: Tue, 9 Jul 2024 10:32:09 +0300 Subject: [PATCH] libcsa: init at 1.26-unstable-2024-03-22 --- pkgs/by-name/li/libcsa/package.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/by-name/li/libcsa/package.nix diff --git a/pkgs/by-name/li/libcsa/package.nix b/pkgs/by-name/li/libcsa/package.nix new file mode 100644 index 0000000000000..5308a71d962df --- /dev/null +++ b/pkgs/by-name/li/libcsa/package.nix @@ -0,0 +1,30 @@ +{ + stdenv, + lib, + fetchFromGitHub, + unstableGitUpdater, +}: +stdenv.mkDerivation (finalAttrs: { + name = "csa"; + version = "1.26-unstable-2024-03-22"; + + src = fetchFromGitHub { + owner = "sakov"; + repo = "csa-c"; + rev = "7b48134613d1d3b337af6d5762df9999a703fb1a"; + hash = "sha256-G/VhXpdvXBT9I6pwiQXVqCoXhc29wJQpGyLeM3kgv7I="; + }; + + sourceRoot = "${finalAttrs.src.name}/csa"; + + passthru.updateScript = unstableGitUpdater { }; + + meta = with lib; { + description = "C code for cubic spline approximation of 2D scattered data"; + homepage = "https://github.com/sakov/csa-c/"; + platforms = platforms.unix; + license = licenses.bsd3; + maintainers = with maintainers; [ mkez ]; + mainProgram = "csabathy"; + }; +})