You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
497 B
Nix

{ pkgs, configFile, ... }:
pkgs.cryto.nodeApplication {
name = "mobile-proxy";
source = pkgs.stdenv.mkDerivation {
name = "mobile-proxy-application";
src = pkgs.cryto.fetchFromCrytoGit {
owner = "joepie91";
repo = "mobile-proxy";
rev = "1628f4be61621c1783e93ef6719b1dae4f352be8";
sha256 = "1d9zc3phflsi2gsi7hmzybr0q983x7155bildvlbc7za3y8hry78";
};
buildCommand = ''
mkdir -p $out
tar -xzvf $src -C $out
cp ${configFile} $out/config.jsx
'';
};
}