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