feat: use isisdl from unstable branch

This commit is contained in:
Jacob Bachmann 2024-08-01 18:26:17 +02:00
parent e8b1fbb1fb
commit 9e7fbae80e
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
4 changed files with 7 additions and 69 deletions

View file

@ -15,7 +15,6 @@
mfcl3750cdwlpr = (super.callPackage ../overlays/mfcl3750cdw.nix { }).driver;
mfcl3750cdwcupswrapper = (super.callPackage ../overlays/mfcl3750cdw.nix { }).cupswrapper;
pppdf = (super.python3Packages.callPackage ../overlays/pppdf { });
isisdl = (super.python3Packages.callPackage ../overlays/isisdl.nix { });
iglesia-light = (super.callPackage ../overlays/fonts/iglesia-light.nix { });
})
];

View file

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

View file

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

View file

@ -16,7 +16,7 @@
ghostscript # postscript interpreter (mainline version)
pdftk # command-line tool for working with pdfs
ventoy-full # bootable usb solution
isisdl # downloader for isis of tu-berlin
unstable.isisdl # downloader for isis of tu-berlin
sage # open source mathematics software, free alternative to magma, maple, mathematica, and matlab
];