nixpkgs/pkgs/servers/felix/default.nix
Joachim Fasting ba1aeb8cae
felix: 2.0.5 -> 5.6.1, fix build
The old source was 404
2017-01-29 00:35:38 +01:00

23 lines
577 B
Nix

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