Unverified Commit fbd8794f authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.django-sslserver: init at 0.15 (#504012)

parents b89bf0af dd7d4256
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  django,
  lib,
  setuptools-scm,
  fetchFromGitHub,
}:
buildPythonPackage (finalAttrs: {
  pname = "django-sslserver";
  version = "0.15";

  pyproject = true;

  src = fetchFromGitHub {
    owner = "teddziuba";
    repo = "django-sslserver";
    tag = "v${finalAttrs.version}";
    hash = "sha256-RIhqvwJQ7fYZT1SAkbcBNl2jX7j7UZND8e5Vra+ibHA=";
  };

  build-system = [ setuptools-scm ];

  dependencies = [
    django
  ];

  # No tests on upstream
  doCheck = false;

  pythonImportsCheck = [ "sslserver" ];

  meta = {
    description = "SSL-enabled development server for Django";
    homepage = "https://github.com/teddziuba/django-sslserver";
    changelog = "https://github.com/teddziuba/django-sslserver/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ kurogeek ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -4378,6 +4378,8 @@ self: super: with self; {
  django-sql-utils = callPackage ../development/python-modules/django-sql-utils { };
  django-sslserver = callPackage ../development/python-modules/django-sslserver { };
  django-statici18n = callPackage ../development/python-modules/django-statici18n { };
  django-storages = callPackage ../development/python-modules/django-storages { };