Compare commits
1 Commits
main
...
d971cb13bb
| Author | SHA1 | Date | |
|---|---|---|---|
|
d971cb13bb
|
@@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
**My personal [NUR](https://github.com/nix-community/NUR) repository**
|
**My personal [NUR](https://github.com/nix-community/NUR) repository**
|
||||||
|
|
||||||
[](https://git.xeals.me/xeals/nur-packages/actions)
|
[CI](https://git.xeals.me/xeals/nur-packages/actions) [](https://xeals.cachix.org)
|
||||||
[](https://xeals.cachix.org)
|
|
||||||
|
|
||||||
|
|
||||||
## Using
|
## Using
|
||||||
|
|
||||||
|
|||||||
6
flake.lock
generated
6
flake.lock
generated
@@ -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": {
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user