mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 05:14:45 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
69 lines
1.3 KiB
Nix
69 lines
1.3 KiB
Nix
{ lib
|
|
, fetchFromGitLab
|
|
, python3
|
|
, appstream-glib
|
|
, desktop-file-utils
|
|
, glib
|
|
, libxml2
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, wrapGAppsHook4
|
|
, gobject-introspection
|
|
, libadwaita
|
|
, librsvg
|
|
, gtk4
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "banking";
|
|
version = "0.6.0";
|
|
format = "other";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "tabos";
|
|
repo = "banking";
|
|
rev = version;
|
|
hash = "sha256-x/um40sRD58d5LuuJlyietCV1Rw4H5VSO0I3ZwD5kO8=";
|
|
};
|
|
|
|
postPatch = ''
|
|
patchShebangs meson_post_conf.py meson_post_install.py
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
appstream-glib # for appstream-util
|
|
desktop-file-utils # for desktop-file-validate
|
|
glib # for glib-compile-resources
|
|
libxml2 # for xmllint
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
gobject-introspection
|
|
gtk4 # for gtk4-update-icon-cache
|
|
];
|
|
|
|
buildInputs = [
|
|
libadwaita
|
|
librsvg
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
cryptography
|
|
fints
|
|
mt-940
|
|
onetimepad
|
|
pygobject3
|
|
schwifty
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Banking application for small screens";
|
|
homepage = "https://tabos.gitlab.io/projects/banking/";
|
|
license = licenses.gpl3Plus;
|
|
mainProgram = "org.tabos.banking";
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|