Loading pkgs/development/python-modules/defusedcsv/default.nix 0 → 100644 +35 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub # tests , pytestCheckHook }: buildPythonPackage rec { pname = "defusedcsv"; version = "2.0.0"; format = "setuptools"; src = fetchFromGitHub { owner = "raphaelm"; repo = "defusedcsv"; rev = "refs/tags/v${version}"; hash = "sha256-y8qLVfdkxRrDjtrTOLK5Zvi/1Vyv8eOnCueUkaRp4sQ="; }; pythonImportsCheck = [ "defusedcsv.csv" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "Python library to protect your users from Excel injections in CSV-format exports, drop-in replacement for standard library's csv module"; homepage = "https://github.com/raphaelm/defusedcsv"; license = licenses.asl20; maintainers = with maintainers; [ hexa ]; }; } pkgs/development/python-modules/django-i18nfield/default.nix 0 → 100644 +43 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub # tests , djangorestframework , html5lib , lxml , pytest-django , pytestCheckHook , pyyaml }: buildPythonPackage { pname = "django-i18nfield"; version = "1.9.4"; format = "setuptools"; src = fetchFromGitHub { owner = "raphaelm"; repo = "django-i18nfield"; rev = "10488eb6c673be50e50387c76085a7c8d84e9157"; hash = "sha256-FF980LTw7RFuG9QgxA96yJsSczCNNMq9WsbacQqIReE="; }; env.DJANGO_SETTINGS_MODULE = "tests.settings"; nativeCheckInputs = [ djangorestframework html5lib lxml pytest-django pytestCheckHook pyyaml ]; meta = with lib; { description = "Store internationalized strings in Django models"; homepage = "https://github.com/raphaelm/django-i18nfield"; license = licenses.asl20; maintainers = with maintainers; [ hexa ]; }; } pkgs/development/python-modules/django-mysql/default.nix 0 → 100644 +54 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub # build-system , setuptools # dependencies , django , mysqlclient # tests , pytest-django , pytestCheckHook }: buildPythonPackage rec { pname = "django-mysql"; version = "4.9.0"; format = "pyproject"; src = fetchFromGitHub { owner = "adamchainz"; repo = "django-mysql"; rev = "refs/tags/${version}"; hash = "sha256-mXAdwNqSIrWMh+YcCjksiqmkLSXGAd+ofyzJmiG+gNo="; }; nativeBuildInputs = [ setuptools ]; buildInputs = [ django mysqlclient ]; doCheck = false; # requires mysql/mariadb server env.DJANGO_SETTINGS_MODULE = "tests.settings"; nativeCheckInputs = [ pytest-django pytestCheckHook ]; meta = with lib; { changelog = "https://django-mysql.readthedocs.io/en/latest/changelog.html"; description = "Extensions to Django for use with MySQL/MariaD"; homepage = "https://github.com/adamchainz/django-mysql"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; }; } pkgs/development/python-modules/drf-ujson2/default.nix 0 → 100644 +55 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub # dependencies , django , djangorestframework , ujson # tests , pytest-django , pytest-mock , pytestCheckHook }: buildPythonPackage rec { pname = "drf-ujson2"; version = "1.7.2"; format = "setuptools"; src = fetchFromGitHub { owner = "Amertz08"; repo = "drf_ujson2"; rev = "refs/tags/v${version}"; hash = "sha256-kbpZN1zOXHvRPcn+Sjbelq74cWgvCUeMXZy1eFSa6rA="; }; postPatch = '' sed -i '/--cov/d' setup.cfg ''; buildInputs = [ django ]; propagatedBuildInputs = [ djangorestframework ujson ]; env.DJANGO_SETTINGS_MODULE = "tests.settings"; nativeCheckInputs = [ pytest-django pytest-mock pytestCheckHook ]; meta = with lib; { changelog = "https://github.com/Amertz08/drf_ujson2/releases/tag/v${version}"; description = "JSON parser and renderer using ujson for Django Rest Framework"; homepage = "https://github.com/Amertz08/drf_ujson2"; maintainers = with maintainers; [ hexa ]; }; } pkgs/development/python-modules/paypal-checkout-serversdk/default.nix 0 → 100644 +52 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub # propagates , paypalhttp # tersts , pytestCheckHook , responses }: buildPythonPackage rec { pname = "paypal-checkout-serversdk"; version = "1.0.1"; format = "setuptools"; src = fetchFromGitHub { owner = "paypal"; repo = "Checkout-Python-SDK"; rev = "refs/tags/${version}"; hash = "sha256-04ojNJeqVMdhnGpeCD+wzgKGLI22tVvrMW3gF/SH7KU="; }; postPatch = '' # outdated python2 samples rm -rf sample ''; propagatedBuildInputs = [ paypalhttp ]; nativeCheckInputs = [ pytestCheckHook responses ]; disabledTests = [ # network tests "testOrdersPatchTest" "testOrdersCreateTest" "testOrderGetRequestTest" ]; meta = with lib; { changelog = "https://github.com/paypal/Checkout-Python-SDK/releases/tag/${version}"; description = "Python SDK for Checkout RESTful APIs"; license = licenses.asl20; maintainers = with maintainers; [ hexa ]; }; } Loading
pkgs/development/python-modules/defusedcsv/default.nix 0 → 100644 +35 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub # tests , pytestCheckHook }: buildPythonPackage rec { pname = "defusedcsv"; version = "2.0.0"; format = "setuptools"; src = fetchFromGitHub { owner = "raphaelm"; repo = "defusedcsv"; rev = "refs/tags/v${version}"; hash = "sha256-y8qLVfdkxRrDjtrTOLK5Zvi/1Vyv8eOnCueUkaRp4sQ="; }; pythonImportsCheck = [ "defusedcsv.csv" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "Python library to protect your users from Excel injections in CSV-format exports, drop-in replacement for standard library's csv module"; homepage = "https://github.com/raphaelm/defusedcsv"; license = licenses.asl20; maintainers = with maintainers; [ hexa ]; }; }
pkgs/development/python-modules/django-i18nfield/default.nix 0 → 100644 +43 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub # tests , djangorestframework , html5lib , lxml , pytest-django , pytestCheckHook , pyyaml }: buildPythonPackage { pname = "django-i18nfield"; version = "1.9.4"; format = "setuptools"; src = fetchFromGitHub { owner = "raphaelm"; repo = "django-i18nfield"; rev = "10488eb6c673be50e50387c76085a7c8d84e9157"; hash = "sha256-FF980LTw7RFuG9QgxA96yJsSczCNNMq9WsbacQqIReE="; }; env.DJANGO_SETTINGS_MODULE = "tests.settings"; nativeCheckInputs = [ djangorestframework html5lib lxml pytest-django pytestCheckHook pyyaml ]; meta = with lib; { description = "Store internationalized strings in Django models"; homepage = "https://github.com/raphaelm/django-i18nfield"; license = licenses.asl20; maintainers = with maintainers; [ hexa ]; }; }
pkgs/development/python-modules/django-mysql/default.nix 0 → 100644 +54 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub # build-system , setuptools # dependencies , django , mysqlclient # tests , pytest-django , pytestCheckHook }: buildPythonPackage rec { pname = "django-mysql"; version = "4.9.0"; format = "pyproject"; src = fetchFromGitHub { owner = "adamchainz"; repo = "django-mysql"; rev = "refs/tags/${version}"; hash = "sha256-mXAdwNqSIrWMh+YcCjksiqmkLSXGAd+ofyzJmiG+gNo="; }; nativeBuildInputs = [ setuptools ]; buildInputs = [ django mysqlclient ]; doCheck = false; # requires mysql/mariadb server env.DJANGO_SETTINGS_MODULE = "tests.settings"; nativeCheckInputs = [ pytest-django pytestCheckHook ]; meta = with lib; { changelog = "https://django-mysql.readthedocs.io/en/latest/changelog.html"; description = "Extensions to Django for use with MySQL/MariaD"; homepage = "https://github.com/adamchainz/django-mysql"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; }; }
pkgs/development/python-modules/drf-ujson2/default.nix 0 → 100644 +55 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub # dependencies , django , djangorestframework , ujson # tests , pytest-django , pytest-mock , pytestCheckHook }: buildPythonPackage rec { pname = "drf-ujson2"; version = "1.7.2"; format = "setuptools"; src = fetchFromGitHub { owner = "Amertz08"; repo = "drf_ujson2"; rev = "refs/tags/v${version}"; hash = "sha256-kbpZN1zOXHvRPcn+Sjbelq74cWgvCUeMXZy1eFSa6rA="; }; postPatch = '' sed -i '/--cov/d' setup.cfg ''; buildInputs = [ django ]; propagatedBuildInputs = [ djangorestframework ujson ]; env.DJANGO_SETTINGS_MODULE = "tests.settings"; nativeCheckInputs = [ pytest-django pytest-mock pytestCheckHook ]; meta = with lib; { changelog = "https://github.com/Amertz08/drf_ujson2/releases/tag/v${version}"; description = "JSON parser and renderer using ujson for Django Rest Framework"; homepage = "https://github.com/Amertz08/drf_ujson2"; maintainers = with maintainers; [ hexa ]; }; }
pkgs/development/python-modules/paypal-checkout-serversdk/default.nix 0 → 100644 +52 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub # propagates , paypalhttp # tersts , pytestCheckHook , responses }: buildPythonPackage rec { pname = "paypal-checkout-serversdk"; version = "1.0.1"; format = "setuptools"; src = fetchFromGitHub { owner = "paypal"; repo = "Checkout-Python-SDK"; rev = "refs/tags/${version}"; hash = "sha256-04ojNJeqVMdhnGpeCD+wzgKGLI22tVvrMW3gF/SH7KU="; }; postPatch = '' # outdated python2 samples rm -rf sample ''; propagatedBuildInputs = [ paypalhttp ]; nativeCheckInputs = [ pytestCheckHook responses ]; disabledTests = [ # network tests "testOrdersPatchTest" "testOrdersCreateTest" "testOrderGetRequestTest" ]; meta = with lib; { changelog = "https://github.com/paypal/Checkout-Python-SDK/releases/tag/${version}"; description = "Python SDK for Checkout RESTful APIs"; license = licenses.asl20; maintainers = with maintainers; [ hexa ]; }; }