crow: init at 1.2 (#348112)

This commit is contained in:
Masum Reza 2024-10-13 14:24:46 +05:30 committed by GitHub
commit d2ff6f5262
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 48 additions and 0 deletions

View File

@ -11710,6 +11710,13 @@
githubId = 168301;
name = "Victor Engmark";
};
l33tname = {
name = "l33tname";
email = "hi@l33t.name";
github = "Fliiiix";
githubId = 1682954;
};
l3af = {
email = "L3afMeAlon3@gmail.com";
matrix = "@L3afMe:matrix.org";

View File

@ -0,0 +1,41 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
asio,
python3,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "crow";
version = "1.2";
src = fetchFromGitHub {
owner = "crowcpp";
repo = "crow";
rev = "v${finalAttrs.version}";
sha256 = "sha256-fokj+KiS6frPVOoOvETxW3ue95kCcYhdhOlN3efzBd4=";
};
propagatedBuildInputs = [ asio ];
nativeBuildInputs = [
asio
cmake
python3
];
cmakeFlags = [
(lib.cmakeBool "CROW_BUILD_EXAMPLES" false)
];
doCheck = true;
meta = {
description = "A Fast and Easy to use microframework for the web";
homepage = "https://crowcpp.org/";
maintainers = with lib.maintainers; [ l33tname ];
platforms = lib.platforms.all;
license = lib.licenses.bsd3;
};
})