mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
24 lines
571 B
Nix
24 lines
571 B
Nix
{ 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 = with maintainers; [ candyc1oud ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|