Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
texts # Texts
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
texts # Texts
];
} Package Definition
{
"pname": "texts",
"version": "1.5",
"src": {
"url": "http://www.texts.io/Texts-1.5.dmg",
"sha256": "8c3e5c7c761f31abf414d632e6787f95e08ad112bfd43e63f90a925ae0c3fef2"
},
"installPhase": [
"mkdir -p \"$out/Applications/Texts.app\" && cp -r \"Texts.app\" \"$out/Applications\""
],
"meta": {
"description": "Word processor that uses plain text Markdown",
"homepage": "http://www.texts.io/"
}
}