python3Packages.orm: init at 0.1.5
This commit is contained in:
parent
5a673d3c05
commit
72638f4009
43
pkgs/development/python-modules/orm/default.nix
Normal file
43
pkgs/development/python-modules/orm/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, databases
|
||||
, typesystem
|
||||
, aiosqlite
|
||||
, pytest
|
||||
, pytestcov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "orm";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "encode";
|
||||
repo = "orm";
|
||||
rev = version;
|
||||
sha256 = "1g70cr0559iyqfzidwh6n2qq6d4dcnrr4sg0jkn1s4qzka828mj7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
databases
|
||||
typesystem
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aiosqlite
|
||||
pytest
|
||||
pytestcov
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
PYTHONPATH=$PYTHONPATH:. pytest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An async ORM";
|
||||
homepage = https://github.com/encode/orm;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
|
@ -6081,6 +6081,8 @@ in {
|
|||
|
||||
ofxtools = callPackage ../development/python-modules/ofxtools { };
|
||||
|
||||
orm = callPackage ../development/python-modules/orm { };
|
||||
|
||||
basemap = callPackage ../development/python-modules/basemap { };
|
||||
|
||||
dict2xml = callPackage ../development/python-modules/dict2xml { };
|
||||
|
|
Loading…
Reference in a new issue