Loading pkgs/development/python-modules/django-cors-headers/default.nix +15 −7 Original line number Diff line number Diff line { lib, fetchFromGitHub, asgiref, buildPythonPackage, setuptools, django, fetchFromGitHub, pytest-django, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "django-cors-headers"; version = "4.4.0"; version = "4.6.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "adamchainz"; repo = pname; rev = version; hash = "sha256-/uTQ09zIjRV1Ilb/mXyr4zn5tJI/mNFHpfql2ptuER4="; repo = "django-cors-headers"; tag = version; hash = "sha256-Dvsuj+U1YFC9jT5qkh2h1aL71JkRsAyXW4rxhLzEbOw="; }; build-system = [ setuptools ]; dependencies = [ django ]; dependencies = [ asgiref django ]; nativeCheckInputs = [ pytest-django Loading @@ -34,6 +41,7 @@ buildPythonPackage rec { meta = with lib; { description = "Django app for handling server Cross-Origin Resource Sharing (CORS) headers"; homepage = "https://github.com/OttoYiu/django-cors-headers"; changelog = "https://github.com/adamchainz/django-cors-headers/blob/${version}/CHANGELOG.rst"; license = licenses.mit; maintainers = [ ]; }; Loading pkgs/development/python-modules/netbox-qrcode/default.nix +11 −5 Original line number Diff line number Diff line { lib, buildPythonPackage, django, fetchFromGitHub, setuptools, wheel, netaddr, netbox, pillow, qrcode, netbox, setuptools, }: buildPythonPackage rec { pname = "netbox-qrcode"; version = "0.0.15"; Loading @@ -16,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "netbox-community"; repo = "netbox-qrcode"; rev = "v${version}"; tag = "v${version}"; hash = "sha256-gEBOjmX7dcLjiy0u6raAtAaqZUVYsPz3YhupjRRqVDE="; }; Loading @@ -27,7 +29,11 @@ buildPythonPackage rec { pillow ]; nativeCheckInputs = [ netbox ]; nativeCheckInputs = [ django netaddr netbox ]; preFixup = '' export PYTHONPATH=${netbox}/opt/netbox/netbox:$PYTHONPATH Loading Loading
pkgs/development/python-modules/django-cors-headers/default.nix +15 −7 Original line number Diff line number Diff line { lib, fetchFromGitHub, asgiref, buildPythonPackage, setuptools, django, fetchFromGitHub, pytest-django, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "django-cors-headers"; version = "4.4.0"; version = "4.6.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "adamchainz"; repo = pname; rev = version; hash = "sha256-/uTQ09zIjRV1Ilb/mXyr4zn5tJI/mNFHpfql2ptuER4="; repo = "django-cors-headers"; tag = version; hash = "sha256-Dvsuj+U1YFC9jT5qkh2h1aL71JkRsAyXW4rxhLzEbOw="; }; build-system = [ setuptools ]; dependencies = [ django ]; dependencies = [ asgiref django ]; nativeCheckInputs = [ pytest-django Loading @@ -34,6 +41,7 @@ buildPythonPackage rec { meta = with lib; { description = "Django app for handling server Cross-Origin Resource Sharing (CORS) headers"; homepage = "https://github.com/OttoYiu/django-cors-headers"; changelog = "https://github.com/adamchainz/django-cors-headers/blob/${version}/CHANGELOG.rst"; license = licenses.mit; maintainers = [ ]; }; Loading
pkgs/development/python-modules/netbox-qrcode/default.nix +11 −5 Original line number Diff line number Diff line { lib, buildPythonPackage, django, fetchFromGitHub, setuptools, wheel, netaddr, netbox, pillow, qrcode, netbox, setuptools, }: buildPythonPackage rec { pname = "netbox-qrcode"; version = "0.0.15"; Loading @@ -16,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "netbox-community"; repo = "netbox-qrcode"; rev = "v${version}"; tag = "v${version}"; hash = "sha256-gEBOjmX7dcLjiy0u6raAtAaqZUVYsPz3YhupjRRqVDE="; }; Loading @@ -27,7 +29,11 @@ buildPythonPackage rec { pillow ]; nativeCheckInputs = [ netbox ]; nativeCheckInputs = [ django netaddr netbox ]; preFixup = '' export PYTHONPATH=${netbox}/opt/netbox/netbox:$PYTHONPATH Loading