friture: 0.48 -> 0.49 (#164475)
This commit is contained in:
parent
ae1a470045
commit
c2789917a6
|
@ -1,16 +1,16 @@
|
||||||
{ lib, fetchFromGitHub, fetchpatch, python3Packages, wrapQtAppsHook }:
|
{ lib, fetchFromGitHub, python3Packages, wrapQtAppsHook }:
|
||||||
|
|
||||||
let
|
let
|
||||||
py = python3Packages;
|
py = python3Packages;
|
||||||
in py.buildPythonApplication rec {
|
in py.buildPythonApplication rec {
|
||||||
pname = "friture";
|
pname = "friture";
|
||||||
version = "0.48";
|
version = "0.49";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tlecomte";
|
owner = "tlecomte";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-oOH58jD49xAeSuP+l6tYUpwkYsnfeSGTt8x4DFzTY6g=";
|
sha256 = "sha256-xKgyBV/Qc+9PgXyxcT0xG1GXLC6KnjavJ/0SUE+9VSY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = (with py; [ numpy cython scipy ]) ++
|
nativeBuildInputs = (with py; [ numpy cython scipy ]) ++
|
||||||
|
@ -28,15 +28,6 @@ in py.buildPythonApplication rec {
|
||||||
rtmixer
|
rtmixer
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Backported fix that resolves an issue with setuptools packaging
|
|
||||||
(fetchpatch {
|
|
||||||
name = "fix-setuptools-packaging.patch";
|
|
||||||
url = "https://github.com/tlecomte/friture/commit/ea7210dae883edf17de8fec82f9428b18ee138b6.diff";
|
|
||||||
sha256 = "sha256-Kv/vmC8kcqfOgfIPQyZN46sbV6bezhq6pyj8bvke6s8=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Remove version constraints from Python dependencies in setup.py
|
# Remove version constraints from Python dependencies in setup.py
|
||||||
sed -i -E "s/\"([A-Za-z0-9]+)(=|>|<)=[0-9\.]+\"/\"\1\"/g" setup.py
|
sed -i -E "s/\"([A-Za-z0-9]+)(=|>|<)=[0-9\.]+\"/\"\1\"/g" setup.py
|
||||||
|
|
Loading…
Reference in a new issue