Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
bookwright # BookWright
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
bookwright # BookWright
];
}
Package Definition
{
"pname": "bookwright",
"version": "3.4.0",
"src": {
"url": "https://software.blurb.com/bookwright_v2/3.4.0/BookWright.dmg",
"sha256": "54cb91fe7d7e09a23d17f12278c8134a823065621d77a561d1fb9e39e799213e"
},
"installPhase": [
"mkdir -p \"$out/Applications/BookWright.app\" && cp -r \"BookWright.app\" \"$out/Applications\""
],
"meta": {
"description": "Make a book with this tool and the Blurb printing service",
"homepage": "https://www.blurb.com/bookwright"
}
}