Merge pull request #318827 from Sail0rd/create-natural

This commit is contained in:
Sandro
2024-06-13 13:58:51 +02:00
committed by GitHub
2 changed files with 34 additions and 0 deletions
@@ -0,0 +1,32 @@
{ buildPythonPackage
, fetchFromGitHub
, lib
, setuptools
, six
, django
}:
buildPythonPackage rec {
pname = "natural";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "tehmaze";
repo = "natural";
rev = "refs/tags/${version}";
hash = "sha256-DERFKDGVUPcjYAxiTYWgWkPp+Myd/9CNytQWgRya570=";
};
build-system = [ setuptools ];
dependencies = [ six ];
nativeCheckInputs = [ django ];
meta = {
description = "Convert data to their natural (human-readable) format";
homepage = "https://github.com/tehmaze/natural";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sailord vinetos ];
};
}
+2
View File
@@ -8662,6 +8662,8 @@ self: super: with self; {
natasha = callPackage ../development/python-modules/natasha { };
natural = callPackage ../development/python-modules/natural { };
nomadnet = callPackage ../development/python-modules/nomadnet { };
noneprompt = callPackage ../development/python-modules/noneprompt { };