diff --git a/pkgs/servers/nitter/default.nix b/pkgs/servers/nitter/default.nix index 2be39b7c2fa3..fb0f797457b9 100644 --- a/pkgs/servers/nitter/default.nix +++ b/pkgs/servers/nitter/default.nix @@ -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; }; }