1 Commits

Author SHA1 Message Date
d971cb13bb betanin: add glib
Some checks failed
CI / checks (nur) (push) Successful in 3m48s
CI / build-and-update (xeals, xeals) (push) Has been cancelled
Some clients are encountering 'Namespace Gio not available' in
pygobject. Definitions for gio-2.0 are in glib.
2025-08-31 09:44:35 +10:00
4 changed files with 10 additions and 10 deletions

View File

@@ -2,9 +2,7 @@
**My personal [NUR](https://github.com/nix-community/NUR) repository**
[![Gitea Action](https://git.xeal.me/xeals/nur-packages/actions/workflows/build.yml/badge.svg)](https://git.xeals.me/xeals/nur-packages/actions)
[![Cachix Cache](https://img.shields.io/badge/cachix-xeals-blue.svg)](https://xeals.cachix.org)
[CI](https://git.xeals.me/xeals/nur-packages/actions) [![Cachix Cache](https://img.shields.io/badge/cachix-xeals-blue.svg)](https://xeals.cachix.org)
## Using

6
flake.lock generated
View File

@@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1765425892,
"narHash": "sha256-jlQpSkg2sK6IJVzTQBDyRxQZgKADC2HKMRfGCSgNMHo=",
"lastModified": 1756536218,
"narHash": "sha256-ynQxPVN2FIPheUgTFhv01gYLbaiSOS7NgWJPm9LF9D0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5d6bdbddb4695a62f0d00a3620b37a15275a5093",
"rev": "a918bb3594dd243c2f8534b3be01b3cb4ed35fd1",
"type": "github"
},
"original": {

View File

@@ -3,7 +3,7 @@
, fetchFromGitHub
, python3
, beets
, wrapGAppsHook3
, glib
}:
let
@@ -47,9 +47,6 @@ python3.pkgs.buildPythonApplication {
sed -i 's/Flask <3.0.0/Flask/' pyproject.toml
'';
# required for apprise
nativeBuildInputs = [ wrapGAppsHook3 ];
build-system = with python3.pkgs; [ setuptools ];
dependencies = (with python3.pkgs; [
@@ -74,6 +71,7 @@ python3.pkgs.buildPythonApplication {
toml
]) ++ [
beets
glib
];
meta = {

View File

@@ -6,6 +6,8 @@
, aacSupport ? false
, faac
, alacSupport ? false
, libav
, flacSupport ? false
, flac
, m4aSupport ? false
@@ -18,6 +20,7 @@
}:
assert aacSupport -> faac.meta.available;
assert alacSupport -> libav.meta.available;
assert flacSupport -> flac.meta.available;
assert m4aSupport || mp4Support -> fdk-aac-encoder.meta.available;
assert oggSupport -> vorbis-tools.meta.available;
@@ -45,6 +48,7 @@ python3Packages.buildPythonApplication rec {
]) ++ [
lame
(if flacSupport then flac else null)
(if alacSupport then libav else null)
(if aacSupport then faac else null)
(if (m4aSupport || mp4Support) then fdk-aac-encoder else null)
(if oggSupport then vorbis-tools else null)