mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
valuta: init at 1.2.0
This commit is contained in:
parent
791e05037d
commit
35986db01d
65
pkgs/by-name/va/valuta/package.nix
Normal file
65
pkgs/by-name/va/valuta/package.nix
Normal file
@ -0,0 +1,65 @@
|
||||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, blueprint-compiler
|
||||
, desktop-file-utils
|
||||
, gtk4
|
||||
, gst_all_1
|
||||
, libsoup_3
|
||||
, libadwaita
|
||||
, wrapGAppsHook4
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "valuta";
|
||||
version = "1.2.0";
|
||||
|
||||
pyproject = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ideveCore";
|
||||
repo = "Valuta";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ygroF9hlmsjQTocly7CNL6zQi4N6h8va/ZkJ8w8QHms=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
blueprint-compiler
|
||||
desktop-file-utils
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk4
|
||||
gst_all_1.gstreamer
|
||||
libsoup_3
|
||||
libadwaita
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
dbus-python
|
||||
pygobject3
|
||||
];
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
# Arguments to be passed to `makeWrapper`, only used by buildPython*
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple application for converting currencies, with support for various APIs";
|
||||
homepage = "https://github.com/ideveCore/Valuta";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ arthsmn ];
|
||||
mainProgram = "currencyconverter";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user