semver: init at 0.3.0

This commit is contained in:
Aidan Gauland 2022-08-12 16:55:29 +12:00
parent e38f6d3742
commit 5dc55761c9
No known key found for this signature in database
GPG Key ID: 16E68DD2D0E77C91
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation rec {
pname = "semver-cpp";
version = "0.3.0";
src = fetchFromGitHub {
owner = "Neargye";
repo = "semver";
rev = "v${version}";
sha256 = "sha256-nRWmY/GJtSkPJIW7i7/eIr/YtfyvYhJVZBRIDXUC7xg=";
};
# Header-only library.
dontBuild = true;
installPhase = ''
mkdir "$out"
cp -r include "$out"
'';
meta = with lib; {
description = "Semantic Versioning for modern C++";
homepage = "https://github.com/Neargye/semver";
maintainers = with maintainers; [ aidalgol ];
license = licenses.mit;
};
}

View File

@ -22309,6 +22309,8 @@ with pkgs;
seasocks = callPackage ../development/libraries/seasocks { };
semver-cpp = callPackage ../development/libraries/semver-cpp { };
serd = callPackage ../development/libraries/serd {};
serf = callPackage ../development/libraries/serf {