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:
parent
2c06b55f36
commit
51a01a7e55
1 changed files with 38 additions and 0 deletions
38
pkgs/by-name/ne/newsraft/package.nix
Normal file
38
pkgs/by-name/ne/newsraft/package.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue