python3Packages.peewee: 3.11.2 -> 3.13.3
tests don't pass without psycopg2 support: Exception: Your version of psycopg2 does not support JSON.
This commit is contained in:
parent
011dd50123
commit
ee52567e4c
@ -10,14 +10,14 @@
|
||||
buildPythonPackage rec {
|
||||
|
||||
pname = "peewee";
|
||||
version = "3.11.2";
|
||||
version = "3.13.3";
|
||||
|
||||
# pypi release does not provide tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "coleifer";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "097cafqgk46bf0innwm7xnmsfs6z37hv3alyvrfz6d0iy4scshm5";
|
||||
sha256 = "1r67hxb9m6v0xbnbqfnsw6dahmdr94pf81b4x51jfw6x9sa4izi4";
|
||||
};
|
||||
|
||||
|
||||
@ -38,6 +38,8 @@ buildPythonPackage rec {
|
||||
] ++ (lib.optional withPostgres psycopg2)
|
||||
++ (lib.optional withMysql mysql-connector);
|
||||
|
||||
doCheck = withPostgres;
|
||||
|
||||
meta = with stdenv.lib;{
|
||||
description = "a small, expressive orm";
|
||||
homepage = "http://peewee-orm.com";
|
||||
|
Loading…
Reference in New Issue
Block a user