-
-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imgkit: init at 1.2.3 #300145
base: master
Are you sure you want to change the base?
imgkit: init at 1.2.3 #300145
Conversation
python3Packages.buildPythonPackage rec { | ||
pname = "imgkit"; | ||
version = "1.2.3"; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pyproject = true; | |
hash = "sha256-ya3pPQKBJ3yJi5g8lZ8R8MwctKX+0URWDfpNJz+1DNg="; | ||
}; | ||
|
||
propagatedBuildInputs = [ six ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
propagatedBuildInputs = [ six ]; | |
dependencies = [ six ]; |
}; | ||
|
||
propagatedBuildInputs = [ six ]; | ||
nativeBuildInputs = [ python3Packages.setuptools-scm ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nativeBuildInputs = [ python3Packages.setuptools-scm ]; | |
build-system = [ python3Packages.setuptools-scm ]; |
meta = with lib; { | ||
homepage = "https://github.com/jarrekk/imgkit"; | ||
description = "Wkhtmltopdf python wrapper to convert html to image using the webkit rendering engine and qt"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ twitchy0 ]; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
meta = with lib; { | |
homepage = "https://github.com/jarrekk/imgkit"; | |
description = "Wkhtmltopdf python wrapper to convert html to image using the webkit rendering engine and qt"; | |
license = licenses.mit; | |
maintainers = with maintainers; [ twitchy0 ]; | |
}; | |
meta = { | |
homepage = "https://github.com/jarrekk/imgkit"; | |
description = "Wkhtmltopdf Python wrapper to convert HTML to image using WebKit"; | |
license = lib.licenses.mit; | |
maintainers = with lib.maintainers; [ twitchy0 ]; | |
}; |
Description of changes
Tested with the following:
export NIXPKGS_ALLOW_INSECURE=1 && NIX_PATH=nixpkgs=$PWD nix-shell -p "python3.withPackages (ps: with ps; [ imgkit pandas seaborn jinja2 ])" -p wkhtmltopdf --run "python"
Example from https://stackoverflow.com/questions/45664519/export-pandas-styled-table-to-image-file
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.