2019-12-29 18:06:14 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, databases
|
|
|
|
, typesystem
|
|
|
|
, aiosqlite
|
2021-01-04 09:37:46 +00:00
|
|
|
, pytestCheckHook
|
2019-12-29 18:06:14 +00:00
|
|
|
, pytestcov
|
2021-01-04 09:37:46 +00:00
|
|
|
, typing-extensions
|
2019-12-29 18:06:14 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "orm";
|
|
|
|
version = "0.1.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "encode";
|
|
|
|
repo = "orm";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1g70cr0559iyqfzidwh6n2qq6d4dcnrr4sg0jkn1s4qzka828mj7";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
databases
|
|
|
|
typesystem
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
aiosqlite
|
2021-01-04 09:37:46 +00:00
|
|
|
pytestCheckHook
|
2019-12-29 18:06:14 +00:00
|
|
|
pytestcov
|
2021-01-04 09:37:46 +00:00
|
|
|
typing-extensions
|
2019-12-29 18:06:14 +00:00
|
|
|
];
|
|
|
|
|
2021-01-04 09:37:46 +00:00
|
|
|
pythonImportsCheck = [ "orm" ];
|
2019-12-29 18:06:14 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An async ORM";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/encode/orm";
|
2019-12-29 18:06:14 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|