pkgs/development/interpreters: stdenv.lib -> lib
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, graalvm11-ce, glibcLocales }:
|
||||
{ lib, stdenv, fetchurl, graalvm11-ce, glibcLocales }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "babashka";
|
||||
version = "0.2.3";
|
||||
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||
cp bb $out/bin/bb
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A Clojure babushka for the grey areas of Bash";
|
||||
longDescription = ''
|
||||
The main idea behind babashka is to leverage Clojure in places where you
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, jre, makeWrapper }:
|
||||
{ lib, stdenv, fetchurl, jre, makeWrapper }:
|
||||
|
||||
let version = "0.4.4"; in
|
||||
|
||||
@@ -25,6 +25,6 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "A lightweight IDE for Clojure";
|
||||
homepage = "https://github.com/arthuredelstein/clooj";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, installShellFiles, jdk, rlwrap, makeWrapper }:
|
||||
{ lib, stdenv, fetchurl, installShellFiles, jdk, rlwrap, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clojure";
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
# See https://github.com/clojure/brew-install/blob/1.10.1/src/main/resources/clojure/install/linux-install.sh
|
||||
installPhase =
|
||||
let
|
||||
binPath = stdenv.lib.makeBinPath [ rlwrap jdk ];
|
||||
binPath = lib.makeBinPath [ rlwrap jdk ];
|
||||
in
|
||||
''
|
||||
clojure_lib_dir=$out
|
||||
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
|
||||
-Sverbose \
|
||||
-Scp $out/libexec/clojure-tools-${version}.jar
|
||||
'';
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A Lisp dialect for the JVM";
|
||||
homepage = "https://clojure.org/";
|
||||
license = licenses.epl10;
|
||||
|
||||
Reference in New Issue
Block a user