Merge pull request #244693 from squalus/nitter

nitter: unstable-2023-07-10 -> unstable-2023-07-21
This commit is contained in:
Sandro 2023-07-24 00:24:05 +02:00 committed by GitHub
commit 1f21ecaeac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,17 +3,18 @@
, nimPackages
, nixosTests
, substituteAll
, unstableGitUpdater
}:
nimPackages.buildNimPackage rec {
pname = "nitter";
version = "unstable-2023-07-10";
version = "unstable-2023-07-21";
src = fetchFromGitHub {
owner = "zedeus";
repo = "nitter";
rev = "0bc3c153d9b38a3c02f321fb64a375fef6b97e8e";
hash = "sha256-msx14FZl2uRZvZjTlF7c3Va742HhiU6R2jdh4neIEV4=";
rev = "cc5841df308506356d329662d0f0c2ec4713a35c";
hash = "sha256-QuWLoKy7suUCTYK79ghdf3o/FGFIDNyN1Iu69DFp6wg=";
};
patches = [
@ -52,6 +53,11 @@ nimPackages.buildNimPackage rec {
cp -r public $out/share/nitter/public
'';
passthru = {
tests = { inherit (nixosTests) nitter; };
updateScript = unstableGitUpdater {};
};
meta = with lib; {
homepage = "https://github.com/zedeus/nitter";
description = "Alternative Twitter front-end";
@ -59,6 +65,4 @@ nimPackages.buildNimPackage rec {
maintainers = with maintainers; [ erdnaxe infinidoge ];
mainProgram = "nitter";
};
passthru.tests = { inherit (nixosTests) nitter; };
}