mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
newsraft: refactor
This commit is contained in:
parent
00b93d5a73
commit
42aa57c539
1 changed files with 3 additions and 5 deletions
|
@ -31,10 +31,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
];
|
];
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ];
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
installTargets = "install install-desktop";
|
||||||
postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
|
|
||||||
install -Dm444 doc/newsraft.desktop -t $out/share/applications
|
|
||||||
'';
|
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE";
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE";
|
||||||
|
|
||||||
|
@ -42,7 +39,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Feed reader for terminal";
|
description = "Feed reader for terminal";
|
||||||
homepage = "https://codeberg.org/grisha/newsraft";
|
homepage = "https://codeberg.org/newsraft/newsraft";
|
||||||
|
changelog = "https://codeberg.org/newsraft/newsraft/releases/tag/newsraft-${finalAttrs.version}";
|
||||||
license = lib.licenses.isc;
|
license = lib.licenses.isc;
|
||||||
maintainers = with lib.maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
arthsmn
|
arthsmn
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue