NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.38k stars 14.33k forks source link

Umami #172063

Open NULLx76 opened 2 years ago

NULLx76 commented 2 years ago

Project description Umami is a simple, fast, privacy-focused alternative to Google Analytics.

Metadata

NULLx76 commented 2 years ago

I wanted to package it myself but it is unclear to me how to package a javascript app that isn't in npm, as pkgs/development/node-packages seems to require that. If someone can point me in the right direction, I can try doing it myself as well.

elikoga commented 2 years ago

Looking into it

elikoga commented 2 years ago

https://github.com/elikoga/nixpkgs/tree/umami https://github.com/NixOS/nixpkgs/compare/master...elikoga:umami

Has a initial non-working umami thing

It doesn't build because Umami does some internet requests at build time: https://github.com/mikecao/umami/blob/master/scripts/build-geo.js

And I don't really wanna patch Umami right now or open an upstream issue

Hope this helps though