2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
cmake,
|
|
|
|
}:
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libsv";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "1.2";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "uael";
|
|
|
|
repo = "sv";
|
|
|
|
rev = "v${version}";
|
2023-10-19 13:55:26 +00:00
|
|
|
sha256 = "sha256-sc7WTRY8XTm5+J+zlS7tGa2f+2d7apj+XHyBafZXXeE=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Public domain cross-platform semantic versioning in C99";
|
|
|
|
homepage = "https://github.com/uael/sv";
|
|
|
|
license = licenses.unlicense;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = [ lib.maintainers.sigmanificient ];
|
2023-02-02 18:25:31 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|