Merge pull request #171517 from sikmir/lagrange
commit
9d3f5f80a7
@ -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; |
||||
}; |
||||
} |
@ -0,0 +1,36 @@ |
||||
{ lib |
||||
, stdenv |
||||
, fetchFromGitea |
||||
, cmake |
||||
, pkg-config |
||||
, curl |
||||
, libunistring |
||||
, openssl |
||||
, pcre |
||||
, zlib |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "the-foundation"; |
||||
version = "1.4.0"; |
||||
|
||||
src = fetchFromGitea { |
||||
domain = "git.skyjake.fi"; |
||||
owner = "skyjake"; |
||||
repo = "the_Foundation"; |
||||
rev = "v${version}"; |
||||
hash = "sha256-IHwWJryG4HcrW9Bf8KJrisCrbF86RBQj6Xl1HTmcr6k="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ]; |
||||
|
||||
buildInputs = [ curl libunistring openssl pcre zlib ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Opinionated C11 library for low-level functionality"; |
||||
homepage = "https://git.skyjake.fi/skyjake/the_Foundation"; |
||||
license = licenses.bsd2; |
||||
maintainers = with maintainers; [ sikmir ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
Loading…
Reference in new issue