diff options
author | Vladimír Čunát <v@cunat.cz> | 2019-10-13 13:31:33 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2019-10-13 13:31:33 +0200 |
commit | b5697c6954d4b261d354cb6630385fe280f15ef9 (patch) | |
tree | 8a5e980a04ed17523547303988c6dc58e0c9027e /pkgs/applications/office | |
parent | 26ec15c267d8ddc193dbb05aa8f98928518176d9 (diff) | |
parent | 7818f30cc4b6b282ecd361a5e62d1c99ec8c0c78 (diff) |
Merge branch 'master' into staging-next
Hydra nixpkgs: ?compare=1548439
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/envelope/default.nix | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/pkgs/applications/office/envelope/default.nix b/pkgs/applications/office/envelope/default.nix new file mode 100644 index 0000000000000..9142fff9a2c2e --- /dev/null +++ b/pkgs/applications/office/envelope/default.nix @@ -0,0 +1,74 @@ +{ stdenv +, fetchFromGitHub +, fetchpatch +, meson +, ninja +, pkgconfig +, pantheon +, python3 +, vala +, appstream-glib +, desktop-file-utils +, gettext +, glib +, gtk3 +, libgee +, sqlite +, wrapGAppsHook +}: + +stdenv.mkDerivation rec { + pname = "envelope"; + version = "0.0.4"; + + src = fetchFromGitHub { + owner = "cjfloss"; + repo = pname; + rev = version; + sha256 = "111lq1gijcm7qwpac09q11ymwiw2x3m12a28ki52f28fb1amvffc"; + }; + + nativeBuildInputs = [ + appstream-glib + desktop-file-utils + gettext + meson + ninja + vala + pkgconfig + python3 + wrapGAppsHook + ]; + + buildInputs = [ + glib + gtk3 + libgee + pantheon.granite + sqlite + ]; + + doCheck = true; + + patches = [ + # Fix AppData Validation. + # https://github.com/cjfloss/envelope/pull/59 + (fetchpatch { + url = "https://github.com/cjfloss/envelope/commit/b6a28eced89b8f944479fcc695aebfb9aae0c691.patch"; + sha256 = "11znc8z52kl893n3gmmdpnp3y4vpzmb263m5gp0qxbl3xykq2wzr"; + }) + ]; + + postPatch = '' + chmod +x data/post_install.py + patchShebangs data/post_install.py + ''; + + meta = with stdenv.lib; { + description = "Personal finance manager for elementary OS"; + homepage = "https://github.com/cjfloss/envelope"; + maintainers = with maintainers; [ kjuvi ] ++ pantheon.maintainers; + platforms = platforms.linux; + license = licenses.gpl3Plus; + }; +} |