Merge pull request #328700 from Sigmanificient/objexplore-merge

python3Packages.objexplore: refactor & adopt as co-maintainer
This commit is contained in:
Peder Bergebakken Sundt 2024-07-21 12:25:44 +02:00 committed by GitHub
commit 11f6a3df82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,13 +1,13 @@
{
blessed,
buildPythonPackage,
fetchFromGitHub,
lib,
pandas,
pytestCheckHook,
buildPythonPackage,
pythonOlder,
rich,
fetchFromGitHub,
setuptools,
blessed,
rich,
pytestCheckHook,
pandas
}:
buildPythonPackage rec {
@ -20,14 +20,11 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "kylepollina";
repo = "objexplore";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-FFQIiip7pk9fQhjGLxMSMakwoXbzaUjXcbQgDX52dnI=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail '==' '>='
'';
pythonRelaxDeps = [ "blessed" "rich" ];
build-system = [ setuptools ];
@ -53,10 +50,10 @@ buildPythonPackage rec {
"objexplore.utils"
];
meta = with lib; {
meta = {
description = "Terminal UI to interactively inspect and explore Python objects";
homepage = "https://github.com/kylepollina/objexplore";
license = licenses.mit;
maintainers = with maintainers; [ pbsds ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pbsds sigmanificient ];
};
}