Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 37 lines 852 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pythonOlder, 7 sqlalchemy, 8}: 9 10let 11 version = "0.7.0"; 12in 13buildPythonPackage { 14 pname = "sqlalchemy-json"; 15 inherit version; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchFromGitHub { 20 owner = "edelooff"; 21 repo = "sqlalchemy-json"; 22 rev = "refs/tags/v${version}"; 23 hash = "sha256-Is3DznojvpWYFSDutzCxRLceQMIiS3ZIg0c//MIOF+s="; 24 }; 25 26 propagatedBuildInputs = [ sqlalchemy ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 meta = with lib; { 31 description = "Full-featured JSON type with mutation tracking for SQLAlchemy"; 32 homepage = "https://github.com/edelooff/sqlalchemy-json"; 33 changelog = "https://github.com/edelooff/sqlalchemy-json/tree/v${version}#changelog"; 34 license = licenses.bsd2; 35 maintainers = with maintainers; [ augustebaum ]; 36 }; 37}