Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/rtf-tokenize/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
lib,
fetchPypi,
python3Packages,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
python3Packages,
buildPythonPackage,

setuptools,
pythonImportsCheckHook,
pytestCheckHook,
}:
python3Packages.buildPythonPackage rec {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
python3Packages.buildPythonPackage rec {
buildPythonPackage rec {

pname = "rtf-tokenize";
version = "1.0.0";
pyproject = true;
build-system = [ setuptools ];

nativeCheckInputs = [
pythonImportsCheckHook
pytestCheckHook
];

meta = with lib; {
description = "A simple RTF tokenizer";
maintainers = with maintainers; [ twey ];
license = licenses.gpl2Plus;
Comment on lines +20 to +23
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
meta = with lib; {
description = "A simple RTF tokenizer";
maintainers = with maintainers; [ twey ];
license = licenses.gpl2Plus;
meta = {
description = "Simple RTF tokenizer";
maintainers = with lib.maintainers; [ twey ];
license = lib.licenses.gpl2Plus;

};

src = fetchPypi {
pname = "rtf_tokenize";
inherit version;
hash = "sha256-XD3zkNAEeb12N8gjv81v37Id3RuWroFUY95+HtOS1gg=";
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13837,6 +13837,8 @@ self: super: with self; {

rstr = callPackage ../development/python-modules/rstr { };

rtf-tokenize = callPackage ../development/python-modules/rtf-tokenize { };

rtmidi-python = callPackage ../development/python-modules/rtmidi-python {
inherit (pkgs.darwin.apple_sdk.frameworks) CoreAudio CoreMIDI CoreServices;
};
Expand Down