3
0
Fork 0
forked from mirrors/nixpkgs

rich-cli: 1.7.0 -> 1.8.0

This commit is contained in:
Joel 2022-05-08 13:19:30 +10:00
parent 6fa9cc41ef
commit 194f81efa1
No known key found for this signature in database
GPG key ID: 18550BD205E9EF64

View file

@ -1,15 +1,18 @@
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "rich-cli";
version = "1.7.0";
version = "1.8.0";
format = "pyproject";
src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "sha256-fporylec9H+9G2v8D0O32ek7OQs3YRSma1xOpakClqk=";
src = fetchFromGitHub {
owner = "Textualize";
repo = pname;
rev = "v${version}";
sha256 = "sha256-mV5b/J9wX9niiYtlmAUouaAm9mY2zTtDmex7FNWcezQ=";
};
nativeBuildInputs = with python3.pkgs; [
@ -26,7 +29,7 @@ python3.pkgs.buildPythonApplication rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'rich = "^12.3.0"' 'rich = "*"'
--replace 'rich = "^12.4.0"' 'rich = "*"'
'';
pythonImportsCheck = [