about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libsv/default.nix
blob: a791bcef482309a39bb233711c32c6ce9e12b9e2 (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.1";

  src = fetchFromGitHub {
    owner = "uael";
    repo = "sv";
    rev = "v${version}";
    sha256 = "sha256-icvGQi6FNSZXNGs2oLiUKu6rrVsWcXh1r91kycGjnwY=";
  };

  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;
  };
}