nixpkgs/pkgs/development/libraries/libsv/default.nix

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

24 lines
541 B
Nix
Raw Normal View History

2023-01-24 06:14:45 +00:00
{ lib, stdenv, fetchFromGitHub, cmake }:
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;
2023-04-05 00:29:57 +00:00
maintainers = [];
2023-01-24 06:14:45 +00:00
platforms = platforms.unix;
};
}