cozy-audiobooks: 0.6.7 -> 0.7.2

This commit is contained in:
makefu 2020-10-23 20:02:44 +02:00
parent 7c76eafdb7
commit fabf544001
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
1 changed files with 14 additions and 9 deletions

View File

@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec {
format = "other"; # no setup.py format = "other"; # no setup.py
pname = "cozy"; pname = "cozy";
version = "0.6.7"; version = "0.7.2";
# Temporary fix # Temporary fix
# See https://github.com/NixOS/nixpkgs/issues/57029 # See https://github.com/NixOS/nixpkgs/issues/57029
@ -31,7 +31,7 @@ python3Packages.buildPythonApplication rec {
owner = "geigi"; owner = "geigi";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0f8dyqj6111czn8spgsnic1fqs3kimjwl1b19mw55fa924b9bhsa"; sha256 = "0fmbddi4ga0bppwg3rm3yjmf7jgqc6zfslmavnr1pglbzkjhy9fs";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -55,18 +55,23 @@ python3Packages.buildPythonApplication rec {
]); ]);
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
gst-python apsw
pygobject3 cairo
dbus-python dbus-python
mutagen distro
peewee gst-python
magic magic
mutagen
packaging
peewee
pygobject3
pytz
requests
]; ];
postPatch = '' postPatch = ''
chmod +x data/meson_post_install.py chmod +x meson/post_install.py
patchShebangs data/meson_post_install.py patchShebangs meson/post_install.py
substituteInPlace cozy/magic/magic.py --replace "ctypes.util.find_library('magic')" "'${file}/lib/libmagic${stdenv.hostPlatform.extensions.sharedLibrary}'"
''; '';
postInstall = '' postInstall = ''