Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
920 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools, setuptools-scm,}:
buildPythonPackage rec { pname = "find-libpython"; version = "0.4.1"; pyproject = true;
src = fetchFromGitHub { owner = "ktbarrett"; repo = "find_libpython"; tag = "v${version}"; hash = "sha256-6VRUkRACtZt8n2VT5MwxZ51/ep+Lt/jmEGyfI1zseJw="; };
build-system = [ setuptools setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "find_libpython" ];
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"; };}