Loading pkgs/development/python-modules/pyhibp/default.nix 0 → 100644 +46 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitLab, setuptools, requests, pytestCheckHook, }: buildPythonPackage rec { pname = "pyhibp"; version = "4.2.0"; pyproject = true; src = fetchFromGitLab { group = "kitsunix"; owner = "pyHIBP"; repo = "pyHIBP"; tag = "v${version}"; hash = "sha256-2LJA989hpG5X6o+zCTSU0RRd0Z4zd29RAtp/jBW8Clo="; }; build-system = [ setuptools ]; dependencies = [ requests ]; nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # All require internet access "TestIsPasswordBreached" "TestSuffixSearch" "TestGetAllBreaches" "TestGetSingleBreach" "TestGetDataClasses" ]; pythonImportsCheck = [ "pyhibp" ]; meta = { description = "Python interface to Troy Hunt's 'Have I Been Pwned?' public API"; homepage = "https://gitlab.com/kitsunix/pyHIBP/pyHIBP"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ aleksana ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13362,6 +13362,8 @@ self: super: with self; { pyhepmc = callPackage ../development/python-modules/pyhepmc { }; pyhibp = callPackage ../development/python-modules/pyhibp { }; pyhidra = callPackage ../development/python-modules/pyhidra { }; pyhik = callPackage ../development/python-modules/pyhik { }; Loading Loading
pkgs/development/python-modules/pyhibp/default.nix 0 → 100644 +46 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitLab, setuptools, requests, pytestCheckHook, }: buildPythonPackage rec { pname = "pyhibp"; version = "4.2.0"; pyproject = true; src = fetchFromGitLab { group = "kitsunix"; owner = "pyHIBP"; repo = "pyHIBP"; tag = "v${version}"; hash = "sha256-2LJA989hpG5X6o+zCTSU0RRd0Z4zd29RAtp/jBW8Clo="; }; build-system = [ setuptools ]; dependencies = [ requests ]; nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # All require internet access "TestIsPasswordBreached" "TestSuffixSearch" "TestGetAllBreaches" "TestGetSingleBreach" "TestGetDataClasses" ]; pythonImportsCheck = [ "pyhibp" ]; meta = { description = "Python interface to Troy Hunt's 'Have I Been Pwned?' public API"; homepage = "https://gitlab.com/kitsunix/pyHIBP/pyHIBP"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ aleksana ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13362,6 +13362,8 @@ self: super: with self; { pyhepmc = callPackage ../development/python-modules/pyhepmc { }; pyhibp = callPackage ../development/python-modules/pyhibp { }; pyhidra = callPackage ../development/python-modules/pyhidra { }; pyhik = callPackage ../development/python-modules/pyhik { }; Loading