depot/third_party/nixpkgs/pkgs/development/python-modules/dj-database-url/default.nix

30 lines
560 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, django
}:
buildPythonPackage rec {
pname = "dj-database-url";
version = "1.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-zPPocY913dFHoeIS/KiO7NqnIXWe5I44tIVIHHe8o9w=";
};
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;
};
}