summary refs log tree commit diff
path: root/pkgs/development/libraries/libsv/default.nix
blob: 9c62799375603c1b46f3143bde110ab839d8ee05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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 = [];
    platforms = platforms.unix;
  };
}