python3Packages.yargy: migrate to pyproject (#533516)
This commit is contained in:
@@ -2,21 +2,26 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
pymorphy2,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "yargy";
|
||||
version = "0.16.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-yRfu+zKkDCPEa2yojWiScHLdAKuU6Q/V3GqwpitZtZM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pymorphy2 ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ pymorphy2 ];
|
||||
pythonImportsCheck = [ "yargy" ];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
enabledTestPaths = [ "tests" ];
|
||||
@@ -27,4 +32,4 @@ buildPythonPackage rec {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ npatsakula ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user