mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
python310Packages.wcag-contrast-ratio: init at 0.9
This commit is contained in:
parent
90157969cf
commit
bad010fae8
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, hypothesis
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "wcag-contrast-ratio";
|
||||
version = "0.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-aRkrjlwKfQ3F/xGH7rPjmBQWM6S95RxpyH9Y/oftNhw=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"test.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "wcag_contrast_ratio" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for computing contrast ratios, as required by WCAG 2.0";
|
||||
homepage = "https://github.com/gsnedders/wcag-contrast-ratio";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -10838,6 +10838,8 @@ in {
|
||||
|
||||
wazeroutecalculator = callPackage ../development/python-modules/wazeroutecalculator { };
|
||||
|
||||
wcag-contrast-ratio = callPackage ../development/python-modules/wcag-contrast-ratio { };
|
||||
|
||||
wcmatch = callPackage ../development/python-modules/wcmatch { };
|
||||
|
||||
wcwidth = callPackage ../development/python-modules/wcwidth { };
|
||||
|
Loading…
Reference in New Issue
Block a user