git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.sqlalchemy_migrate: patch backslash escapes
commit5b2a1db2e334542bb590d19950a5b136c6a0d40a authorBen Wolsieffer <benwolsieffer@gmail.com> dateSun 2 Sep 2018, 21:56 (8 years ago) parent1c3f730
1 file changed+8−4
pkgs/development/python-modules/sqlalchemy-migrate/default.nix+8−4
pkgs/development/python-modules/sqlalchemy-migrate/default.nix+8−4
@@ -1,4 +1,4 @@
1−{ stdenv, buildPythonPackage, fetchPypi, python
1+{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, python
22, unittest2, scripttest, pytz, pylint, mock
33, testtools, pbr, tempita, decorator, sqlalchemy
44, six, sqlparse, testrepository
@@ -12,6 +12,12 @@ buildPythonPackage rec {
1212 sha256 = "0ld2bihp9kmf57ykgzrfgxs4j9kxlw79sgdj9sfn47snw3izb2p6";
1313 };
1414
15+ # See: https://review.openstack.org/#/c/608382/
16+ patches = [ (fetchpatch {
17+ url = https://github.com/openstack/sqlalchemy-migrate/pull/18.patch;
18+ sha256 = "1qyfq2m7w7xqf0r9bc2x42qcra4r9k9l9g1jy5j0fvlb6bvvjj07";
19+ }) ];
20+
1521 checkInputs = [ unittest2 scripttest pytz mock testtools testrepository ];
1622 propagatedBuildInputs = [ pbr tempita decorator sqlalchemy six sqlparse ];
1723
@@ -32,10 +38,8 @@ buildPythonPackage rec {
3238 ${python.interpreter} setup.py test
3339 '';
3440
35− doCheck = true;
36−
3741 meta = with stdenv.lib; {
38− homepage = http://code.google.com/p/sqlalchemy-migrate/;
42+ homepage = https://github.com/openstack/sqlalchemy-migrate;
3943 description = "Schema migration tools for SQLAlchemy";
4044 license = licenses.asl20;
4145 maintainers = with maintainers; [ makefu ];