blob: 32aa17a9868316672688d829b9b5d3b7e52c8f77 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ stdenv, lib, esbuild, napalm, nix-gitignore }:
let
src = builtins.path {
name = "likely-music-frontend-source";
path = ./.;
filter = nix-gitignore.gitignoreFilter (builtins.readFile ../.gitignore) ./..;
};
in
napalm.buildPackage src {
nativeBuildInputs = [
esbuild
];
npmCommands = "make";
installPhase = ''
runHook preInstall
mkdir -p $out/share
mv dist $out/share/likely-music-frontend
runHook postInstall
'';
meta = {
description = "Frontend of likely music, a probabilistic music notation software";
homepage = "https://github.com/sternenseemann/likely-music";
license = lib.licenses.agpl3Only;
};
}
|