159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
30 lines
741 B
Nix
30 lines
741 B
Nix
{
|
|
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";
|
|
};
|
|
})
|