1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/development/python-modules/orm/default.nix
2021-01-07 10:42:16 +01:00

44 lines
735 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, databases
, typesystem
, aiosqlite
, pytestCheckHook
, pytestcov
, 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
pytestcov
typing-extensions
];
pythonImportsCheck = [ "orm" ];
meta = with lib; {
description = "An async ORM";
homepage = "https://github.com/encode/orm";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}