python3Packages.datauri: 1.1.0 -> 2.0.0
This commit is contained in:
parent
e75adaa1cd
commit
a079000ab9
1 changed files with 13 additions and 6 deletions
|
@ -1,31 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, pydantic
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "datauri";
|
||||
version = "1.1.0";
|
||||
version = "2.0.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fcurella";
|
||||
repo = "python-datauri";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Eevd/xxKgxvvsAfI/L/KShH+PfxffBGyVwKewLgyEu0=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-k4tlWRasGa2oQykCD9QJl65UAoZQMJVdyCfqlUBBgqY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"datauri"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pydantic
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# UnicodeDecodeError: 'utf-8' codec can't decode
|
||||
"tests/test_file_ebcdic.txt"
|
||||
disabledTests = [
|
||||
"test_pydantic" # incompatible with pydantic v2
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue