bump kaiteki: 2022-06-03 -> unstable-2022-08-31
This commit is contained in:
parent
8a6460e1b0
commit
d466c0b942
|
@ -2,25 +2,32 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, flutter
|
, flutter
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
|
, xdg-user-dirs
|
||||||
}:
|
}:
|
||||||
|
|
||||||
flutter.mkFlutterApp rec {
|
flutter.mkFlutterApp rec {
|
||||||
pname = "kaiteki";
|
pname = "kaiteki";
|
||||||
version = "unstable-2022-06-03";
|
version = "unstable-2022-08-31";
|
||||||
|
|
||||||
# this hash seems unstable -- depends on other nixpkgs, perhaps?
|
# this hash seems unstable -- depends on other nixpkgs, perhaps?
|
||||||
vendorHash = "sha256-IC3FAPFASuMcNOpUuaB+MDcm9nqGCtq/6A2dCxIXHEg=";
|
# vendorHash = "sha256-4DdtceIxj89ta12EhfxA2B5K9++LrKSA7ZzUb/NaaGs=";
|
||||||
|
vendorHash = "sha256-OEDJSnXDNut/YZ+3cQ76KUBW/MaXcnirZDHu/n97108=";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Kaiteki-Fedi";
|
owner = "Kaiteki-Fedi";
|
||||||
repo = "Kaiteki";
|
repo = "Kaiteki";
|
||||||
rev = "0a322313071e4391949d23d9b006d74de65f58d9";
|
# rev = "cf94ec55063cd7af20a37103fc40c588a634962f";
|
||||||
hash = "sha256-ggDIbVwueS162m15TFaC6Tcg+0lpcVGi4x/O691sxR8";
|
# hash = "sha256-jtRT0Q4/i3dxRYcC6HPClL9Iw1PizkIUgswU1eusKig=";
|
||||||
|
# past this hash Kaiteki introduces submodules for l10n stuff; not sure how to account for that yet.
|
||||||
|
rev = "324077e4716ce996531457ec9c45fb3cc82820a0";
|
||||||
|
hash = "sha256-qqVePcDnuc7SdPUhZtfcMGPzpemmZEvCNLqEbUDi2SA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ xdg-user-dirs ];
|
||||||
|
|
||||||
desktopItems = [ (makeDesktopItem {
|
desktopItems = [ (makeDesktopItem {
|
||||||
name = "Kaiteki";
|
name = "Kaiteki";
|
||||||
exec = "kaiteki";
|
exec = "@out@/bin/kaiteki";
|
||||||
icon = "kaiteki";
|
icon = "kaiteki";
|
||||||
desktopName = "Kaiteki";
|
desktopName = "Kaiteki";
|
||||||
genericName = "Micro-blogging client";
|
genericName = "Micro-blogging client";
|
||||||
|
@ -30,11 +37,16 @@ flutter.mkFlutterApp rec {
|
||||||
|
|
||||||
sourceRoot = "source/src/kaiteki";
|
sourceRoot = "source/src/kaiteki";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/kaiteki \
|
||||||
|
--prefix PATH : "${xdg-user-dirs}/bin"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The comfy Fediverse client";
|
description = "The comfy Fediverse client";
|
||||||
homepage = "https://craftplacer.moe/projects/kaiteki/";
|
homepage = "https://craftplacer.moe/projects/kaiteki/";
|
||||||
license = licenses.agpl3Plus;
|
license = licenses.agpl3Plus;
|
||||||
# maintainers = with maintainers; [ colinsane ];
|
maintainers = with maintainers; [ colinsane ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user