Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
drivethrurpg # DriveThruRPG Library App
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
drivethrurpg # DriveThruRPG Library App
];
}
Package Definition
{
"pname": "drivethrurpg",
"version": "3.4.6",
"src": {
"url": "https://dtrpg-library-app.s3.amazonaws.com/DriveThruRPG_3.4.6.dmg",
"sha256": "4ed84b80a84f442a9b2049f5338a0769aa937d6e31af3b193480f95d506436ee"
},
"installPhase": [
"mkdir -p \"$out/Applications/DriveThruRPG.app\" && cp -r \"DriveThruRPG.app\" \"$out/Applications\""
],
"meta": {
"description": "Sync DriveThruRPG libraries to compatible devices",
"homepage": "https://www.drivethrurpg.com/library_client.php"
}
}