5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
29 lines
560 B
Nix
29 lines
560 B
Nix
{ 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;
|
|
};
|
|
}
|