forked from mirrors/nixpkgs
cloudlog: init at 2.3
This commit is contained in:
parent
3325956ea1
commit
31e3844aea
43
pkgs/applications/radio/cloudlog/default.nix
Normal file
43
pkgs/applications/radio/cloudlog/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, nixosTests
|
||||
, php}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
name = "cloudlog";
|
||||
version = "2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "magicbug";
|
||||
repo = "Cloudlog";
|
||||
rev = version;
|
||||
sha256 = "sha256-IepCeV/mYy/GEzRTXf67LYQQaN5Rj5Z77KaF2l30r60=";
|
||||
};
|
||||
|
||||
postPath = ''
|
||||
substituteInPlace index.php \
|
||||
--replace "define('ENVIRONMENT', 'development');" "define('ENVIRONMENT', 'production');"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out/
|
||||
cp -R ./* $out
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) cloudlog;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = ''
|
||||
Web based amateur radio logging application built using PHP & MySQL
|
||||
supports general station logging tasks from HF to Microwave with
|
||||
supporting applications to support CAT control.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
homepage = "https://www.magicbug.co.uk/cloudlog";
|
||||
platforms = php.meta.platforms;
|
||||
maintainers = with maintainers; [ melling ];
|
||||
};
|
||||
}
|
|
@ -17055,6 +17055,8 @@ with pkgs;
|
|||
|
||||
cloudcompare = libsForQt5.callPackage ../applications/graphics/cloudcompare { };
|
||||
|
||||
cloudlog = callPackage ../applications/radio/cloudlog { };
|
||||
|
||||
cloudflare-warp = callPackage ../tools/networking/cloudflare-warp { };
|
||||
|
||||
cloudfoundry-cli = callPackage ../applications/networking/cluster/cloudfoundry-cli { };
|
||||
|
|
Loading…
Reference in a new issue