mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
newsraft: 0.30 -> 0.31
This commit is contained in:
parent
7bc1851758
commit
00b93d5a73
1 changed files with 4 additions and 4 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue