nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 049584a4d3f5a4717998627854fa8429d0e34d91
parent c560e8bd35bbf90f8786eaa365713971477efcc5
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Tue,  4 Oct 2022 13:12:14 +0300

Add serverpp

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/serverpp/default.nix | 25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -334,6 +334,7 @@ lib.makeScope newScope ( qoiview = callPackage ./misc/qoiview { }; repolocli = callPackage ./misc/repolocli { }; sdorfehs = callPackage ./misc/sdorfehs { }; + serverpp = callPackage ./misc/serverpp { }; taskcoach = callPackage ./misc/taskcoach { }; tcvt = callPackage ./misc/tcvt { }; telegabber = callPackage ./misc/telegabber { }; diff --git a/pkgs/misc/serverpp/default.nix b/pkgs/misc/serverpp/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, cmake, boost, gsl-lite }: + +stdenv.mkDerivation rec { + pname = "serverpp"; + version = "0.2.0"; + + src = fetchFromGitHub { + owner = "KazDragon"; + repo = "serverpp"; + rev = "v${version}"; + hash = "sha256-z7aLE7RyRGwUCpnJr0NS6yXUBPtHTnd81JOI/tGHDo0="; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ boost gsl-lite ]; + + meta = with lib; { + description = "A C++ library for basic network server handling"; + inherit (src.meta) homepage; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}