depot/third_party/nixpkgs/pkgs/by-name/ne/newsraft/package.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

41 lines
863 B
Nix

{ lib
, stdenv
, fetchFromGitea
, pkg-config
, curl
, expat
, gumbo
, ncurses
, sqlite
, yajl
, nix-update-script
}:
stdenv.mkDerivation (finalAttrs: {
pname = "newsraft";
version = "0.25";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "newsraft";
repo = "newsraft";
rev = "newsraft-${finalAttrs.version}";
hash = "sha256-hRWhjv/uCL3w0BUzYho3luCeZPyDsXqxnhx1wMovHY0=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ curl expat gumbo ncurses sqlite yajl ];
makeFlags = [ "PREFIX=$(out)" ];
passthru.updateScript = nix-update-script {};
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;
};
})