From eed0208988e7e78db20715defae0185f8205d193 Mon Sep 17 00:00:00 2001 From: fliiiix Date: Fri, 11 Oct 2024 14:36:40 +0200 Subject: [PATCH 1/2] maintainers: add l33tname --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a0df938571f1..723f7611268b 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; From 5d2a2c808968382abbc8cb2b1b2a84def570ef70 Mon Sep 17 00:00:00 2001 From: fliiiix Date: Sat, 12 Oct 2024 22:00:45 +0200 Subject: [PATCH 2/2] crow: init at 1.2 --- pkgs/by-name/cr/crow/package.nix | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pkgs/by-name/cr/crow/package.nix diff --git a/pkgs/by-name/cr/crow/package.nix b/pkgs/by-name/cr/crow/package.nix new file mode 100644 index 000000000000..357a98600cd9 --- /dev/null +++ b/pkgs/by-name/cr/crow/package.nix @@ -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; + }; +})