Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7c1de1f14f10
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 018bba85bfc7
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Oct 12, 2019

  1. envelope: init at 0.0.4

    Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
    xiorcale and worldofpeace committed Oct 12, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5075996 View commit details
  2. Merge pull request #70763 from Kjuvi/envelope

    envelope: init at 0.0.4
    worldofpeace authored Oct 12, 2019
    Copy the full SHA
    018bba8 View commit details
Showing with 76 additions and 0 deletions.
  1. +74 −0 pkgs/applications/office/envelope/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
74 changes: 74 additions & 0 deletions pkgs/applications/office/envelope/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -18224,6 +18224,8 @@ in

enhanced-ctorrent = callPackage ../applications/networking/enhanced-ctorrent { };

envelope = callPackage ../applications/office/envelope { };

eolie = callPackage ../applications/networking/browsers/eolie { };

epdfview = callPackage ../applications/misc/epdfview { };