mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
crow: init at 1.2
This commit is contained in:
parent
eed0208988
commit
5d2a2c8089
41
pkgs/by-name/cr/crow/package.nix
Normal file
41
pkgs/by-name/cr/crow/package.nix
Normal 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;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user