Skip to content

Commit

Permalink
Merge pull request #236881 from fabaff/dynalite-devices-bump
Browse files Browse the repository at this point in the history
python311Packages.dynalite-devices: 0.47 -> 0.1.48
  • Loading branch information
fabaff authored Jun 10, 2023
2 parents 8a7a5ee + c00a243 commit 4d5d28f
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions pkgs/development/python-modules/dynalite-devices/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, asynctest
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
pname = "dynalite-devices";
version = "0.47";
version = "0.1.48";
format = "setuptools";

disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "ziv1234";
repo = "python-dynalite-devices";
rev = "refs/tags/v${version}"; # https://github.com/ziv1234/python-dynalite-devices/issues/2
hash = "sha256-kJo4e5vhgWzijLUhQd9VBVk1URpg9SXhOA60dJYashM=";
rev = "refs/tags/v${version}";
hash = "sha256-i88aIsRNsToSceQdwfspJg+Y5MO5zC4O6EkyhrYR27g=";
};

postPatch = ''
sed -i '/^addopts/d' setup.cfg
'';

nativeCheckInputs = [
asynctest
pytest-asyncio
pytestCheckHook
];
Expand All @@ -31,11 +33,14 @@ buildPythonPackage rec {
"--asyncio-mode=auto"
];

pythonImportsCheck = [ "dynalite_devices_lib" ];
pythonImportsCheck = [
"dynalite_devices_lib"
];

meta = with lib; {
description = "An unofficial Dynalite DyNET interface creating devices";
homepage = "https://github.com/ziv1234/python-dynalite-devices";
changelog = "https://github.com/ziv1234/python-dynalite-devices/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
Expand Down

0 comments on commit 4d5d28f

Please sign in to comment.