From 28da83bb52c46cd661f3b0d4e6e4afb0968955f6 Mon Sep 17 00:00:00 2001 From: bwkam Date: Sun, 12 May 2024 00:50:57 +0300 Subject: [PATCH 1/3] maintainers: add bwkam --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 864367a22444..288d57452567 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3031,6 +3031,12 @@ githubId = 25644444; name = "Ben C"; }; + bwkam = { + email = "beshoykamel391@gmail.com"; + github = "bwkam"; + githubId = 91009118; + name = "Beshoy Kamel"; + }; bwlang = { email = "brad@langhorst.com"; github = "bwlang"; From e640bd83b7b8a00e380169726c168279f6af7b1c Mon Sep 17 00:00:00 2001 From: bwkam Date: Sun, 12 May 2024 00:48:20 +0300 Subject: [PATCH 2/3] python311Packages.pwinput: init at 1.3.0 --- .../python-modules/pwinput/default.nix | 35 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/development/python-modules/pwinput/default.nix diff --git a/pkgs/development/python-modules/pwinput/default.nix b/pkgs/development/python-modules/pwinput/default.nix new file mode 100644 index 000000000000..66105db31a07 --- /dev/null +++ b/pkgs/development/python-modules/pwinput/default.nix @@ -0,0 +1,35 @@ +{ + buildPythonPackage, + fetchPypi, + setuptools, + lib, + pythonOlder, +}: +buildPythonPackage rec { + pname = "pwinput"; + version = "1.0.3"; + + pyproject = true; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + inherit version; + pname = "pwinput"; + hash = "sha256-yhqL0G4ohy11Hb1BMthjcSfCW0COo6NJN3MUpUkUJvM="; + }; + + build-system = [ setuptools ]; + + pythonImportsCheck = [ "pwinput" ]; + + # Requires graphical environment to use pyautogui + doCheck = false; + + meta = { + description = "Python module that masks password input"; + homepage = "https://github.com/asweigart/pwinput"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ bwkam ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 53e7cd1eaa10..ad497402b6a1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9996,6 +9996,8 @@ self: super: with self; { pyaprilaire = callPackage ../development/python-modules/pyaprilaire { }; + pwinput = callPackage ../development/python-modules/pwinput { }; + pybars3 = callPackage ../development/python-modules/pybars3 { }; pymeta3 = callPackage ../development/python-modules/pymeta3 { }; From fa466badd86e776cbd8e042d85cbfeeccf7e8869 Mon Sep 17 00:00:00 2001 From: bwkam Date: Sun, 12 May 2024 23:14:44 +0300 Subject: [PATCH 3/3] zotify: init at 0.6.13 --- pkgs/by-name/zo/zotify/package.nix | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 pkgs/by-name/zo/zotify/package.nix diff --git a/pkgs/by-name/zo/zotify/package.nix b/pkgs/by-name/zo/zotify/package.nix new file mode 100644 index 000000000000..d5250b780a42 --- /dev/null +++ b/pkgs/by-name/zo/zotify/package.nix @@ -0,0 +1,47 @@ +{ + fetchFromGitHub, + python3Packages, + lib, +}: +python3Packages.buildPythonApplication rec { + pname = "zotify"; + version = "0.6.13"; + + pyproject = true; + + src = fetchFromGitHub { + owner = "zotify-dev"; + repo = "zotify"; + # repository has no version tags + # https://github.com/zotify-dev/zotify/issues/124 + rev = "5da27d32a1f522e80a3129c61f939b1934a0824a"; + hash = "sha256-KA+Q4sk+riaFTybRQ3aO5lgPg4ECZE6G+By+x2uP/VM="; + }; + + build-system = [ python3Packages.setuptools ]; + + nativeBuildInputs = [ python3Packages.pythonRelaxDepsHook ]; + + pythonRelaxDeps = [ "protobuf" ]; + + dependencies = with python3Packages; [ + ffmpy + music-tag + pillow + tabulate + tqdm + librespot + pwinput + protobuf + ]; + + pythonImportsCheck = [ "zotify" ]; + + meta = { + description = "Fast and customizable music and podcast downloader"; + homepage = "https://github.com/zotify-dev/zotify"; + license = lib.licenses.zlib; + mainProgram = "zotify"; + maintainers = with lib.maintainers; [ bwkam ]; + }; +}