diff --git a/pkgs/development/python-modules/blessings/default.nix b/pkgs/development/python-modules/blessings/default.nix new file mode 100644 index 000000000000..d17851696544 --- /dev/null +++ b/pkgs/development/python-modules/blessings/default.nix @@ -0,0 +1,25 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "blessings"; + version = "1.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "01rhgn2c3xjf9h1lxij9m05iwf2ba6d0vd7nic26c2gic4q73igd"; + }; + + # 4 failing tests, 2to3 + doCheck = false; + + meta = with stdenv.lib; { + homepage = https://github.com/erikrose/blessings; + description = "A thin, practical wrapper around terminal coloring, styling, and positioning"; + license = licenses.mit; + maintainers = with maintainers; [ domenkozar ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f203fb1ffe58..d12855a23047 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3815,23 +3815,7 @@ in { nose_progressive = callPackage ../development/python-modules/nose_progressive { }; - blessings = buildPythonPackage rec { - name = "blessings-1.6"; - - src = pkgs.fetchurl { - url = "mirror://pypi/b/blessings/${name}.tar.gz"; - sha256 = "01rhgn2c3xjf9h1lxij9m05iwf2ba6d0vd7nic26c2gic4q73igd"; - }; - - # 4 failing tests, 2to3 - doCheck = false; - - propagatedBuildInputs = with self; [ ]; - - meta = { - maintainers = with maintainers; [ domenkozar ]; - }; - }; + blessings = callPackage ../development/python-modules/blessings { }; secretstorage = callPackage ../development/python-modules/secretstorage { };