mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
python312Packages.jaconv: modernize
This commit is contained in:
parent
195215f7e0
commit
75bc8aa03a
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user