12 kaitai_compress = fetchFromGitHub {
14 repo = "kaitai_compress";
15 rev = "12f4cffb45d95b17033ee4f6679987656c6719cc";
16 hash = "sha256-l3rGbblUgxO6Y7grlsMEiT3nRIgUZV1VqTyjIgIDtyA=";
19 buildPythonPackage rec {
20 pname = "kaitaistruct";
25 inherit pname version;
26 hash = "sha256-oETe4pFz1q+6zye8rDna+JtlTdQYz6AJq4LZF4qa5So=";
30 ln -s ${kaitai_compress}/python/kaitai kaitai
31 sed '32ipackages = kaitai/compress' -i setup.cfg
34 build-system = [ setuptools ];
36 propagatedBuildInputs = [
41 doCheck = false; # no tests in upstream
43 pythonImportsCheck = [
49 description = "Kaitai Struct: runtime library for Python";
50 homepage = "https://github.com/kaitai-io/kaitai_struct_python_runtime";
51 license = licenses.mit;