Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
767 B · 36 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, six, icu,}:
buildPythonPackage rec { pname = "pyicu"; version = "2.13.1"; format = "setuptools";
src = fetchPypi { pname = "PyICU"; inherit version; hash = "sha256-1JGQheqgfaErrejuch57v3reAVHKD4KUaibI9LmM3Os="; };
nativeBuildInputs = [ icu ]; # for icu-config, but should be replaced with pkg-config buildInputs = [ icu ]; nativeCheckInputs = [ pytestCheckHook six ];
pythonImportsCheck = [ "icu" ];
meta = with lib; { homepage = "https://gitlab.pyicu.org/main/pyicu"; description = "Python extension wrapping the ICU C++ API"; changelog = "https://gitlab.pyicu.org/main/pyicu/-/raw/v${version}/CHANGES"; license = licenses.mit; };}