default.nix (693B)
1 { lib, stdenv, fetchgit, ncurses }: 2 3 stdenv.mkDerivation rec { 4 pname = "sfeed_curses"; 5 version = "1.0"; 6 7 src = fetchgit { 8 url = "git://git.codemadness.org/${pname}"; 9 rev = version; 10 sha256 = "sha256-Vnnsa/GDgcBEyelxIw9JN2Yuhxpp5UfSDPnezID6mU8="; 11 }; 12 13 postPatch = '' 14 substituteInPlace Makefile \ 15 --replace "-lcurses" "-lncurses" 16 ''; 17 18 buildInputs = [ ncurses ]; 19 20 installFlags = [ "PREFIX=$(out)" ]; 21 22 meta = with lib; { 23 description = "sfeed curses UI"; 24 homepage = "https://git.codemadness.org/sfeed_curses/"; 25 license = licenses.isc; 26 platforms = platforms.linux; 27 maintainers = [ maintainers.sikmir ]; 28 skip.ci = stdenv.isDarwin; 29 }; 30 }