Loading pkgs/development/python-modules/azure-mgmt-frontdoor/default.nix 0 → 100644 +38 −0 Original line number Diff line number Diff line { azure-common , azure-mgmt-core , buildPythonPackage , fetchPypi , lib , msrest , msrestazure }: buildPythonPackage rec { pname = "azure-mgmt-frontdoor"; version = "1.0.1"; src = fetchPypi { inherit pname version; extension = "zip"; sha256 = "sha256-nJXQ/BpyOwmybNUqE4cBxq5xxZE56lqgHSTKZTIHIuU="; }; propagatedBuildInputs = [ msrest msrestazure azure-common azure-mgmt-core ]; # has no tests doCheck = false; pythonImportsCheck = [ "azure.mgmt.frontdoor" ]; meta = with lib; { description = "Microsoft Azure Front Door Service Client Library for Python"; homepage = "https://github.com/Azure/azure-sdk-for-python"; license = licenses.mit; maintainers = with maintainers; [ sephi ]; }; } pkgs/development/python-modules/django-pattern-library/default.nix 0 → 100644 +55 −0 Original line number Diff line number Diff line { beautifulsoup4 , buildPythonPackage , django , fetchFromGitHub , lib , markdown , poetry-core , python , pyyaml }: buildPythonPackage rec { pname = "django-pattern-library"; version = "1.0.0"; format = "pyproject"; src = fetchFromGitHub { repo = pname; owner = "torchbox"; rev = "v${version}"; sha256 = "sha256-V299HpbfNLa9cpVhBfzD41oe95xqh+ktQVMMVvm5Xao="; }; propagatedBuildInputs = [ django pyyaml markdown ]; postPatch = '' substituteInPlace pyproject.toml \ --replace poetry.masonry.api poetry.core.masonry.api ''; nativeBuildInputs = [ poetry-core ]; checkInputs = [ beautifulsoup4 ]; checkPhase = '' export DJANGO_SETTINGS_MODULE=tests.settings.dev ${python.interpreter} -m django test ''; pythonImportsCheck = [ "pattern_library" ]; meta = with lib; { description = "UI pattern libraries for Django templates"; homepage = "https://github.com/torchbox/django-pattern-library/"; changelog = "https://github.com/torchbox/django-pattern-library/blob/v${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ sephi ]; }; } pkgs/development/python-modules/draftjs-exporter/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { beautifulsoup4 , buildPythonPackage , fetchFromGitHub , html5lib , lib , lxml , python }: buildPythonPackage rec { pname = "draftjs-exporter"; version = "2.1.7"; src = fetchFromGitHub { repo = "draftjs_exporter"; owner = "springload"; rev = "v${version}"; sha256 = "sha256-tw0r9RnQdIwcY+pqnW8fcV0o2LzmxW0MZPn5drNgK80="; }; passthru.optional-dependencies = { lxml = [ lxml ]; html5lib = [ beautifulsoup4 html5lib ]; }; checkInputs = passthru.optional-dependencies.lxml ++ passthru.optional-dependencies.html5lib; checkPhase = '' # 2 tests in this file randomly fail because they depend on the order of # HTML attributes rm tests/test_exports.py ${python.interpreter} -m unittest discover ''; pythonImportsCheck = [ "draftjs_exporter" ]; meta = with lib; { description = "Library to convert Draft.js ContentState to HTML"; homepage = "https://github.com/springload/draftjs_exporter"; changelog = "https://github.com/springload/draftjs_exporter/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ sephi ]; }; } pkgs/development/python-modules/l18n/default.nix 0 → 100644 +30 −0 Original line number Diff line number Diff line { buildPythonPackage , django , fetchFromGitHub , fetchPypi , lib , pytz , six }: buildPythonPackage rec { pname = "l18n"; version = "2021.3"; src = fetchPypi { inherit pname version; sha256 = "sha256-GVbokNZz0XE1zCCRMlPBVPa8HAAmbCK31QPMGlpC2Eg="; }; propagatedBuildInputs = [ pytz six ]; pythonImportsCheck = [ "l18n" ]; meta = with lib; { description = "Locale internationalization package"; homepage = "https://github.com/tkhyn/l18n"; changelog = "https://github.com/tkhyn/l18n/blob/${version}/CHANGES.rst"; license = licenses.mit; maintainers = with maintainers; [ sephi ]; }; } pkgs/development/python-modules/permissionedforms/default.nix 0 → 100644 +39 −0 Original line number Diff line number Diff line { buildPythonPackage , django , django-modelcluster , fetchFromGitHub , lib , python }: buildPythonPackage rec { pname = "permissionedforms"; version = "0.1"; src = fetchFromGitHub { repo = "django-permissionedforms"; owner = "wagtail"; rev = "v${version}"; sha256 = "sha256-DQzPGmh5UEVpGWnW3IrEVPkZZ8mdiW9J851Ej4agTDc="; }; propagatedBuildInputs = [ django ]; checkInputs = [ django-modelcluster ]; checkPhase = '' ${python.interpreter} runtests.py ''; pythonImportsCheck = [ "permissionedforms" ]; meta = with lib; { description = "A Django extension for creating forms that vary according to user permissions"; homepage = "https://github.com/wagtail/permissionedforms"; changelog = "https://github.com/wagtail/permissionedforms/blob/v${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ sephi ]; }; } Loading
pkgs/development/python-modules/azure-mgmt-frontdoor/default.nix 0 → 100644 +38 −0 Original line number Diff line number Diff line { azure-common , azure-mgmt-core , buildPythonPackage , fetchPypi , lib , msrest , msrestazure }: buildPythonPackage rec { pname = "azure-mgmt-frontdoor"; version = "1.0.1"; src = fetchPypi { inherit pname version; extension = "zip"; sha256 = "sha256-nJXQ/BpyOwmybNUqE4cBxq5xxZE56lqgHSTKZTIHIuU="; }; propagatedBuildInputs = [ msrest msrestazure azure-common azure-mgmt-core ]; # has no tests doCheck = false; pythonImportsCheck = [ "azure.mgmt.frontdoor" ]; meta = with lib; { description = "Microsoft Azure Front Door Service Client Library for Python"; homepage = "https://github.com/Azure/azure-sdk-for-python"; license = licenses.mit; maintainers = with maintainers; [ sephi ]; }; }
pkgs/development/python-modules/django-pattern-library/default.nix 0 → 100644 +55 −0 Original line number Diff line number Diff line { beautifulsoup4 , buildPythonPackage , django , fetchFromGitHub , lib , markdown , poetry-core , python , pyyaml }: buildPythonPackage rec { pname = "django-pattern-library"; version = "1.0.0"; format = "pyproject"; src = fetchFromGitHub { repo = pname; owner = "torchbox"; rev = "v${version}"; sha256 = "sha256-V299HpbfNLa9cpVhBfzD41oe95xqh+ktQVMMVvm5Xao="; }; propagatedBuildInputs = [ django pyyaml markdown ]; postPatch = '' substituteInPlace pyproject.toml \ --replace poetry.masonry.api poetry.core.masonry.api ''; nativeBuildInputs = [ poetry-core ]; checkInputs = [ beautifulsoup4 ]; checkPhase = '' export DJANGO_SETTINGS_MODULE=tests.settings.dev ${python.interpreter} -m django test ''; pythonImportsCheck = [ "pattern_library" ]; meta = with lib; { description = "UI pattern libraries for Django templates"; homepage = "https://github.com/torchbox/django-pattern-library/"; changelog = "https://github.com/torchbox/django-pattern-library/blob/v${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ sephi ]; }; }
pkgs/development/python-modules/draftjs-exporter/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { beautifulsoup4 , buildPythonPackage , fetchFromGitHub , html5lib , lib , lxml , python }: buildPythonPackage rec { pname = "draftjs-exporter"; version = "2.1.7"; src = fetchFromGitHub { repo = "draftjs_exporter"; owner = "springload"; rev = "v${version}"; sha256 = "sha256-tw0r9RnQdIwcY+pqnW8fcV0o2LzmxW0MZPn5drNgK80="; }; passthru.optional-dependencies = { lxml = [ lxml ]; html5lib = [ beautifulsoup4 html5lib ]; }; checkInputs = passthru.optional-dependencies.lxml ++ passthru.optional-dependencies.html5lib; checkPhase = '' # 2 tests in this file randomly fail because they depend on the order of # HTML attributes rm tests/test_exports.py ${python.interpreter} -m unittest discover ''; pythonImportsCheck = [ "draftjs_exporter" ]; meta = with lib; { description = "Library to convert Draft.js ContentState to HTML"; homepage = "https://github.com/springload/draftjs_exporter"; changelog = "https://github.com/springload/draftjs_exporter/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ sephi ]; }; }
pkgs/development/python-modules/l18n/default.nix 0 → 100644 +30 −0 Original line number Diff line number Diff line { buildPythonPackage , django , fetchFromGitHub , fetchPypi , lib , pytz , six }: buildPythonPackage rec { pname = "l18n"; version = "2021.3"; src = fetchPypi { inherit pname version; sha256 = "sha256-GVbokNZz0XE1zCCRMlPBVPa8HAAmbCK31QPMGlpC2Eg="; }; propagatedBuildInputs = [ pytz six ]; pythonImportsCheck = [ "l18n" ]; meta = with lib; { description = "Locale internationalization package"; homepage = "https://github.com/tkhyn/l18n"; changelog = "https://github.com/tkhyn/l18n/blob/${version}/CHANGES.rst"; license = licenses.mit; maintainers = with maintainers; [ sephi ]; }; }
pkgs/development/python-modules/permissionedforms/default.nix 0 → 100644 +39 −0 Original line number Diff line number Diff line { buildPythonPackage , django , django-modelcluster , fetchFromGitHub , lib , python }: buildPythonPackage rec { pname = "permissionedforms"; version = "0.1"; src = fetchFromGitHub { repo = "django-permissionedforms"; owner = "wagtail"; rev = "v${version}"; sha256 = "sha256-DQzPGmh5UEVpGWnW3IrEVPkZZ8mdiW9J851Ej4agTDc="; }; propagatedBuildInputs = [ django ]; checkInputs = [ django-modelcluster ]; checkPhase = '' ${python.interpreter} runtests.py ''; pythonImportsCheck = [ "permissionedforms" ]; meta = with lib; { description = "A Django extension for creating forms that vary according to user permissions"; homepage = "https://github.com/wagtail/permissionedforms"; changelog = "https://github.com/wagtail/permissionedforms/blob/v${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ sephi ]; }; }