nixpkgs/pkgs/development/libraries/java/commons/bsf/default.nix
Robert Scott 3b6bc4b69c treewide: set sourceProvenance for packages containing downloaded jars
these are the easily identifiable cases and will not be comprehensive
2022-06-04 19:47:57 +01:00

26 lines
653 B
Nix

{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "commons-bsf";
version = "2.4.0";
src = fetchurl {
url = "mirror://apache/commons/bsf/binaries/bsf-bin-${version}.tar.gz";
sha256 = "1my3hv4y8cvrd1kr315wvbjqsamzlzswnbqcmsa2m4hqcafddfr8";
};
installPhase = ''
mkdir -p $out/share/java
cp lib/bsf.jar $out/share/java/
'';
meta = {
description = "Interface to scripting languages, including JSR-223";
homepage = "https://commons.apache.org/proper/commons-bsf/";
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
};
}