depot/third_party/nixpkgs/pkgs/development/python-modules/dj-database-url/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

29 lines
560 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, django
}:
buildPythonPackage rec {
pname = "dj-database-url";
version = "1.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-sjsVBGyzgYDgyVIHvMkP5enb3o7vFgZZB92Fz0ynA2w=";
};
propagatedBuildInputs = [
django
];
# Tests access a DB via network
doCheck = false;
meta = with lib; {
description = "Use Database URLs in your Django Application";
homepage = "https://github.com/kennethreitz/dj-database-url";
license = licenses.bsd2;
};
}