pythonPackages.blessings: refactor move to python-modules
This commit is contained in:
parent
f0be1e20bc
commit
85e217500e
2 changed files with 26 additions and 17 deletions
25
pkgs/development/python-modules/blessings/default.nix
Normal file
25
pkgs/development/python-modules/blessings/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -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…
Reference in a new issue