sublime-music-mobile: bump dependencies to fix build
This commit is contained in:
@@ -48,7 +48,8 @@
|
|||||||
, gtk-doc
|
, gtk-doc
|
||||||
, lib
|
, lib
|
||||||
, libhandy
|
, libhandy
|
||||||
, python3Packages
|
, fetchFromGitHub
|
||||||
|
, python3
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, gtk3
|
, gtk3
|
||||||
, pango
|
, pango
|
||||||
@@ -61,7 +62,22 @@
|
|||||||
, networkSupport ? true, networkmanager
|
, networkSupport ? true, networkmanager
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
let
|
||||||
|
python = python3.override {
|
||||||
|
packageOverrides = self: super: {
|
||||||
|
semver = super.semver.overridePythonAttrs (oldAttrs: rec {
|
||||||
|
version = "2.13.0";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "python-semver";
|
||||||
|
repo = "python-semver";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-IWTo/P9JRxBQlhtcH3JMJZZrwAA8EALF4dtHajWUc4w=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
|
python.pkgs.buildPythonApplication rec {
|
||||||
pname = "sublime-music-mobile";
|
pname = "sublime-music-mobile";
|
||||||
version = "0.11.16";
|
version = "0.11.16";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
@@ -82,16 +98,17 @@ python3Packages.buildPythonApplication rec {
|
|||||||
domain = "git.uninsane.org";
|
domain = "git.uninsane.org";
|
||||||
owner = "colin";
|
owner = "colin";
|
||||||
repo = "sublime-music";
|
repo = "sublime-music";
|
||||||
rev = "5d8eb1f15c946a43dcf15266ce109f6bec810ce3";
|
rev = "b64498960147c705f530f3d8f91c6217ed66a8f8";
|
||||||
sha256 = "sha256-qMCyRNPtmd29dQKKcPi+Jy5gr39crZUBizprdOZlmY4=";
|
sha256 = "sha256-jyC3Fh+b+MBLjHlFr3nOOM7eT/3PPF7dynHsPJaIzLU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
python3Packages.poetry-core
|
|
||||||
python3Packages.pythonRelaxDepsHook
|
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
];
|
] ++ (with python.pkgs; [
|
||||||
|
poetry-core
|
||||||
|
pythonRelaxDepsHook
|
||||||
|
]);
|
||||||
|
|
||||||
# Can be removed in later versions (probably > 0.11.16)
|
# Can be removed in later versions (probably > 0.11.16)
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
@@ -122,7 +139,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
++ lib.optional networkSupport networkmanager
|
++ lib.optional networkSupport networkmanager
|
||||||
;
|
;
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python.pkgs; [
|
||||||
bleach
|
bleach
|
||||||
dataclasses-json
|
dataclasses-json
|
||||||
deepdiff
|
deepdiff
|
||||||
@@ -135,7 +152,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
requests
|
requests
|
||||||
semver
|
semver
|
||||||
]
|
]
|
||||||
++ lib.optional chromecastSupport PyChromecast
|
++ lib.optional chromecastSupport pychromecast
|
||||||
++ lib.optional keyringSupport keyring
|
++ lib.optional keyringSupport keyring
|
||||||
++ lib.optional serverSupport bottle
|
++ lib.optional serverSupport bottle
|
||||||
;
|
;
|
||||||
@@ -152,7 +169,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
# https://github.com/NixOS/nixpkgs/issues/56943
|
# https://github.com/NixOS/nixpkgs/issues/56943
|
||||||
strictDeps = false;
|
strictDeps = false;
|
||||||
|
|
||||||
checkInputs = with python3Packages; [
|
checkInputs = with python.pkgs; [
|
||||||
pytest
|
pytest
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user