depot/third_party/nixpkgs/pkgs/development/libraries/libsv/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

28 lines
582 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation rec {
pname = "libsv";
version = "1.2";
src = fetchFromGitHub {
owner = "uael";
repo = "sv";
rev = "v${version}";
sha256 = "sha256-sc7WTRY8XTm5+J+zlS7tGa2f+2d7apj+XHyBafZXXeE=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Public domain cross-platform semantic versioning in C99";
homepage = "https://github.com/uael/sv";
license = licenses.unlicense;
maintainers = [ lib.maintainers.sigmanificient ];
platforms = platforms.unix;
};
}