Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
974 B · 42 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, setuptools-scm,}:
buildPythonPackage rec { pname = "find-libpython"; version = "0.4.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "ktbarrett"; repo = "find_libpython"; tag = "v${version}"; hash = "sha256-rYVGE9P5Xtm32kMoiqaZVMgnDbX3JBnI1uV80aNNOfw="; };
nativeBuildInputs = [ setuptools setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "find_libpython" ];
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 ]; };}