lol

python312Packages.blackdiag: drop nose dependency

+14 -5
+14 -5
pkgs/development/python-modules/blockdiag/default.nix
··· 5 5 ephem, 6 6 fetchFromGitHub, 7 7 fetchpatch, 8 + fetchpatch2, 8 9 funcparserlib, 9 10 pillow, 10 - nose, 11 11 pytestCheckHook, 12 12 pythonOlder, 13 13 reportlab, ··· 36 36 url = "https://github.com/blockdiag/blockdiag/commit/20d780cad84e7b010066cb55f848477957870165.patch"; 37 37 hash = "sha256-t1zWFzAsLL2EUa0nD4Eui4Y5AhAZLRmp/yC9QpzzeUA="; 38 38 }) 39 + # https://github.com/blockdiag/blockdiag/pull/175 40 + (fetchpatch2 { 41 + name = "migrate-to-pytest.patch"; 42 + url = "https://github.com/blockdiag/blockdiag/commit/4f4f726252084f17ecc6c524592222af09d37da4.patch"; 43 + hash = "sha256-OkfKJwJtb2DJRXE/8thYnisTFwcfstUFTTJHdM/qBzg="; 44 + }) 39 45 ]; 40 46 47 + postPatch = '' 48 + # requires network access the url-based icon 49 + # and path-based icon is set to debian logo (/usr/share/pixmaps/debian-logo.png) 50 + rm src/blockdiag/tests/diagrams/node_icon.diag 51 + # note: this is a postPatch as `seqdiag` uses them directly 52 + ''; 53 + 41 54 build-system = [ setuptools ]; 42 55 43 56 dependencies = [ ··· 48 61 webcolors 49 62 ]; 50 63 51 - # tests rely on nose 52 - doCheck = pythonOlder "3.12"; 53 - 54 64 nativeCheckInputs = [ 55 65 ephem 56 - nose 57 66 pytestCheckHook 58 67 ]; 59 68