nitter: unstable-2023-07-10 -> unstable-2023-07-21
- update to unstable-2023-07-21 - add updateScript
This commit is contained in:
parent
bc7a300e28
commit
5aa3c52e11
1 changed files with 9 additions and 5 deletions
|
@ -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; };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue