2023-02-02 18:25:31 +00:00
|
|
|
{ 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;
|
2023-04-12 12:48:02 +00:00
|
|
|
maintainers = [];
|
2023-02-02 18:25:31 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|