python313Packages.find-libpython: refactor

Changed files
+3 -6
pkgs
development
python-modules
find-libpython
+3 -6
pkgs/development/python-modules/find-libpython/default.nix
···
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
-
pythonOlder,
setuptools,
setuptools-scm,
}:
···
pname = "find-libpython";
version = "0.4.1";
pyproject = true;
-
-
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ktbarrett";
···
hash = "sha256-6VRUkRACtZt8n2VT5MwxZ51/ep+Lt/jmEGyfI1zseJw=";
};
-
nativeBuildInputs = [
setuptools
setuptools-scm
];
···
meta = with lib; {
description = "Finds the libpython associated with your environment, wherever it may be hiding";
-
mainProgram = "find_libpython";
-
changelog = "https://github.com/ktbarrett/find_libpython/releases/tag/v${version}";
homepage = "https://github.com/ktbarrett/find_libpython";
license = licenses.mit;
maintainers = with maintainers; [ jleightcap ];
};
}
···
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
···
pname = "find-libpython";
version = "0.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "ktbarrett";
···
hash = "sha256-6VRUkRACtZt8n2VT5MwxZ51/ep+Lt/jmEGyfI1zseJw=";
};
+
build-system = [
setuptools
setuptools-scm
];
···
meta = with lib; {
description = "Finds the libpython associated with your environment, wherever it may be hiding";
+
changelog = "https://github.com/ktbarrett/find_libpython/releases/tag/${src.tag}";
homepage = "https://github.com/ktbarrett/find_libpython";
license = licenses.mit;
maintainers = with maintainers; [ jleightcap ];
+
mainProgram = "find_libpython";
};
}