forked from mirrors/nixpkgs
Merge pull request #154570 from Creator54/grapheme
python3Packages.grapheme: init at 0.6.0
This commit is contained in:
commit
3229b9af27
33
pkgs/development/python-modules/grapheme/default.nix
Normal file
33
pkgs/development/python-modules/grapheme/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "grapheme";
|
||||
version = "0.6.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1jiwc3w05c8kh22s3zk7a8km8na3plqc5zimb2qcyxxy3grbkhj4";
|
||||
};
|
||||
|
||||
# Tests are no available on PyPI
|
||||
# https://github.com/alvinlindstam/grapheme/issues/18
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"grapheme"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python package for grapheme aware string handling";
|
||||
homepage = "https://github.com/alvinlindstam/grapheme";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ creator54 ];
|
||||
};
|
||||
}
|
|
@ -3468,6 +3468,8 @@ in {
|
|||
|
||||
grandalf = callPackage ../development/python-modules/grandalf { };
|
||||
|
||||
grapheme = callPackage ../development/python-modules/grapheme { };
|
||||
|
||||
graphite_api = callPackage ../development/python-modules/graphite-api { };
|
||||
|
||||
graphite_beacon = callPackage ../development/python-modules/graphite_beacon { };
|
||||
|
|
Loading…
Reference in a new issue