Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 31 lines 613 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, sqlalchemy 5, sqlalchemy-utils 6, psycopg2 7}: 8 9buildPythonPackage rec { 10 pname = "SQLAlchemy-i18n"; 11 version = "1.0.3"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "15xah8643p29kciz365ixs9pbsflj92pzr2d9anbdh2biyf4cka8"; 16 }; 17 18 propagatedBuildInputs = [ 19 sqlalchemy 20 sqlalchemy-utils 21 ]; 22 23 # tests require running a postgresql server 24 doCheck = false; 25 26 meta = with lib; { 27 homepage = "https://github.com/kvesteri/sqlalchemy-i18n"; 28 description = "Internationalization extension for SQLAlchemy models"; 29 license = licenses.bsd3; 30 }; 31}