From 7d7727e4367aad3777dbc9bedd6ad7c84abc5f4c Mon Sep 17 00:00:00 2001 From: obadz Date: Tue, 5 Mar 2019 04:14:45 +0000 Subject: [PATCH] pythonPackages.lzstring: init at 1.0.4 --- .../python-modules/lzstring/default.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 1 + 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/lzstring/default.nix diff --git a/pkgs/development/python-modules/lzstring/default.nix b/pkgs/development/python-modules/lzstring/default.nix new file mode 100644 index 000000000000..cfd30082c1c8 --- /dev/null +++ b/pkgs/development/python-modules/lzstring/default.nix @@ -0,0 +1,24 @@ +{ lib +, buildPythonPackage +, fetchPypi +, future +}: + +buildPythonPackage rec { + pname = "lzstring"; + version = "1.0.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "18ly9pppy2yspxzw7k1b23wk77k7m44rz2g0271bqgqrk3jn3yhs"; + }; + + propagatedBuildInputs = [ future ]; + + meta = { + description = "lz-string for python"; + homepage = https://github.com/gkovacs/lz-string-python; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ obadz ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7d213e148633..374d00726b76 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5394,6 +5394,7 @@ in { casttube = callPackage ../development/python-modules/casttube { }; + lzstring = callPackage ../development/python-modules/lzstring { }; }); in fix' (extends overrides packages)