feat: use isisdl from unstable branch
This commit is contained in:
parent
e8b1fbb1fb
commit
9e7fbae80e
4 changed files with 7 additions and 69 deletions
|
|
@ -1,66 +0,0 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, python3Packages
|
||||
, withFFmpeg ? false
|
||||
}:
|
||||
buildPythonApplication rec {
|
||||
pname = "isisdl";
|
||||
version = "1.3.20";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-s0vGCJVSa6hf6/sIhzmaxpziP4izoRwcZfxvm//5inY=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
cryptography
|
||||
requests
|
||||
pyyaml
|
||||
packaging
|
||||
colorama
|
||||
pyinotify
|
||||
distro
|
||||
psutil
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"cryptography"
|
||||
"requests"
|
||||
"packaging"
|
||||
"distro"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pkgs.util-linux # for runtime dependency `lsblk`
|
||||
] ++ lib.optionals withFFmpeg [
|
||||
pkgs.ffmpeg
|
||||
];
|
||||
|
||||
# disable tests since they require valid login credentials
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Emily3403/isisdl";
|
||||
description = "A downloader for ISIS of TU-Berlin";
|
||||
longDescription = ''
|
||||
A downloading utility for ISIS of TU-Berlin.
|
||||
Download all your files and videos from ISIS.
|
||||
'';
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ bchmnn ];
|
||||
mainProgram = "isisdl";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
@ -9,7 +9,12 @@ buildPythonApplication {
|
|||
pkgs.gobject-introspection
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ pkgs.gtk3 pygobject3 notify2 pikepdf ];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pkgs.gtk3
|
||||
pygobject3
|
||||
notify2
|
||||
pikepdf
|
||||
];
|
||||
|
||||
dontUnpack = true;
|
||||
format = "other";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue