Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 81 lines
Nix
at flake-libs
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182{ lib, astropy, bottleneck, buildPythonPackage, cython, extension-helpers, fetchFromGitHub, gwcs, matplotlib, numpy, pythonOlder, rasterio, scikit-image, scikit-learn, scipy, setuptools-scm, setuptools, shapely, tqdm, wheel,}:
buildPythonPackage rec { pname = "photutils"; version = "2.2.0"; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { owner = "astropy"; repo = "photutils"; tag = version; hash = "sha256-DNdbCISuBAy3jbKgwWA0Adq2gpRP3AacU1ZorcBkjZo="; };
build-system = [ setuptools setuptools-scm wheel ];
nativeBuildInputs = [ cython extension-helpers numpy ];
dependencies = [ astropy numpy scipy ];
optional-dependencies = { all = [ bottleneck gwcs matplotlib rasterio scikit-image scikit-learn shapely tqdm ]; };
# With 1.12.0 tests have issues importing modules doCheck = false;
pythonImportsCheck = [ "photutils" ];
meta = with lib; { description = "Astropy package for source detection and photometry"; homepage = "https://github.com/astropy/photutils"; changelog = "https://github.com/astropy/photutils/blob/${version}/CHANGES.rst"; license = licenses.bsd3; maintainers = with maintainers; [ fab ]; };}