571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
29 lines
819 B
Nix
29 lines
819 B
Nix
{ lib, stdenv, fetchFromGitea, cmake, pkg-config, ncurses, the-foundation }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sealcurses";
|
|
version = "unstable-2023-02-06"; # No release yet
|
|
|
|
src = fetchFromGitea {
|
|
domain = "git.skyjake.fi";
|
|
owner = "skyjake";
|
|
repo = pname;
|
|
rev = "e11026ca34b03c5ab546512f82a6f705d0c29e95";
|
|
hash = "sha256-N+Tvg2oIcfa68FC7rKuLxGgEKz1oBEEb8NGCiBuZ8y4=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|