From 1833044e6653d7e974f78830a94182764b04ff5a Mon Sep 17 00:00:00 2001 From: Jacob Bachmann Date: Sat, 27 Jul 2024 13:38:40 +0200 Subject: [PATCH 1/2] maintainers: add bchmnn --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 3f072e47f6d0..650efcdcd857 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; From 62ec584ddfc70e9a126bd4afba0f172a0417a5d2 Mon Sep 17 00:00:00 2001 From: Jacob Bachmann Date: Sat, 27 Jul 2024 14:03:11 +0200 Subject: [PATCH 2/2] isisdl: init at 1.3.20 --- pkgs/by-name/is/isisdl/package.nix | 58 ++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 pkgs/by-name/is/isisdl/package.nix diff --git a/pkgs/by-name/is/isisdl/package.nix b/pkgs/by-name/is/isisdl/package.nix new file mode 100644 index 000000000000..fc5286e99cad --- /dev/null +++ b/pkgs/by-name/is/isisdl/package.nix @@ -0,0 +1,58 @@ +{ + 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; + }; +}