pkgs/development/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ mkDerivation, base, containers, fetchgit, hedgehog
|
||||
, optparse-applicative, parsec, stdenv, template-haskell, text
|
||||
, optparse-applicative, parsec, lib, stdenv, template-haskell, text
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "dconf2nix";
|
||||
@@ -20,5 +20,5 @@ mkDerivation {
|
||||
base containers hedgehog parsec template-haskell text
|
||||
];
|
||||
description = "Convert dconf files to Nix, as expected by Home Manager";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
license = lib.licenses.asl20;
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
, hls-tactics-plugin, hslogger, hspec, hspec-core
|
||||
, hspec-expectations, lens, lsp-test, mtl, optparse-applicative
|
||||
, optparse-simple, ormolu, process, regex-tdfa, safe-exceptions
|
||||
, shake, stdenv, stm, stylish-haskell, tasty, tasty-ant-xml
|
||||
, shake, lib, stdenv, stm, stylish-haskell, tasty, tasty-ant-xml
|
||||
, tasty-expected-failure, tasty-golden, tasty-hunit, tasty-rerun
|
||||
, temporary, text, transformers, unordered-containers, with-utf8
|
||||
, yaml
|
||||
@@ -49,5 +49,5 @@ mkDerivation {
|
||||
testToolDepends = [ ghcide ];
|
||||
homepage = "https://github.com/haskell/haskell-language-server#readme";
|
||||
description = "LSP server for GHC";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
license = lib.licenses.asl20;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ mkDerivation, aeson, base, containers, fetchgit, ghc
|
||||
, ghc-exactprint, ghcide, haskell-lsp, hls-plugin-api, lens, shake
|
||||
, stdenv, text, transformers, unordered-containers
|
||||
, lib, stdenv, text, transformers, unordered-containers
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "hls-class-plugin";
|
||||
@@ -17,5 +17,5 @@ mkDerivation {
|
||||
hls-plugin-api lens shake text transformers unordered-containers
|
||||
];
|
||||
description = "Explicit imports plugin for Haskell Language Server";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
license = lib.licenses.asl20;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, extra, fetchgit, filepath, ghc, ghc-boot-th, ghc-paths, ghcide
|
||||
, hashable, haskell-lsp, haskell-lsp-types, hls-plugin-api
|
||||
, parser-combinators, pretty-simple, QuickCheck, safe-exceptions
|
||||
, shake, stdenv, temporary, text, time, transformers
|
||||
, shake, lib, stdenv, temporary, text, time, transformers
|
||||
, unordered-containers
|
||||
}:
|
||||
mkDerivation {
|
||||
@@ -23,5 +23,5 @@ mkDerivation {
|
||||
unordered-containers
|
||||
];
|
||||
description = "Eval plugin for Haskell Language Server";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
license = lib.licenses.asl20;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ mkDerivation, aeson, base, containers, deepseq, fetchgit, ghc
|
||||
, ghcide, haskell-lsp-types, hls-plugin-api, shake, stdenv, text
|
||||
, ghcide, haskell-lsp-types, hls-plugin-api, shake, lib, stdenv, text
|
||||
, unordered-containers
|
||||
}:
|
||||
mkDerivation {
|
||||
@@ -17,5 +17,5 @@ mkDerivation {
|
||||
hls-plugin-api shake text unordered-containers
|
||||
];
|
||||
description = "Explicit imports plugin for Haskell Language Server";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
license = lib.licenses.asl20;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, containers, data-default, deepseq, Diff, directory, extra
|
||||
, fetchgit, filepath, ghc, ghc-lib, ghc-lib-parser-ex, ghcide
|
||||
, hashable, haskell-lsp, hlint, hls-plugin-api, hslogger, lens
|
||||
, regex-tdfa, shake, stdenv, temporary, text, transformers
|
||||
, regex-tdfa, shake, lib, stdenv, temporary, text, transformers
|
||||
, unordered-containers
|
||||
}:
|
||||
mkDerivation {
|
||||
@@ -22,5 +22,5 @@ mkDerivation {
|
||||
regex-tdfa shake temporary text transformers unordered-containers
|
||||
];
|
||||
description = "Hlint integration plugin with Haskell Language Server";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
license = lib.licenses.asl20;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ mkDerivation, aeson, base, containers, deepseq, directory, extra
|
||||
, fetchgit, ghc, ghcide, hashable, haskell-lsp, haskell-lsp-types
|
||||
, hls-plugin-api, retrie, safe-exceptions, shake, stdenv, text
|
||||
, hls-plugin-api, retrie, safe-exceptions, shake, lib, stdenv, text
|
||||
, transformers, unordered-containers
|
||||
}:
|
||||
mkDerivation {
|
||||
@@ -19,5 +19,5 @@ mkDerivation {
|
||||
shake text transformers unordered-containers
|
||||
];
|
||||
description = "Retrie integration plugin for Haskell Language Server";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
license = lib.licenses.asl20;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, directory, extra, fetchgit, filepath, fingertree, generic-lens
|
||||
, ghc, ghc-boot-th, ghc-exactprint, ghc-source-gen, ghcide
|
||||
, haskell-lsp, hie-bios, hls-plugin-api, hspec, hspec-discover
|
||||
, lens, mtl, QuickCheck, refinery, retrie, shake, stdenv, syb, text
|
||||
, lens, mtl, QuickCheck, refinery, retrie, shake, lib, stdenv, syb, text
|
||||
, transformers
|
||||
}:
|
||||
mkDerivation {
|
||||
@@ -28,5 +28,5 @@ mkDerivation {
|
||||
testToolDepends = [ hspec-discover ];
|
||||
description = "Tactics plugin for Haskell Language Server";
|
||||
license = "unknown";
|
||||
hydraPlatforms = stdenv.lib.platforms.none;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchFromGitHub, jshon, electron_3
|
||||
{ lib, stdenv, fetchFromGitHub, jshon, electron_3
|
||||
, runtimeShell, hyper-haskell-server, extra-packages ? [] }:
|
||||
|
||||
let
|
||||
binPath = stdenv.lib.makeBinPath ([ hyper-haskell-server ] ++ extra-packages);
|
||||
binPath = lib.makeBinPath ([ hyper-haskell-server ] ++ extra-packages);
|
||||
electron = electron_3;
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "hyper-haskell";
|
||||
@@ -42,7 +42,7 @@ in stdenv.mkDerivation rec {
|
||||
chmod 755 $out/bin/hyper-haskell
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "The strongly hyped graphical interpreter for the Haskell programming language";
|
||||
homepage = "https://github.com/HeinrichApfelmus/hyper-haskell";
|
||||
license = licenses.bsd3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, writeScriptBin, makeWrapper, buildEnv, haskell, ghcWithPackages, jupyter, packages }:
|
||||
{ lib, stdenv, writeScriptBin, makeWrapper, buildEnv, haskell, ghcWithPackages, jupyter, packages }:
|
||||
let
|
||||
ihaskellEnv = ghcWithPackages (self: [
|
||||
self.ihaskell
|
||||
@@ -9,7 +9,7 @@ let
|
||||
ihaskellSh = writeScriptBin "ihaskell-notebook" ''
|
||||
#! ${stdenv.shell}
|
||||
export GHC_PACKAGE_PATH="$(echo ${ihaskellEnv}/lib/*/package.conf.d| tr ' ' ':'):$GHC_PACKAGE_PATH"
|
||||
export PATH="${stdenv.lib.makeBinPath ([ ihaskellEnv jupyter ])}''${PATH:+:}$PATH"
|
||||
export PATH="${lib.makeBinPath ([ ihaskellEnv jupyter ])}''${PATH:+:}$PATH"
|
||||
${ihaskellEnv}/bin/ihaskell install -l $(${ihaskellEnv}/bin/ghc --print-libdir) && ${jupyter}/bin/jupyter notebook
|
||||
'';
|
||||
in
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ mkDerivation, async, base, bytestring, connection, containers
|
||||
, directory, hpack, hspec, hspec-discover, hspec-expectations
|
||||
, http-client, http-conduit, lens, lens-aeson, megaparsec, mtl
|
||||
, optparse-applicative, parser-combinators, retry, stdenv, text
|
||||
, optparse-applicative, parser-combinators, retry, lib, stdenv, text
|
||||
, unix, unordered-containers, utf8-string, fetchzip, dotenv
|
||||
}:
|
||||
mkDerivation rec {
|
||||
@@ -37,6 +37,6 @@ mkDerivation rec {
|
||||
preConfigure = "hpack";
|
||||
homepage = "https://github.com/channable/vaultenv#readme";
|
||||
description = "Runs processes with secrets from HashiCorp Vault";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
maintainers = with stdenv.lib.maintainers; [ lnl7 manveru ];
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ lnl7 manveru ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user