mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 22:57:55 +00:00
27 lines
613 B
Nix
27 lines
613 B
Nix
{ stdenv, lib, fetchFromGitHub, cmake, notcurses, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cursedgl";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "saccharineboi";
|
|
repo = "CursedGL";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-h4gDF0yVbCEj4uE/QVg0WLmQuiRkFX1dHo0ULcYSVYg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ ncurses notcurses ];
|
|
|
|
patches = [
|
|
./patches/update-cmakelist.patch
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Notcurses-based software rasterizer";
|
|
homepage = "https://github.com/saccharineboi/CursedGL";
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|