owntracks-frontend: init at 2.15.3 (#503243)
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "owntracks-frontend";
|
||||
version = "2.15.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "owntracks";
|
||||
repo = "frontend";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-omNsCD6sPwPrC+PdyftGDUeZA8nOHkHkRHC+oHFC0eM=";
|
||||
};
|
||||
npmDepsHash = "sha256-sZkOvffpRoUTbIXpskuVSbX4+k1jiwIbqW4ckBwnEHM=";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/owntracks-frontend
|
||||
cp -r dist/* $out/share/owntracks-frontend
|
||||
cp dist/config/config.example.js $out/share/owntracks-frontend/config/config.js
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Web interface for OwnTracks";
|
||||
homepage = "https://github.com/owntracks/frontend";
|
||||
changelog = "https://github.com/owntracks/frontend/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.aionescu ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -77,10 +77,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
meta = {
|
||||
description = "Store and access data published by OwnTracks apps";
|
||||
homepage = "https://github.com/owntracks/recorder";
|
||||
changelog = "https://github.com/owntracks/recorder/blob/master/Changelog";
|
||||
changelog = "https://github.com/owntracks/recorder/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ ];
|
||||
maintainers = [ lib.maintainers.aionescu ];
|
||||
mainProgram = "ot-recorder";
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user