{ lib, buildPythonPackage, fetchFromGitHub, django, pythonOlder, setuptools, typing-extensions, }: buildPythonPackage rec { pname = "dj-database-url"; version = "2.2.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "jazzband"; repo = "dj-database-url"; rev = "refs/tags/v${version}"; hash = "sha256-i2btutob+5R+FFPlGwRSNF01MTfxVop8xaePDHxnqLE="; }; build-system = [ setuptools ]; dependencies = [ django typing-extensions ]; # Tests access a DB via network doCheck = false; pythonImportsCheck = [ "dj_database_url" ]; meta = with lib; { description = "Use Database URLs in your Django Application"; homepage = "https://github.com/jazzband/dj-database-url"; changelog = "https://github.com/jazzband/dj-database-url/blob/v${version}/CHANGELOG.md"; license = licenses.bsd2; maintainers = with maintainers; [ ]; }; }