Loading pkgs/development/python-modules/justext/default.nix 0 → 100644 +43 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook , lxml }: buildPythonPackage rec { pname = "justext"; version = "3.0.0"; format = "setuptools"; src = fetchFromGitHub { owner = "miso-belica"; repo = "jusText"; rev = "refs/tags/v${version}"; hash = "sha256-WNxDoM5666tEHS9pMl5dOoig4S7dSYaCLZq71tehWqw="; }; propagatedBuildInputs = [ lxml ]; nativeCheckInputs = [ pytestCheckHook ]; # patch out coverage report postPatch = '' substituteInPlace setup.cfg \ --replace " --cov=justext --cov-report=term-missing --no-cov-on-fail" "" ''; pythonImportsCheck = [ "justext" ]; meta = with lib; { description = "Heuristic based boilerplate removal tool"; homepage = "https://github.com/miso-belica/jusText"; changelog = "https://github.com/miso-belica/jusText/blob/v${version}/CHANGELOG.rst"; license = licenses.bsd2; maintainers = with maintainers; [ jokatzke ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -6002,6 +6002,8 @@ self: super: with self; { justbytes = callPackage ../development/python-modules/justbytes { }; justext = callPackage ../development/python-modules/justext { }; justnimbus = callPackage ../development/python-modules/justnimbus { }; jwcrypto = callPackage ../development/python-modules/jwcrypto { }; Loading Loading
pkgs/development/python-modules/justext/default.nix 0 → 100644 +43 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , pytestCheckHook , lxml }: buildPythonPackage rec { pname = "justext"; version = "3.0.0"; format = "setuptools"; src = fetchFromGitHub { owner = "miso-belica"; repo = "jusText"; rev = "refs/tags/v${version}"; hash = "sha256-WNxDoM5666tEHS9pMl5dOoig4S7dSYaCLZq71tehWqw="; }; propagatedBuildInputs = [ lxml ]; nativeCheckInputs = [ pytestCheckHook ]; # patch out coverage report postPatch = '' substituteInPlace setup.cfg \ --replace " --cov=justext --cov-report=term-missing --no-cov-on-fail" "" ''; pythonImportsCheck = [ "justext" ]; meta = with lib; { description = "Heuristic based boilerplate removal tool"; homepage = "https://github.com/miso-belica/jusText"; changelog = "https://github.com/miso-belica/jusText/blob/v${version}/CHANGELOG.rst"; license = licenses.bsd2; maintainers = with maintainers; [ jokatzke ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -6002,6 +6002,8 @@ self: super: with self; { justbytes = callPackage ../development/python-modules/justbytes { }; justext = callPackage ../development/python-modules/justext { }; justnimbus = callPackage ../development/python-modules/justnimbus { }; jwcrypto = callPackage ../development/python-modules/jwcrypto { }; Loading