emanote
emanote copied to clipboard
Initial release
Emanote is currently in beta. It is time to cut the first public release.
- [x] WIP -> Beta
- [ ] Finish milestone tasks
- [ ] Complete documentation
- [x] Release dependent libraries to Hackage
- [x] heist (as a fork package, due to upstream being unmaintained)
- [x] tagtree
- [x] https://github.com/well-typed/ixset-typed/issues/17
- [x] Ema https://github.com/srid/ema/pull/81
- [x] ~~(Optional) Build Linux static binary using Nix~~
- [x] Try haskell.nix (including cross-compilation for musl & Windows) #155
- [ ] Release emanote to Hackage
- [ ] Blog post and annoucements
Not gonna bother with static builds, because we still have to figure out a way to distribute default layer along with it (cf. #156). Let package managers worry about it. We'll make emanote available on Hackage, so a simple 'cabal install emanote' would work (as long as non-Haskell dependencies, like tailwind, are installed).
Heist fork has been put in Hackage, https://github.com/snapframework/heist/pull/130#issuecomment-1086931247
Now that Ema 0.8 is released it is high time we release Emanote to Hackage, just to get it to nixpkgs.
Emanote is feature-complete enough to make the initial release now.
Now on Hackage: https://hackage.haskell.org/package/emanote-0.8.0.0
I'd like to wait for a couple of things before making the blog post announcement:
- Add emanote to nixpkgs (perhaps @maralorn may be interested?)
- Add an example that shows how to use Emanote as a library to extend it (I have an idea for creating an invoice maker that uses Markdown tables and backlinks).
@srid What do you envision as "adding to nixpkgs"? We can just use haskellPackages.emanote
, right?
But I will gladly enter myself as emanote maintainer and make sure that it builds.
We can just use
haskellPackages.emanote
, right?
Yea, and maybe a top-level alias as well, so nix run nixpkgs#emanote
works.
The top-level flake.nix has just 4 overrides (disable tests, unmark broken) and emanote itself gets a build dependency on pkgs.stork
(while unmarking the M1 package from being broken) as well as the tailwind
Haskell package (which in turn has the node CLI with plugins as dependency).
But I will gladly enter myself as emanote maintainer and make sure that it builds.
That'd be great! :-)
I can only start with that on our next haskell-updates run. I will ping back once the deed is done.
Adressed in nixos/nixpkgs#199442.
Pending https://github.com/NixOS/nixpkgs/pull/199424
Meanwhile, nix run github:nixos/nixpkgs/haskell-updates#emanote
https://github.com/EmaApps/emanote/issues/372 is the main issue left to resolve before final release.
Released 1.0!
@maralorn It would be great if you could add 1.0 to nixpkgs. Note that from packaging point of view it involves these changes:
- Depends on new package https://hackage.haskell.org/package/commonmark-wikilink
- We now depend on
heist
directly (notheist-emanote
) - We require
ema
>= 0.10 (ema got split into three libraries). This may require addingself.haskellPackages.ema_0_10_0
? -
commonmark-extensions <0.2.3.3
(because the next version has a bug)