depot/third_party/nixpkgs/pkgs/development/python-modules/tinydb/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

39 lines
906 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
, pytestcov
, pytestrunner
, pycodestyle
, pyyaml
}:
buildPythonPackage rec {
pname = "tinydb";
version = "v3.14.1";
src = fetchFromGitHub {
owner = "msiemens";
repo = pname;
rev = version;
sha256 = "02idbvrm8j4mwsjfkzy11f4png19k307p53s4qa2ifzssysxpb96";
};
nativeBuildInputs = [
pytestrunner
];
checkInputs = [
pytest
pytestcov
pycodestyle
pyyaml
];
meta = with lib; {
description = "A lightweight document oriented database written in pure Python with no external dependencies";
homepage = "https://github.com/msiemens/tinydb";
license = licenses.asl20;
maintainers = with maintainers; [ marcus7070 ];
};
}