From ee3c52ff2e33723cab26b6ec98a6e1f4b142515f Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Mon, 6 May 2019 21:17:51 -0400 Subject: [PATCH] pythonPackages.leveldb: init at 0.194 --- .../python-modules/leveldb/default.nix | 19 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/python-modules/leveldb/default.nix diff --git a/pkgs/development/python-modules/leveldb/default.nix b/pkgs/development/python-modules/leveldb/default.nix new file mode 100644 index 000000000000..4d6336ce7573 --- /dev/null +++ b/pkgs/development/python-modules/leveldb/default.nix @@ -0,0 +1,19 @@ +{ lib, fetchPypi, buildPythonPackage }: + +buildPythonPackage rec { + pname = "leveldb"; + version = "0.194"; + + src = fetchPypi { + inherit pname version; + sha256 = "0f6d1y65k6miimic82n8zsx50z9k982mvzp90crwcv1knjrphcww"; + }; + + meta = with lib; { + homepage = "https://code.google.com/archive/p/py-leveldb/"; + description = "Thread-safe Python bindings for LevelDB"; + platforms = [ "x86_64-linux" "i686-linux" ]; + license = licenses.bsd3; + maintainers = [ maintainers.aanderse ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0ae7784c6409..40b6f4e07c42 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3064,6 +3064,8 @@ in { lektor = callPackage ../development/python-modules/lektor { }; + leveldb = callPackage ../development/python-modules/leveldb { }; + python-oauth2 = callPackage ../development/python-modules/python-oauth2 { }; python_openzwave = callPackage ../development/python-modules/python_openzwave {