mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
24 lines
567 B
Nix
24 lines
567 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "apache-felix";
|
|
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 ];
|
|
};
|
|
}
|