Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 68 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, fetchPypi, fetchpatch, findutils, pytestCheckHook, pythonOlder, pip, setuptools, setuptools-scm, tomli, wheel,}:
buildPythonPackage rec { pname = "extension-helpers"; version = "1.1.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-SUYMeKP40fjOwXRHn16FrURZSMzEFgM8WqPm3fLFAik="; };
patches = [ # Not needed to allow this package to build, but meant for it's dependent # packages, like astropy. See explanation at: # https://github.com/astropy/extension-helpers/pull/59 (fetchpatch { url = "https://github.com/astropy/extension-helpers/commit/796f3e7831298df2d26b6d994b13fd57061a56d1.patch"; hash = "sha256-NnqK9HQq1hQ66RUJf9gTCuLyA0BVqVtL292mSXJ9860="; }) ];
nativeBuildInputs = [ setuptools setuptools-scm wheel ];
propagatedBuildInputs = [ tomli ];
nativeCheckInputs = [ findutils pip pytestCheckHook ];
# avoid import mismatch errors, as conftest.py is copied to build dir enabledTestPaths = [ "extension_helpers" ];
disabledTests = [ # https://github.com/astropy/extension-helpers/issues/43 "test_write_if_different" ];
pythonImportsCheck = [ "extension_helpers" ];
meta = with lib; { description = "Utilities for building and installing packages in the Astropy ecosystem"; homepage = "https://github.com/astropy/extension-helpers"; license = licenses.bsd3; maintainers = with maintainers; [ rmcgibbo ]; };}