Compare commits
6 Commits
d971cb13bb
...
update_fla
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3cb9b971a | ||
|
baca5953e3
|
|||
|
984919528a
|
|||
|
f7e982ac78
|
|||
|
f0f3f19c21
|
|||
|
f05330dd60
|
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
**My personal [NUR](https://github.com/nix-community/NUR) repository**
|
**My personal [NUR](https://github.com/nix-community/NUR) repository**
|
||||||
|
|
||||||
[CI](https://git.xeals.me/xeals/nur-packages/actions) [](https://xeals.cachix.org)
|
[](https://git.xeals.me/xeals/nur-packages/actions)
|
||||||
|
[](https://xeals.cachix.org)
|
||||||
|
|
||||||
|
|
||||||
## Using
|
## Using
|
||||||
|
|
||||||
|
|||||||
6
flake.lock
generated
6
flake.lock
generated
@@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1756536218,
|
"lastModified": 1766125104,
|
||||||
"narHash": "sha256-ynQxPVN2FIPheUgTFhv01gYLbaiSOS7NgWJPm9LF9D0=",
|
"narHash": "sha256-l/YGrEpLromL4viUo5GmFH3K5M1j0Mb9O+LiaeCPWEM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a918bb3594dd243c2f8534b3be01b3cb4ed35fd1",
|
"rev": "7d853e518814cca2a657b72eeba67ae20ebf7059",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python3
|
, python3
|
||||||
, beets
|
, beets
|
||||||
, glib
|
, wrapGAppsHook3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@@ -47,6 +47,9 @@ 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; [
|
||||||
@@ -71,7 +74,6 @@ python3.pkgs.buildPythonApplication {
|
|||||||
toml
|
toml
|
||||||
]) ++ [
|
]) ++ [
|
||||||
beets
|
beets
|
||||||
glib
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -6,8 +6,6 @@
|
|||||||
|
|
||||||
, aacSupport ? false
|
, aacSupport ? false
|
||||||
, faac
|
, faac
|
||||||
, alacSupport ? false
|
|
||||||
, libav
|
|
||||||
, flacSupport ? false
|
, flacSupport ? false
|
||||||
, flac
|
, flac
|
||||||
, m4aSupport ? false
|
, m4aSupport ? false
|
||||||
@@ -20,7 +18,6 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
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;
|
||||||
@@ -48,7 +45,6 @@ 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