File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 88 gumbo ,
99 ncurses ,
1010 sqlite ,
11- yajl ,
1211 nix-update-script ,
1312} :
1413
1514stdenv . 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 = {
You can’t perform that action at this time.
0 commit comments