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** **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) [CI](https://git.xeals.me/xeals/nur-packages/actions) [![Cachix Cache](https://img.shields.io/badge/cachix-xeals-blue.svg)](https://xeals.cachix.org)
[![Cachix Cache](https://img.shields.io/badge/cachix-xeals-blue.svg)](https://xeals.cachix.org)
## Using ## Using

6
flake.lock generated
View File

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

View File

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

View File

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