Compare commits
No commits in common. "f0630c4a637e269eebb17ef6cf3b3060e8906680" and "92b7216c0bac73ad041c6bfcce25e9c89ba86b83" have entirely different histories.
f0630c4a63
...
92b7216c0b
39
package.nix
39
package.nix
@ -1,26 +1,6 @@
|
|||||||
{ lib
|
{ lib, fetchFromGitHub, flutter319 }:
|
||||||
, makeDesktopItem
|
|
||||||
, copyDesktopItems
|
|
||||||
, wrapGAppsHook3
|
|
||||||
, fetchFromGitHub
|
|
||||||
, flutter319
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
desktopFile = makeDesktopItem rec {
|
|
||||||
name = "Invoice Ninja";
|
|
||||||
desktopName = name;
|
|
||||||
exec = "invoiceninja";
|
|
||||||
icon = "invoiceninja";
|
|
||||||
startupWMClass = "invoiceninja";
|
|
||||||
categories = [ "Office" ];
|
|
||||||
terminal = false;
|
|
||||||
extraConfig = {
|
|
||||||
X-MultipleArgs = "false";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
in flutter319.buildFlutterApplication rec {
|
|
||||||
version = "5.0.172";
|
version = "5.0.172";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -30,7 +10,10 @@ in flutter319.buildFlutterApplication rec {
|
|||||||
hash = "sha256-yYGGmF0XiixDi/OuLdlKwN685BUsxcIFzIqXkJi4KMs=";
|
hash = "sha256-yYGGmF0XiixDi/OuLdlKwN685BUsxcIFzIqXkJi4KMs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pname = "invoiceninja-desktop";
|
in flutter319.buildFlutterApplication {
|
||||||
|
inherit version src;
|
||||||
|
|
||||||
|
pname = "invoice-ninja-desktop";
|
||||||
|
|
||||||
targetFlutterPlatform = "linux";
|
targetFlutterPlatform = "linux";
|
||||||
|
|
||||||
@ -46,22 +29,10 @@ in flutter319.buildFlutterApplication rec {
|
|||||||
super_text_layout = "sha256-SGWTs2zHObYAC8J/LdtdmoDtI/EQZr0fJoYMpGcyGWE=";
|
super_text_layout = "sha256-SGWTs2zHObYAC8J/LdtdmoDtI/EQZr0fJoYMpGcyGWE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
copyDesktopItems
|
|
||||||
wrapGAppsHook3
|
|
||||||
];
|
|
||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
mv $sourceRoot/lib/.env.dart.example $sourceRoot/lib/.env.dart
|
mv $sourceRoot/lib/.env.dart.example $sourceRoot/lib/.env.dart
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
mkdir -p $out/share/icons
|
|
||||||
mv $out/app/invoice-ninja-desktop/data/flutter_assets/assets/images/icon.png $out/share/icons/invoiceninja.png
|
|
||||||
'';
|
|
||||||
|
|
||||||
desktopItems = [ desktopFile ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Invoice Ninja desktop client";
|
description = "Invoice Ninja desktop client";
|
||||||
homepage = "https://github.com/invoiceninja/admin-portal";
|
homepage = "https://github.com/invoiceninja/admin-portal";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user