summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Zwinger <matias.zwinger@csc.fi>2024-07-09 10:32:09 +0300
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-09-18 19:11:33 +0000
commitad449e1864b1235e1f611f0a8860813bc61ed830 (patch)
tree63bf2d8418a2fe59ef9388c136651affea411722
parent[Backport release-24.05] #342778 (#342817) (diff)
downloadnixpkgs-origin/backport-325787-to-release-24.05.tar.gz
libcsa: init at 1.26-unstable-2024-03-22origin/backport-325787-to-release-24.05
(cherry picked from commit 75c4c3d421afa448e647a889eb9dc2377c5827f6)
-rw-r--r--pkgs/by-name/li/libcsa/package.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/by-name/li/libcsa/package.nix b/pkgs/by-name/li/libcsa/package.nix
new file mode 100644
index 000000000000..5308a71d962d
--- /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";
+ };
+})