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 { lib 2 , fetchPypi 3 , buildPythonPackage 4 , lxml 5 - , docopt 6 - , six 7 , pytestCheckHook 8 , mock 9 - , fetchpatch 10 }: 11 12 buildPythonPackage rec { 13 pname = "rnginline"; 14 - version = "0.0.2"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - hash = "sha256-j4W4zwHA4yA6iAFVa/LDKp00eeCX3PbmWkjd2LSUGfk="; 19 }; 20 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 - }) 29 ]; 30 31 propagatedBuildInputs = [ 32 - docopt 33 lxml 34 - six 35 ]; 36 37 nativeCheckInputs = [
··· 1 { lib 2 , fetchPypi 3 , buildPythonPackage 4 + , poetry-core 5 , lxml 6 + , docopt-ng 7 + , typing-extensions 8 + , importlib-metadata 9 + , importlib-resources 10 , pytestCheckHook 11 , mock 12 }: 13 14 buildPythonPackage rec { 15 pname = "rnginline"; 16 + version = "1.0.0"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + hash = "sha256-JWqzs+OqOynIAWYVgGrZiuiCqObAgGe6rBt0DcP3U6E="; 21 }; 22 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 32 ]; 33 34 propagatedBuildInputs = [ 35 + docopt-ng 36 lxml 37 + typing-extensions 38 + importlib-metadata 39 + importlib-resources 40 ]; 41 42 nativeCheckInputs = [