python3Packages.pygdbmi: migrate to pyproject
This commit is contained in:
committed by
Sigmanificient
parent
0603359060
commit
be0d72f58a
@@ -5,12 +5,13 @@
|
||||
fetchFromGitHub,
|
||||
gdb,
|
||||
pytest,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygdbmi";
|
||||
version = "0.11.0.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cs01";
|
||||
@@ -19,6 +20,8 @@ buildPythonPackage rec {
|
||||
hash = "sha256-JqEDN8Pg/JttyYQbwkxKkLYuxVnvV45VlClD23eaYyc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
gdb
|
||||
pytest
|
||||
@@ -27,7 +30,7 @@ buildPythonPackage rec {
|
||||
# tests require gcc for some reason
|
||||
doCheck = !stdenv.hostPlatform.isDarwin;
|
||||
|
||||
postPatch = ''
|
||||
preCheck = ''
|
||||
# tries to execute flake8,
|
||||
# which is likely to break on flake8 updates
|
||||
echo "def main(): return 0" > tests/static_tests.py
|
||||
|
||||
Reference in New Issue
Block a user