paperwork: fix installing translations (#370379)
[NixPkgs.git] / pkgs / development / python-modules / zodbpickle / default.nix
blob6b0b0a97b584a019a311e9e55ce370d73d828d71
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   setuptools,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "zodbpickle";
12   version = "4.1.1";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-38DJFe8Umd0GA5cPXBECxr1+t7asRkNLKabYQL8Cckg=";
20   };
22   postPatch = ''
23     substituteInPlace pyproject.toml \
24       --replace "setuptools<74" "setuptools"
25   '';
27   build-system = [ setuptools ];
29   pythonImportsCheck = [ "zodbpickle" ];
31   nativeCheckInputs = [ pytestCheckHook ];
33   # fails..
34   disabledTests = [
35     "test_dump"
36     "test_dumps"
37     "test_load"
38     "test_loads"
39   ];
41   meta = with lib; {
42     description = "Fork of Python's pickle module to work with ZODB";
43     homepage = "https://github.com/zopefoundation/zodbpickle";
44     changelog = "https://github.com/zopefoundation/zodbpickle/blob/${version}/CHANGES.rst";
45     license = licenses.asl20;
46     maintainers = [ ];
47   };