Skip to content

Commit

Permalink
python312Packages.jaconv: modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Jul 9, 2024
1 parent 195215f commit 75bc8aa
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkgs/development/python-modules/jaconv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,29 @@
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
pytestCheckHook,
}:

buildPythonPackage rec {
pname = "jaconv";
version = "0.3.4";
format = "setuptools";
pyproject = true;

disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "ikegami-yukino";
repo = pname;
repo = "jaconv";
rev = "refs/tags/v${version}";
hash = "sha256-9ruhOLaYNESeKOwJs3IN6ct66fSq7My9DOyA7/cH3d0=";
};

patches = [ ./use-pytest.patch ];

nativeCheckInputs = [
pytestCheckHook
];
build-system = [ setuptools ];

nativeCheckInputs = [ pytestCheckHook ];

pythonImportsCheck = [ "jaconv" ];

Expand Down

0 comments on commit 75bc8aa

Please sign in to comment.