Merge pull request #48457 from jfrankenau/update-rapid

rapid-photo-downloader: 0.9.10 -> 0.9.12
This commit is contained in:
Jörg Thalheim 2018-10-15 23:20:35 +01:00 committed by GitHub
commit faf3bf332e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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 ];