1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

pythonPackages.sqlalchemy: 1.3.10 -> 1.3.13

This commit is contained in:
Frederik Rietdijk 2020-02-06 16:04:32 +01:00 committed by Frederik Rietdijk
parent 8cb273e094
commit ec63edf6fd

View file

@ -1,17 +1,16 @@
{ stdenv, lib, fetchPypi, buildPythonPackage, isPy3k, isPy35
, mock
, pysqlite
, fetchpatch
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "SQLAlchemy";
version = "1.3.10";
version = "1.3.13";
src = fetchPypi {
inherit pname version;
sha256 = "0f0768b5db594517e1f5e1572c73d14cf295140756431270d89496dc13d5e46c";
sha256 = "64a7b71846db6423807e96820993fa12a03b89127d278290ca25c0b11ed7b4fb";
};
checkInputs = [
@ -29,20 +28,6 @@ buildPythonPackage rec {
disabledTests = lib.optionals isPy35 [ "exception_persistent_flush_py3k "]
++ lib.optionals stdenv.isDarwin [ "MemUsageWBackendTest" "MemUsageTest" ];
patches = [
# Two patches for sqlite 3.30 compatibility.
# https://github.com/sqlalchemy/sqlalchemy/pull/4921
(fetchpatch {
url = https://github.com/sqlalchemy/sqlalchemy/commit/8b35ba54ab31aab13a34c360a31d014da1f5c809.patch;
sha256 = "065csr6pd7j1fjnv72wbz8s6xhydi5f161gj7nyqq86rxkh0nl0n";
})
(fetchpatch {
url = https://github.com/sqlalchemy/sqlalchemy/commit/e18534a9045786efdaf4963515222838c62e0300.patch;
sha256 = "0bwfwp5gmgg12qilvwdd2a5xi76bllzzapb23ybh1k34c5pla195";
})
];
meta = with lib; {
homepage = http://www.sqlalchemy.org/;
description = "A Python SQL toolkit and Object Relational Mapper";