pkgs/development: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-24 00:15:07 +07:00
parent ec334a1b01
commit 2f78ee7e81
121 changed files with 324 additions and 322 deletions

View File

@@ -1,11 +1,11 @@
{ stdenv, maven, pkgs }:
{ lib, stdenv, maven, pkgs }:
{ mavenDeps, src, name, meta, m2Path, skipTests ? true, quiet ? true, ... }:
with builtins;
with stdenv.lib;
with lib;
let
mavenMinimal = import ./maven-minimal.nix { inherit pkgs stdenv; };
mavenMinimal = import ./maven-minimal.nix { inherit lib pkgs stdenv; };
in stdenv.mkDerivation rec {
inherit mavenDeps src name meta m2Path;

View File

@@ -1,4 +1,4 @@
{ stdenv, pkgs, mavenbuild, fetchMaven }:
{ lib, stdenv, pkgs, mavenbuild, fetchMaven }:
with pkgs.javaPackages;
@@ -21,9 +21,9 @@ in rec {
meta = {
homepage = "https://junit.org/junit4/";
description = "Simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks";
license = stdenv.lib.licenses.epl10;
platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers;
license = lib.licenses.epl10;
platforms = lib.platforms.all;
maintainers = with lib.maintainers;
[ nequissimus ];
};
};

View File

@@ -1,4 +1,4 @@
{ stdenv, pkgs, mavenbuild }:
{ lib, stdenv, pkgs, mavenbuild }:
with pkgs.javaPackages;
@@ -20,9 +20,9 @@ in rec {
meta = {
homepage = "https://github.com/NeQuissimus/maven-hello/";
description = "Maven Hello World";
license = stdenv.lib.licenses.unlicense;
platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers;
license = lib.licenses.unlicense;
platforms = lib.platforms.all;
maintainers = with lib.maintainers;
[ nequissimus ];
};
};

View File

@@ -1,6 +1,6 @@
{ stdenv, pkgs }:
{ lib, stdenv, pkgs }:
with stdenv.lib;
with lib;
with pkgs.javaPackages;
let