mirror of
https://github.com/m-labs/artiq.git
synced 2025-01-07 17:43:34 +08:00
flake: update qasync, sync with nixpkgs
This commit is contained in:
parent
098e2399b8
commit
5dcdeb6e0d
14
flake.nix
14
flake.nix
@ -60,15 +60,21 @@
|
||||
|
||||
qasync = pkgs.python3Packages.buildPythonPackage rec {
|
||||
pname = "qasync";
|
||||
version = "0.25.0";
|
||||
version = "0.27.1";
|
||||
format = "pyproject";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "CabbageDevelopment";
|
||||
repo = "qasync";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-lfH8FNA8cP7dmxR+ihoe2Gr8uOxXHdqn1AhNLIkX5ko=";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-oXzwilhJ1PhodQpOZjnV9gFuoDy/zXWva9LhhK3T00g=";
|
||||
};
|
||||
postPatch = ''
|
||||
rm qasync/_windows.py # Ignoring it is not taking effect and it will not be used on Linux
|
||||
'';
|
||||
buildInputs = [ pkgs.python3Packages.poetry-core ];
|
||||
propagatedBuildInputs = [ pkgs.python3Packages.pyqt6 ];
|
||||
nativeCheckInputs = [ pkgs.python3Packages.pytest-runner pkgs.python3Packages.pytestCheckHook ];
|
||||
checkInputs = [ pkgs.python3Packages.pytestCheckHook ];
|
||||
pythonImportsCheck = [ "qasync" ];
|
||||
disabledTestPaths = [ "tests/test_qeventloop.py" ];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user