Skip to content

Commit

Permalink
libcsa: init at 1.26-unstable-2024-03-22 (NixOS#325787)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbsds authored Sep 18, 2024
2 parents 50f316a + 75c4c3d commit 5ce892f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/by-name/li/libcsa/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
})

0 comments on commit 5ce892f

Please sign in to comment.