mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
33afbf39f6
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.
23 lines
563 B
Nix
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 ];
|
|
};
|
|
}
|