1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-22 17:31:04 +03:00
nixpkgs/pkgs/development/python-modules/rtfunicode/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
719 B
Nix
Raw Normal View History

{ buildPythonPackage
, lib
, fetchFromGitHub
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "rtfunicode";
version = "1.4";
src = fetchFromGitHub {
owner = "mjpieters";
repo = "rtfunicode";
rev = "refs/tags/${version}";
hash = "sha256-5lmiazxiEENpdqzVgoKQoG2OW/w5nGmC8odulo2XaLo=";
};
nativeBuildInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "rtfunicode" ];
meta = with lib; {
description = "Encoder for unicode to RTF 1.5 command sequences";
maintainers = [ maintainers.lucasew ];
license = licenses.bsd2;
homepage = "https://github.com/mjpieters/rtfunicode";
changelog = "https://github.com/mjpieters/rtfunicode/releases/tag/${version}";
};
}