Merge pull request #48457 from jfrankenau/update-rapid
rapid-photo-downloader: 0.9.10 -> 0.9.12
This commit is contained in:
commit
faf3bf332e
@ -6,11 +6,11 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "rapid-photo-downloader";
|
||||
version = "0.9.10";
|
||||
version = "0.9.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://launchpad.net/rapid/pyqt/${version}/+download/${pname}-${version}.tar.gz";
|
||||
sha256 = "1i0lfj9gnfya49gxx59ls364z651fqagd4krnz9jhg9m0l48ljdf";
|
||||
sha256 = "0nzahps7hs120xv2r55k293kialf83nx44x3jg85yh349rpqrii8";
|
||||
};
|
||||
|
||||
# Disable version check and fix install tests
|
||||
|
@ -22,6 +22,11 @@ buildPythonPackage rec {
|
||||
'CDLL("${libmediainfo}/lib/libmediainfo${stdenv.hostPlatform.extensions.sharedLibrary}")' \
|
||||
--replace 'CDLL("libmediainfo.so.0")' \
|
||||
'CDLL("${libmediainfo}/lib/libmediainfo${stdenv.hostPlatform.extensions.sharedLibrary}.0")'
|
||||
|
||||
# Fix test, remove after version 2.3.0
|
||||
substituteInPlace tests/test_pymediainfo.py \
|
||||
--replace 'codec, "AVC"' 'format, "AVC"' \
|
||||
--replace 'codec, "AAC LC"' 'format, "AAC"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
Loading…
Reference in New Issue
Block a user