nitter: 2022-05-13 -> 2022-06-04

This commit is contained in:
AndersonTorres 2022-06-04 15:45:21 -03:00 committed by ehmry
parent 31ba494b7d
commit 4195c9225b

View File

@ -1,32 +1,37 @@
{ lib, nimPackages, nixosTests, fetchFromGitHub, libsass }:
{ lib
, fetchFromGitHub
, nimPackages
, nixosTests
}:
nimPackages.buildNimPackage rec {
pname = "nitter";
version = "unstable-2022-05-13";
nimBinOnly = true;
version = "unstable-2022-06-04";
src = fetchFromGitHub {
owner = "zedeus";
repo = "nitter";
rev = "683c052036b268028f0ecae020a1519bc586516d";
sha256 = "179z66jlwbdarrgvpdh8aqy2ihkiakd22wqydrfgpsgr59ma8fgl";
rev = "138826fb4fbdec73fc6fee2e025fda88f7f2fb49";
hash = "sha256-fdzVfzmEFIej6Kb/K9MQyvbN8aN3hO7RetHL53cD59k=";
};
buildInputs = with nimPackages; [
jester
karax
sass
nimcrypto
markdown
packedjson
supersnappy
redpool
redis
zippy
flatty
jester
jsony
karax
markdown
nimcrypto
packedjson
redis
redpool
sass
supersnappy
zippy
];
nimBinOnly = true;
postBuild = ''
nim c --hint[Processing]:off -r tools/gencss
nim c --hint[Processing]:off -r tools/rendermd
@ -37,13 +42,13 @@ nimPackages.buildNimPackage rec {
cp -r public $out/share/nitter/public
'';
passthru.tests = { inherit (nixosTests) nitter; };
meta = with lib; {
description = "Alternative Twitter front-end";
homepage = "https://github.com/zedeus/nitter";
maintainers = with maintainers; [ erdnaxe ];
description = "Alternative Twitter front-end";
license = licenses.agpl3Only;
maintainers = with maintainers; [ erdnaxe ];
mainProgram = "nitter";
};
passthru.tests = { inherit (nixosTests) nitter; };
}