10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.6";
17 src = fetchFromGitHub {
19 repo = "py-libversion";
21 hash = "sha256-p0wtSB+QXAERf+57MMb8cqWoy1bG3XaCpR9GPwYYvJM=";
25 substituteInPlace setup.py \
26 --replace "'pkg-config'" "'$(command -v $PKG_CONFIG)'"
46 pythonImportsCheck = [
51 description = "Python bindings for libversion, which provides fast, powerful and correct generic version string comparison algorithm";
52 homepage = "https://github.com/repology/py-libversion";
53 license = licenses.mit;
54 maintainers = with maintainers; [ ryantm ];