Merge pull request #234405 from LeSuisse/rnginline-1.0.0

rnginline: 0.0.2 -> 1.0.0

authored by Thomas Gerbet and committed by GitHub f6a82cce e7a621f8

+20 -15
+20 -15
pkgs/development/python-modules/rnginline/default.nix
··· 1 1 { lib 2 2 , fetchPypi 3 3 , buildPythonPackage 4 + , poetry-core 4 5 , lxml 5 - , docopt 6 - , six 6 + , docopt-ng 7 + , typing-extensions 8 + , importlib-metadata 9 + , importlib-resources 7 10 , pytestCheckHook 8 11 , mock 9 - , fetchpatch 10 12 }: 11 13 12 14 buildPythonPackage rec { 13 15 pname = "rnginline"; 14 - version = "0.0.2"; 16 + version = "1.0.0"; 15 17 16 18 src = fetchPypi { 17 19 inherit pname version; 18 - hash = "sha256-j4W4zwHA4yA6iAFVa/LDKp00eeCX3PbmWkjd2LSUGfk="; 20 + hash = "sha256-JWqzs+OqOynIAWYVgGrZiuiCqObAgGe6rBt0DcP3U6E="; 19 21 }; 20 22 21 - patches = [ 22 - # Fix failing tests. Should be included in releases after 0.0.2 23 - # https://github.com/h4l/rnginline/issues/3 24 - (fetchpatch { 25 - url = "https://github.com/h4l/rnginline/commit/b1d1c8cda2a17d46627309950f2442021749c07e.patch"; 26 - hash = "sha256-XbisEwun2wPOp7eqW2YDVdayJ4sjAMG/ezFwgoCKe9o="; 27 - name = "fix_tests_failing_collect.patch"; 28 - }) 23 + format = "pyproject"; 24 + 25 + postPatch = '' 26 + substituteInPlace pyproject.toml \ 27 + --replace 'importlib-metadata = "^6.6.0"' 'importlib-metadata = "^6.0.0"' 28 + ''; 29 + 30 + nativeBuildInputs = [ 31 + poetry-core 29 32 ]; 30 33 31 34 propagatedBuildInputs = [ 32 - docopt 35 + docopt-ng 33 36 lxml 34 - six 37 + typing-extensions 38 + importlib-metadata 39 + importlib-resources 35 40 ]; 36 41 37 42 nativeCheckInputs = [