pythonPackages.blessings: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-27 09:52:42 -04:00
parent f0be1e20bc
commit 85e217500e
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 26 additions and 17 deletions

View File

@ -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 ];
};
}

View File

@ -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 { };