Skip to content

Commit

Permalink
python3Packages.pylacrosse: drop nose dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmanificient committed Jul 27, 2024
1 parent 40c346e commit e761b3a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkgs/development/python-modules/pylacrosse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
mock,
nose,
pyserial,
pytestCheckHook,
pythonOlder,
Expand All @@ -23,18 +23,22 @@ buildPythonPackage rec {
hash = "sha256-jrkehoPLYbutDfxMBO/vlx4nMylTNs/gtvoBTFHFsDw=";
};

patches = [
(fetchpatch2 {
url = "https://github.com/hthiery/python-lacrosse/commit/cc2623c667bc252360a9b5ccb4fc05296cf23d9c.patch?full_index=1";
hash = "sha256-LKryLnXMKj1lVClneyHNVOWM5KPPhOGy0/FX/7Qy/jU=";
})
];

postPatch = ''
substituteInPlace setup.py \
--replace "version = version," "version = '${version}',"
'';

propagatedBuildInputs = [ pyserial ];

doCheck = pythonOlder "3.12";

nativeCheckInputs = [
mock
nose
pytestCheckHook
];

Expand Down

0 comments on commit e761b3a

Please sign in to comment.