1 { stdenv, composerEnv, fetchurl, callPackage, config_file ? "/var/lib/status_engine/interface.yml" }:
2 composerEnv.buildPackage (
3 import ./interface_php_packages.nix { inherit composerEnv fetchurl; } // rec {
6 name = "${pname}-${version}";
8 url = "https://github.com/statusengine/${pname}/archive/${version}.tar.gz";
9 sha256 = "1l11cskv740xvqs9a2yj9zkvgvxvymaq5qap36g2r4hkqbfbbjj2";
13 src=$(pwd)/$sourceRoot
16 ln -s ${config_file} $out/etc/config.yml
19 cp ${./interface_composer.lock} $out/composer.lock