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"; 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; + }; +})