python3Packages.touying: init at 0.13.2 (#423666)
This commit is contained in:
commit
247c3817d7
1
pkgs/by-name/to/touying/package.nix
Normal file
1
pkgs/by-name/to/touying/package.nix
Normal file
@ -0,0 +1 @@
|
||||
{ python3Packages }: with python3Packages; toPythonApplication touying
|
55
pkgs/development/python-modules/touying/default.nix
Normal file
55
pkgs/development/python-modules/touying/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
jinja2,
|
||||
pillow,
|
||||
python-pptx,
|
||||
typst,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "touying";
|
||||
version = "0.13.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "touying-typ";
|
||||
repo = "touying-exporter";
|
||||
tag = version;
|
||||
hash = "sha256-gcr3KS2Qm8CMA+8AeC0hbGi9Gjj5sMr6gJkuoZWUEGY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonRemoveDeps = [
|
||||
"argparse"
|
||||
];
|
||||
dependencies = [
|
||||
jinja2
|
||||
pillow
|
||||
python-pptx
|
||||
typst
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "touying" ];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Export presentation slides in various formats for Touying";
|
||||
changelog = "https://github.com/touying-typ/touying-exporter/releases/tag/${version}";
|
||||
homepage = "https://github.com/touying-typ/touying-exporter";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
mainProgram = "touying";
|
||||
};
|
||||
}
|
@ -18054,6 +18054,8 @@ self: super: with self; {
|
||||
|
||||
total-connect-client = callPackage ../development/python-modules/total-connect-client { };
|
||||
|
||||
touying = callPackage ../development/python-modules/touying { };
|
||||
|
||||
towncrier = callPackage ../development/python-modules/towncrier { inherit (pkgs) git; };
|
||||
|
||||
tox = callPackage ../development/python-modules/tox { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user