Merge pull request #228643 from r-ryantm/auto-update/python310Packages.dj-database-url
python310Packages.dj-database-url: 1.3.0 -> 2.0.0
This commit is contained in:
commit
dfaebb1819
1 changed files with 12 additions and 3 deletions
|
@ -2,16 +2,19 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, django
|
, django
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dj-database-url";
|
pname = "dj-database-url";
|
||||||
version = "1.3.0";
|
version = "2.0.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-h75ffEyD2bPYzpS4NPls6hSzmG82KarAl6/dkxjXsJg=";
|
hash = "sha256-o1qfD0N3XKb5DYGdxFYjPve8x2tHN31dkIt1x+syBiQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -21,9 +24,15 @@ buildPythonPackage rec {
|
||||||
# Tests access a DB via network
|
# Tests access a DB via network
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"dj_database_url"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Use Database URLs in your Django Application";
|
description = "Use Database URLs in your Django Application";
|
||||||
homepage = "https://github.com/kennethreitz/dj-database-url";
|
homepage = "https://github.com/jazzband/dj-database-url";
|
||||||
|
changelog = "https://github.com/jazzband/dj-database-url/blob/v${version}/CHANGELOG.md";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue