bsh: add pname and version, also move to by-name (#482980)

This commit is contained in:
7c6f434c
2026-01-23 10:14:42 +00:00
committed by GitHub
2 changed files with 9 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
{ fetchurl }:
fetchurl (finalAttrs: {
name = "${finalAttrs.pname}-${finalAttrs.version}.jar";
pname = "bsh";
version = "2.0b5";
url = "http://www.beanshell.org/bsh-${finalAttrs.version}.jar";
hash = "sha256-YjIZlWOAc1SzvLWs6z3BNlAvAixrDvdDmHqD9m/uWlw=";
})

View File

@@ -1675,11 +1675,6 @@ with pkgs;
bozohttpd-minimal = bozohttpd.override { minimal = true; };
bsh = fetchurl {
url = "http://www.beanshell.org/bsh-2.0b5.jar";
hash = "sha256-YjIZlWOAc1SzvLWs6z3BNlAvAixrDvdDmHqD9m/uWlw=";
};
cabal2nix-unwrapped = haskell.lib.compose.justStaticExecutables (
haskellPackages.generateOptparseApplicativeCompletions [ "cabal2nix" ] haskellPackages.cabal2nix
);