newsraft: 0.30 -> 0.31

This commit is contained in:
arthsmn 2025-06-08 12:09:57 -03:00
parent 7bc1851758
commit 00b93d5a73
No known key found for this signature in database

View file

@ -6,21 +6,20 @@
curl, curl,
expat, expat,
gumbo, gumbo,
ncurses,
sqlite, sqlite,
nix-update-script, nix-update-script,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "newsraft"; pname = "newsraft";
version = "0.30"; version = "0.31";
src = fetchFromGitea { src = fetchFromGitea {
domain = "codeberg.org"; domain = "codeberg.org";
owner = "newsraft"; owner = "newsraft";
repo = "newsraft"; repo = "newsraft";
rev = "newsraft-${finalAttrs.version}"; rev = "newsraft-${finalAttrs.version}";
hash = "sha256-h9gjw2EjWWNdyQT2p4wgWlz4TNitDBX5fPbNNH9/th4="; hash = "sha256-XnVGt9frUKeAjxYk2cr3q3a5HpqVH0CHnNiKdTTBnqA=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
@ -28,7 +27,6 @@ stdenv.mkDerivation (finalAttrs: {
curl curl
expat expat
gumbo gumbo
ncurses
sqlite sqlite
]; ];
@ -38,6 +36,8 @@ stdenv.mkDerivation (finalAttrs: {
install -Dm444 doc/newsraft.desktop -t $out/share/applications install -Dm444 doc/newsraft.desktop -t $out/share/applications
''; '';
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE";
passthru.updateScript = nix-update-script { }; passthru.updateScript = nix-update-script { };
meta = { meta = {