mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 10:24:07 +00:00
python3Packages.colored: 1.4.4 -> 2.2.3
This commit is contained in:
parent
98d6f42568
commit
ae63bf7044
@ -1,24 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, fetchFromGitLab
|
||||
, flit-core
|
||||
, unittestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colored";
|
||||
version = "1.4.4";
|
||||
format = "setuptools";
|
||||
version = "2.2.3";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-BP9NTdUUJ0/juZohu1L7lvJojAHpP7p77zciHny1bOA=";
|
||||
src = fetchFromGitLab {
|
||||
owner = "dslackw";
|
||||
repo = "colored";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-4APFAIN+cmPPd6qbqVC9iU4YntNEjoPbJXZywG1hsBY=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ nose ];
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
nativeCheckInputs = [
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
unittestFlagsArray = [
|
||||
"unittests"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"colored"
|
||||
|
Loading…
Reference in New Issue
Block a user