pkgs/data: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, nss, python3
|
||||
{ lib, stdenv, fetchurl, nss, python3
|
||||
, blacklist ? []
|
||||
|
||||
# Used for tests only
|
||||
@@ -7,7 +7,7 @@
|
||||
, openssl
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
|
||||
@@ -32,6 +32,6 @@ stdenv.mkDerivation {
|
||||
homepage = "https://github.com/ddccontrol/ddccontrol-db";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.pakhfn ];
|
||||
maintainers = [ lib.maintainers.pakhfn ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Project X-Ray - Xilinx Series 7 Bitstream Documentation";
|
||||
homepage = "https://github.com/SymbiFlow/prjxray-db";
|
||||
license = licenses.cc0;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, unzip, zip, libiconv, perl, aspell, dos2unix
|
||||
{ lib, stdenv, fetchFromGitHub, unzip, zip, libiconv, perl, aspell, dos2unix
|
||||
, singleWordlist ? null
|
||||
}:
|
||||
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ unzip zip perl aspell dos2unix ];
|
||||
buildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
||||
buildInputs = lib.optional (!stdenv.isLinux) libiconv;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
||||
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
export PERL5LIB="$PERL5LIB''${PERL5LIB:+:}$PWD/varcon"
|
||||
'';
|
||||
|
||||
postBuild = stdenv.lib.optionalString (singleWordlist == null) ''
|
||||
postBuild = lib.optionalString (singleWordlist == null) ''
|
||||
(
|
||||
cd scowl/speller
|
||||
make aspell
|
||||
@@ -104,9 +104,9 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
inherit version;
|
||||
description = "Spell checker oriented word lists";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.unix;
|
||||
homepage = "http://wordlist.aspell.net/";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, autoPatchelfHook
|
||||
, python3Packages
|
||||
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Project X-Ray - Xilinx Series 7 Bitstream Documentation";
|
||||
homepage = "https://github.com/SymbiFlow/symbiflow-arch-defs";
|
||||
hydraPlatforms = [];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, pkgconfig, xorgproto}:
|
||||
{lib, stdenv, fetchurl, pkgconfig, xorgproto}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rgb";
|
||||
version = "1.0.6";
|
||||
@@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
inherit version;
|
||||
description = "X11 colorname to RGB mapping database";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.linux;
|
||||
homepage = "http://xorg.freedesktop.org/";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user