diff --git a/pkgs/development/libraries/sealcurses/default.nix b/pkgs/development/libraries/sealcurses/default.nix new file mode 100644 index 000000000000..21ee2a782a2f --- /dev/null +++ b/pkgs/development/libraries/sealcurses/default.nix @@ -0,0 +1,28 @@ +{ lib, stdenv, fetchFromGitea, cmake, pkg-config, ncurses, the-foundation }: + +stdenv.mkDerivation rec { + pname = "sealcurses"; + version = "unstable-2022-04-28"; # No release yet + + src = fetchFromGitea { + domain = "git.skyjake.fi"; + owner = "skyjake"; + repo = pname; + rev = "abf27cfd2567a0765aaa115cabab0abb7f862253"; + hash = "sha256-c4zi/orHyr1hkuEisqZ9V8SaiH1IoxIbeGMrLBEkZ0A="; + }; + + nativeBuildInputs = [ cmake pkg-config ]; + + buildInputs = [ ncurses the-foundation ]; + + cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ]; + + meta = with lib; { + description = "SDL Emulation and Adaptation Layer for Curses (ncursesw)"; + homepage = "https://git.skyjake.fi/skyjake/sealcurses"; + license = licenses.bsd2; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 235d32ecdd9f..d0c8e5f2e6b2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20483,6 +20483,8 @@ with pkgs; selinux-sandbox = callPackage ../os-specific/linux/selinux-sandbox { }; + sealcurses = callPackage ../development/libraries/sealcurses { }; + seasocks = callPackage ../development/libraries/seasocks { }; serd = callPackage ../development/libraries/serd {};