kaitaistruct: refactor
and replace unsupported dontCheck with doCheck attribute
This commit is contained in:
parent
b4fbf5f827
commit
a3deb72d8c
@ -5,6 +5,7 @@
|
||||
fetchFromGitHub,
|
||||
brotli,
|
||||
lz4,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -18,7 +19,7 @@ in
|
||||
buildPythonPackage rec {
|
||||
pname = "kaitaistruct";
|
||||
version = "0.10";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -30,13 +31,14 @@ buildPythonPackage rec {
|
||||
sed '32ipackages = kaitai/compress' -i setup.cfg
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
brotli
|
||||
lz4
|
||||
];
|
||||
|
||||
# no tests
|
||||
dontCheck = true;
|
||||
doCheck = false; # no tests in upstream
|
||||
|
||||
pythonImportsCheck = [
|
||||
"kaitaistruct"
|
||||
|
Loading…
Reference in New Issue
Block a user