mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
Merge pull request #244693 from squalus/nitter
nitter: unstable-2023-07-10 -> unstable-2023-07-21
This commit is contained in:
commit
1f21ecaeac
@ -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 New Issue
Block a user