Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
861 B · 51 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, aiomysql, aiosqlite, asyncpg, buildPythonPackage, databases, fetchFromGitHub, pythonOlder, typesystem,}:
buildPythonPackage rec { pname = "orm"; version = "0.3.1"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "encode"; repo = "orm"; rev = version; hash = "sha256-nlKEWdqttFnjBnXutlxTy9oILqFzKHKKPJpTtCUbJ5k="; };
propagatedBuildInputs = [ aiomysql aiosqlite asyncpg databases typesystem ];
postPatch = '' substituteInPlace setup.py \ --replace "typesystem==0.3.1" "typesystem" '';
# Tests require databases doCheck = false;
pythonImportsCheck = [ "orm" ];
meta = with lib; { description = "Async ORM"; homepage = "https://github.com/encode/orm"; license = licenses.bsd3; maintainers = [ ]; };}