nixpkgs/pkgs/servers/felix/default.nix
2023-11-27 02:17:53 +01:00

26 lines
658 B
Nix

{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "apache-felix";
version = "7.0.5";
src = fetchurl {
url = "mirror://apache/felix/org.apache.felix.main.distribution-${version}.tar.gz";
sha256 = "sha256-N9mbkIzMkMV2RLONv15EiosJxMU9iEJvwPWEauPIEe8=";
};
buildCommand =
''
tar xfvz $src
cd felix-framework-*
mkdir -p $out
cp -av * $out
'';
meta = with lib; {
description = "An OSGi gateway";
homepage = "https://felix.apache.org";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.asl20;
maintainers = [ maintainers.sander ];
mainProgram = "felix.jar";
};
}