Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchFromCodeberg,
# build-system uv-build,
# tests pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "indicio"; version = "1.1.0"; pyproject = true; __structuredAttrs = true;
src = fetchFromCodeberg { owner = "victorpoughon"; repo = "indicio"; tag = finalAttrs.version; hash = "sha256-F2afc+Gi1EPxJYfvcIRdiCKpqTObxtU/ae6Y7qijw9Q="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "uv_build>=0.10.9,<0.11.0" "uv_build" '';
build-system = [ uv-build ];
pythonImportsCheck = [ "indicio" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = { description = "Python interface to refractiveindex.info"; longDescription = '' Indicio is a python package that provides offline access to the refractiveindex.info database of optical constants. ''; homepage = "https://codeberg.org/victorpoughon/indicio"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ eljamm ]; teams = with lib.teams; [ ngi ]; };})