Loading 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/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -2669,6 +2669,8 @@ self: super: with self; { django-paintstore = callPackage ../development/python-modules/django-paintstore { }; django-pattern-library = callPackage ../development/python-modules/django-pattern-library { }; django-pglocks = callPackage ../development/python-modules/django-pglocks { }; django-phonenumber-field = callPackage ../development/python-modules/django-phonenumber-field { }; Loading Loading
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/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -2669,6 +2669,8 @@ self: super: with self; { django-paintstore = callPackage ../development/python-modules/django-paintstore { }; django-pattern-library = callPackage ../development/python-modules/django-pattern-library { }; django-pglocks = callPackage ../development/python-modules/django-pglocks { }; django-phonenumber-field = callPackage ../development/python-modules/django-phonenumber-field { }; Loading