Skip to content

Commit ca8f721

Browse files
newsraft: 0.29 -> 0.30 (#404011)
2 parents ef590a7 + 59c7764 commit ca8f721

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,19 @@
88
gumbo,
99
ncurses,
1010
sqlite,
11-
yajl,
1211
nix-update-script,
1312
}:
1413

1514
stdenv.mkDerivation (finalAttrs: {
1615
pname = "newsraft";
17-
version = "0.29";
16+
version = "0.30";
1817

1918
src = fetchFromGitea {
2019
domain = "codeberg.org";
2120
owner = "newsraft";
2221
repo = "newsraft";
2322
rev = "newsraft-${finalAttrs.version}";
24-
hash = "sha256-6rDnGVOApSURuXom+XxPPOG7lxMbHGTL+4Oqrx+Jq2w=";
23+
hash = "sha256-h9gjw2EjWWNdyQT2p4wgWlz4TNitDBX5fPbNNH9/th4=";
2524
};
2625

2726
nativeBuildInputs = [ pkg-config ];
@@ -31,11 +30,14 @@ stdenv.mkDerivation (finalAttrs: {
3130
gumbo
3231
ncurses
3332
sqlite
34-
yajl
3533
];
3634

3735
makeFlags = [ "PREFIX=$(out)" ];
3836

37+
postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
38+
install -Dm444 doc/newsraft.desktop -t $out/share/applications
39+
'';
40+
3941
passthru.updateScript = nix-update-script { };
4042

4143
meta = {

0 commit comments

Comments
 (0)