pythonPackages.blessings: refactor move to python-modules

wip/yesman
Chris Ostrouchov 6 years ago
parent f0be1e20bc
commit 85e217500e
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
  1. 25
      pkgs/development/python-modules/blessings/default.nix
  2. 18
      pkgs/top-level/python-packages.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 ];
};
}

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

Loading…
Cancel
Save