nixpkgs/pkgs/by-name/li/libsv/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
582 B
Nix
Raw Normal View History

2024-04-30 03:54:10 +00:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
2023-01-24 06:14:45 +00:00
stdenv.mkDerivation rec {
pname = "libsv";
2023-10-10 22:52:47 +00:00
version = "1.2";
2023-01-24 06:14:45 +00:00
src = fetchFromGitHub {
owner = "uael";
repo = "sv";
rev = "v${version}";
2023-10-10 22:52:47 +00:00
sha256 = "sha256-sc7WTRY8XTm5+J+zlS7tGa2f+2d7apj+XHyBafZXXeE=";
2023-01-24 06:14:45 +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-04-30 03:29:42 +00:00
maintainers = [ lib.maintainers.sigmanificient ];
2023-01-24 06:14:45 +00:00
platforms = platforms.unix;
};
}