mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
pythonPackages.sqlalchemy_migrate: patch backslash escapes
This commit is contained in:
parent
1c3f7302fa
commit
5b2a1db2e3
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, python
|
||||
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, python
|
||||
, unittest2, scripttest, pytz, pylint, mock
|
||||
, testtools, pbr, tempita, decorator, sqlalchemy
|
||||
, six, sqlparse, testrepository
|
||||
|
@ -12,6 +12,12 @@ buildPythonPackage rec {
|
|||
sha256 = "0ld2bihp9kmf57ykgzrfgxs4j9kxlw79sgdj9sfn47snw3izb2p6";
|
||||
};
|
||||
|
||||
# See: https://review.openstack.org/#/c/608382/
|
||||
patches = [ (fetchpatch {
|
||||
url = https://github.com/openstack/sqlalchemy-migrate/pull/18.patch;
|
||||
sha256 = "1qyfq2m7w7xqf0r9bc2x42qcra4r9k9l9g1jy5j0fvlb6bvvjj07";
|
||||
}) ];
|
||||
|
||||
checkInputs = [ unittest2 scripttest pytz mock testtools testrepository ];
|
||||
propagatedBuildInputs = [ pbr tempita decorator sqlalchemy six sqlparse ];
|
||||
|
||||
|
@ -32,10 +38,8 @@ buildPythonPackage rec {
|
|||
${python.interpreter} setup.py test
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://code.google.com/p/sqlalchemy-migrate/;
|
||||
homepage = https://github.com/openstack/sqlalchemy-migrate;
|
||||
description = "Schema migration tools for SQLAlchemy";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ makefu ];
|
||||
|
|
Loading…
Reference in a new issue