newsraft: init at 0.21

Fix the test. by-name packages should not worry about all-packages.nix.

Update pkgs/by-name/ne/newsraft/package.nix

Co-authored-by: IogaMaster <67164465+IogaMaster@users.noreply.github.com>
This commit is contained in:
Arthur 2023-11-20 17:09:00 -03:00 committed by Anderson Torres
parent 2c06b55f36
commit 51a01a7e55

View file

@ -0,0 +1,38 @@
{ lib
, stdenv
, fetchFromGitea
, pkg-config
, curl
, expat
, gumbo
, ncurses
, sqlite
, yajl
}:
stdenv.mkDerivation rec {
pname = "newsraft";
version = "0.21";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "grisha";
repo = "newsraft";
rev = "newsraft-${version}";
hash = "sha256-vnLlozzPIk3F2U2ZvOClHnpmkXx4fc0pM1X4hFXM2Pg=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ curl expat gumbo ncurses sqlite yajl ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "Feed reader for terminal";
homepage = "https://codeberg.org/grisha/newsraft";
license = licenses.isc;
maintainers = with maintainers; [ arthsmn ];
mainProgram = "newsraft";
platforms = platforms.all;
};
}