depot/third_party/nixpkgs/pkgs/development/python-modules/orm/default.nix
Default email 21cecf6002 Project import generated by Copybara.
GitOrigin-RevId: dd14e5d78e90a2ccd6007e569820de9b4861a6c2
2021-07-24 08:14:16 -04:00

43 lines
737 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, databases
, typesystem
, aiosqlite
, pytestCheckHook
, pytest-cov
, typing-extensions
}:
buildPythonPackage rec {
pname = "orm";
version = "0.1.5";
src = fetchFromGitHub {
owner = "encode";
repo = "orm";
rev = version;
sha256 = "1g70cr0559iyqfzidwh6n2qq6d4dcnrr4sg0jkn1s4qzka828mj7";
};
propagatedBuildInputs = [
databases
typesystem
];
checkInputs = [
aiosqlite
pytestCheckHook
pytest-cov
typing-extensions
];
pythonImportsCheck = [ "orm" ];
meta = with lib; {
description = "An async ORM";
homepage = "https://github.com/encode/orm";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}