Unverified Commit 494bfd6b authored by Florian's avatar Florian Committed by GitHub
Browse files

Merge pull request #312629 from bchmnn/isisdl

isisdl: init at 1.3.20
parents 1fad9211 62ec584d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2369,6 +2369,13 @@
    githubId = 164148;
    name = "Ben Darwin";
  };
  bchmnn = {
    email = "jacob.bachmann@posteo.de";
    matrix = "@trilloyd:matrix.tu-berlin.de";
    github = "bchmnn";
    githubId = 34620799;
    name = "Jacob Bachmann";
  };
  bdd = {
    email = "bdd@mindcast.org";
    github = "bdd";
+58 −0
Original line number Diff line number Diff line
{
  lib,
  fetchPypi,
  python3Packages,
  util-linux,
}:
python3Packages.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 ];

  dependencies = with python3Packages; [
    cryptography
    requests
    pyyaml
    packaging
    colorama
    pyinotify
    distro
    psutil
  ];

  pythonRelaxDeps = [
    "cryptography"
    "requests"
    "packaging"
    "distro"
    "psutil"
  ];

  buildInputs = [
    util-linux # for runtime dependency `lsblk`
  ];

  # disable tests since they require valid login credentials
  doCheck = false;

  meta = {
    homepage = "https://github.com/Emily3403/isisdl";
    description = "Downloader for ISIS of TU-Berlin";
    longDescription = ''
      A downloading utility for ISIS of TU-Berlin.
      Download all your files and videos from ISIS.
    '';
    license = lib.licenses.gpl3;
    maintainers = with lib.maintainers; [ bchmnn ];
    mainProgram = "isisdl";
    platforms = lib.platforms.linux;
  };
}