nixpkgs/pkgs/development/mobile/cordova/default.nix
2023-08-21 17:37:02 -07:00

29 lines
647 B
Nix

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "cordova";
version = "12.0.0";
src = fetchFromGitHub {
owner = "apache";
repo = "cordova-cli";
rev = version;
hash = "sha256-fEV7NlRcRpyeRplsdXHI2U4/89DsvKQpVwHD5juiNPo=";
};
npmDepsHash = "sha256-ZMxZiwCgqzOBwDXeTfIEwqFVdM9ysWeE5AbX7rUdwIc=";
dontNpmBuild = true;
meta = {
description = "Build native mobile applications using HTML, CSS and JavaScript";
homepage = "https://github.com/apache/cordova-cli";
license = lib.licenses.asl20;
mainProgram = "cordova";
maintainers = with lib.maintainers; [ flosse ];
};
}