sublime-music: Pin semver at 2.13.0
This commit is contained in:
parent
4e0a4f2d82
commit
ac848b1e68
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, python3Packages
|
, fetchFromGitHub
|
||||||
|
, python3
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, gtk3
|
, gtk3
|
||||||
, pango
|
, pango
|
||||||
|
@ -15,7 +16,22 @@
|
||||||
, networkmanager
|
, 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";
|
pname = "sublime-music";
|
||||||
version = "0.11.16";
|
version = "0.11.16";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
@ -29,10 +45,11 @@ python3Packages.buildPythonApplication rec {
|
||||||
|
|
||||||
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 = [
|
||||||
|
@ -57,7 +74,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
|
||||||
|
@ -75,7 +92,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
++ lib.optional serverSupport bottle
|
++ lib.optional serverSupport bottle
|
||||||
;
|
;
|
||||||
|
|
||||||
nativeCheckInputs = with python3Packages; [
|
nativeCheckInputs = with python.pkgs; [
|
||||||
pytest
|
pytest
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue