20 buildPythonPackage rec {
22 version = "0.1.1617247075";
25 src = fetchFromGitHub {
28 # no tags on github, version patch number is unix time.
29 rev = "eaaeec4158ffa139fba1ec30d7887f4d836f4120";
30 hash = "sha256-lipgnkqrzjzqwbhtVcWDQypBNzq6Dct/qoM8y/FNiNs=";
33 nativeBuildInputs = [ poetry-core ];
35 propagatedBuildInputs = [
43 setuptools # needed for 'pkg_resources'
59 export PGUSER="nixbld";
62 # These all fail with "List argument must consist only of tuples or dictionaries":
63 # Related issue: https://github.com/djrobstep/sqlbag/issues/14
66 "test_errors_and_messages"
67 "test_flask_integration"
69 "test_pendulum_for_time_types"
70 "test_transaction_separation"
79 pythonImportsCheck = [ "sqlbag" ];
82 description = "Handy python code for doing database things";
83 homepage = "https://github.com/djrobstep/sqlbag";
84 license = with licenses; [ unlicense ];
85 maintainers = with maintainers; [ soispha ];
86 broken = true; # Fails to build against the current flask version