nixpkgs/pkgs/development/python-modules/unicodedata2/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

23 lines
563 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, isPy27 }:
buildPythonPackage rec {
pname = "unicodedata2";
version = "15.0.0";
disabled = isPy27;
src = fetchPypi {
inherit version pname;
sha256 = "0bcgls7m2zndpd8whgznnd5908jbsa50si2bh88wsn0agcznhv7d";
};
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Backport and updates for the unicodedata module";
homepage = "https://github.com/mikekap/unicodedata2";
license = licenses.asl20;
maintainers = [ maintainers.sternenseemann ];
};
}