Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / dj-database-url / default.nix
blob6ac924227f1ad416b5dd915fa8310b35d155f846
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , django
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "dj-database-url";
10   version = "2.1.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-8gQs7+EIblOcnaOfrVrX9hFzv3lmXmm/fk3lX6iLE18=";
18   };
20   propagatedBuildInputs = [
21     django
22   ];
24   # Tests access a DB via network
25   doCheck = false;
27   pythonImportsCheck = [
28     "dj_database_url"
29   ];
31   meta = with lib; {
32     description = "Use Database URLs in your Django Application";
33     homepage = "https://github.com/jazzband/dj-database-url";
34     changelog = "https://github.com/jazzband/dj-database-url/blob/v${version}/CHANGELOG.md";
35     license = licenses.bsd2;
36     maintainers = with maintainers; [ ];
37   };