python312Packages.pyexcel-ods: remove nose dependency
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
pyexcel-io,
|
||||
odfpy,
|
||||
nose,
|
||||
pyexcel,
|
||||
pyexcel-xls,
|
||||
psutil,
|
||||
pytestCheckHook,
|
||||
pytest-cov,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -15,25 +17,35 @@ buildPythonPackage rec {
|
||||
version = "0.6.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f61b56515fd4ccd4687f0a112422f74ce8535247ad2da49db90038d7e3ed397c";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pyexcel";
|
||||
repo = "pyexcel-ods";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-wptjCSi56hotmiIE0TrLY7jsCHKwDR+a7d89sAQWBHg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/pyexcel/pyexcel-ods/pull/45
|
||||
(fetchpatch2 {
|
||||
name = "nose-to-pytest.patch";
|
||||
url = "https://github.com/pyexcel/pyexcel-ods/compare/661d4f0b484ed281128c72e1a2701e2d33fc1879...838b410e800a86c147644568aaa8b2c005d13491.patch";
|
||||
hash = "sha256-1a52VM8yGDEjSFXTq3Di74xwv10d/QskpctOnz9zW1w=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyexcel-io
|
||||
odfpy
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
nose
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
pyexcel
|
||||
pyexcel-xls
|
||||
psutil
|
||||
];
|
||||
|
||||
checkPhase = "nosetests";
|
||||
|
||||
meta = {
|
||||
description = "Plug-in to pyexcel providing the capbility to read, manipulate and write data in ods formats using odfpy";
|
||||
homepage = "http://docs.pyexcel.org/";
|
||||
|
||||
Reference in New Issue
Block a user