krebs: stdenv.lib -> lib

This commit is contained in:
tv 2021-10-19 22:51:26 +02:00
parent 411cb36608
commit a9bba92e0e
14 changed files with 32 additions and 32 deletions

View File

@ -1,4 +1,4 @@
{ mkDerivation, aeson, base, fetchgit, stdenv, X11 }: { mkDerivation, aeson, base, fetchgit, lib, X11 }:
mkDerivation { mkDerivation {
pname = "X11-aeson"; pname = "X11-aeson";
version = "1.0.0"; version = "1.0.0";
@ -9,5 +9,5 @@ mkDerivation {
fetchSubmodules = true; fetchSubmodules = true;
}; };
libraryHaskellDepends = [ aeson base X11 ]; libraryHaskellDepends = [ aeson base X11 ];
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
} }

View File

@ -1,4 +1,4 @@
{ mkDerivation, base, fetchgit, hspec, QuickCheck, stdenv, stockholm, text }: { mkDerivation, base, fetchgit, hspec, QuickCheck, lib, stockholm, text }:
with stockholm.lib; with stockholm.lib;
let let
@ -24,5 +24,5 @@ in mkDerivation {
testHaskellDepends = [ base hspec QuickCheck ]; testHaskellDepends = [ base hspec QuickCheck ];
doHaddock = false; doHaddock = false;
# WTFPL is the true license, which is unknown to cabal. # WTFPL is the true license, which is unknown to cabal.
license = stdenv.lib.licenses.wtfpl; license = lib.licenses.wtfpl;
} }

View File

@ -2,7 +2,7 @@
, case-insensitive, conduit, containers, directory, feed, filepath , case-insensitive, conduit, containers, directory, feed, filepath
, hashable, hslogger, html-entity, http-client, irc-conduit, lens , hashable, hslogger, html-entity, http-client, irc-conduit, lens
, lrucache, lrucaching, network, optparse-applicative, random, safe , lrucache, lrucaching, network, optparse-applicative, random, safe
, stdenv, text, time, timerep, wreq , lib, text, time, timerep, wreq
, fetchFromGitHub , fetchFromGitHub
}: }:
mkDerivation rec { mkDerivation rec {
@ -22,5 +22,5 @@ mkDerivation rec {
http-client irc-conduit lens lrucache lrucaching network http-client irc-conduit lens lrucache lrucaching network
optparse-applicative random safe text time timerep wreq optparse-applicative random safe text time timerep wreq
]; ];
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
} }

View File

@ -1,6 +1,6 @@
{ mkDerivation, attoparsec, base, base64-bytestring, bytestring { mkDerivation, attoparsec, base, base64-bytestring, bytestring
, case-insensitive, containers, exceptions, fetchgit, QuickCheck , case-insensitive, containers, exceptions, fetchgit, QuickCheck
, stdenv, stockholm, tasty, tasty-quickcheck, text, text-icu, time , lib, stockholm, tasty, tasty-quickcheck, text, text-icu, time
}: }:
with stockholm.lib; with stockholm.lib;
@ -42,5 +42,5 @@ in mkDerivation {
jailbreak = true; jailbreak = true;
homepage = "http://github.com/knrafto/email-header"; homepage = "http://github.com/knrafto/email-header";
description = "Parsing and rendering of email and MIME headers"; description = "Parsing and rendering of email and MIME headers";
license = stdenv.lib.licenses.bsd3; license = lib.licenses.bsd3;
} }

View File

@ -1,6 +1,5 @@
{ mkDerivation, base, blessings, containers, data-default, fetchgit { mkDerivation, base, blessings, containers, data-default, fetchgit
, lens, mtl, old-locale, process, scanner, stdenv, time, unix , lens, lib, mtl, old-locale, process, scanner, time, unix, zippers
, zippers
}: }:
mkDerivation { mkDerivation {
pname = "hack"; pname = "hack";
@ -18,5 +17,5 @@ mkDerivation {
base blessings containers data-default lens mtl old-locale process base blessings containers data-default lens mtl old-locale process
scanner time unix zippers scanner time unix zippers
]; ];
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
} }

View File

@ -1,5 +1,5 @@
{ mkDerivation, async, base, bytestring, fetchgit, network { mkDerivation, async, base, bytestring, fetchgit, lib, network
, optparse-applicative, stdenv, text , optparse-applicative, text
}: }:
mkDerivation { mkDerivation {
pname = "kirk"; pname = "kirk";
@ -8,6 +8,7 @@ mkDerivation {
url = "http://cgit.krebsco.de/kirk"; url = "http://cgit.krebsco.de/kirk";
sha256 = "1acsmmc485c54axpy9bd0320j18hs261vl1vdxns4n04sxzqd7k0"; sha256 = "1acsmmc485c54axpy9bd0320j18hs261vl1vdxns4n04sxzqd7k0";
rev = "cdf3cb373af8f9b03a9487a63eb32e0226913589"; rev = "cdf3cb373af8f9b03a9487a63eb32e0226913589";
fetchSubmodules = true;
}; };
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
@ -17,5 +18,5 @@ mkDerivation {
executableHaskellDepends = [ executableHaskellDepends = [
async base network optparse-applicative text async base network optparse-applicative text
]; ];
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
} }

View File

@ -2,9 +2,9 @@
, blaze-builder, blessings, bytestring, case-insensitive , blaze-builder, blessings, bytestring, case-insensitive
, containers, data-default, deepseq, directory, either , containers, data-default, deepseq, directory, either
, email-header, fetchgit, filepath, friendly-time, http-types , email-header, fetchgit, filepath, friendly-time, http-types
, hyphenation, linebreak, network, old-locale, optparse-applicative , hyphenation, lib, linebreak, network, old-locale
, process, random, rosezipper, safe, scanner, servant-server, split , optparse-applicative, process, random, rosezipper, safe, scanner
, stdenv, terminal-size, text, time, transformers , servant-server, split, terminal-size, text, time, transformers
, transformers-compat, unix, vector, wai, warp , transformers-compat, unix, vector, wai, warp
}: }:
mkDerivation { mkDerivation {
@ -32,5 +32,5 @@ mkDerivation {
data-default deepseq directory filepath hyphenation linebreak data-default deepseq directory filepath hyphenation linebreak
process rosezipper safe scanner text time transformers unix process rosezipper safe scanner text time transformers unix
]; ];
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
} }

View File

@ -1,5 +1,5 @@
{ mkDerivation, base, bloomfilter, bytestring, feed, fetchgit, lens { mkDerivation, base, bloomfilter, bytestring, feed, fetchgit, lens
, stdenv, wreq , lib, wreq
}: }:
mkDerivation { mkDerivation {
pname = "news"; pname = "news";
@ -14,5 +14,5 @@ mkDerivation {
executableHaskellDepends = [ executableHaskellDepends = [
base bloomfilter bytestring feed lens wreq base bloomfilter bytestring feed lens wreq
]; ];
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
} }

View File

@ -2,7 +2,7 @@
, bytestring, containers, data-default, fetchgit, filepath , bytestring, containers, data-default, fetchgit, filepath
, hashable, lens, lens-aeson, network, network-simple , hashable, lens, lens-aeson, network, network-simple
, network-simple-tls, network-uri, pcre-light, process, random , network-simple-tls, network-uri, pcre-light, process, random
, servant-server, stdenv, string-conversions, stringsearch, text , servant-server, lib, string-conversions, stringsearch, text
, time, transformers, unagi-chan, unix, unordered-containers , time, transformers, unagi-chan, unix, unordered-containers
, vector, wai, warp , vector, wai, warp
}: }:
@ -24,5 +24,5 @@ mkDerivation rec {
random servant-server string-conversions stringsearch text time random servant-server string-conversions stringsearch text time
transformers unagi-chan unix unordered-containers vector wai warp transformers unagi-chan unix unordered-containers vector wai warp
]; ];
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
} }

View File

@ -1,6 +1,6 @@
{ mkDerivation, ansi-terminal, async, base, binary, bytestring { mkDerivation, ansi-terminal, async, base, binary, bytestring
, data-default, directory, filepath, megaparsec , data-default, directory, filepath, megaparsec
, optparse-applicative, pandoc, random, safe, scalpel, stdenv, text , optparse-applicative, pandoc, random, safe, scalpel, lib, text
, time , time
, fetchFromGitHub , fetchFromGitHub
}: }:
@ -21,5 +21,5 @@ mkDerivation rec {
filepath megaparsec optparse-applicative pandoc random safe scalpel filepath megaparsec optparse-applicative pandoc random safe scalpel
text time text time
]; ];
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
} }

View File

@ -1,4 +1,4 @@
{ mkDerivation, base, fetchgit, stdenv }: { mkDerivation, base, fetchgit, lib }:
mkDerivation { mkDerivation {
pname = "scanner"; pname = "scanner";
version = "1.0.1"; version = "1.0.1";
@ -9,5 +9,5 @@ mkDerivation {
fetchSubmodules = true; fetchSubmodules = true;
}; };
libraryHaskellDepends = [ base ]; libraryHaskellDepends = [ base ];
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
} }

View File

@ -1,4 +1,4 @@
{ mkDerivation, aeson, base, fetchgit, stdenv, X11-aeson, xmonad }: { mkDerivation, aeson, base, fetchgit, lib, X11-aeson, xmonad }:
mkDerivation { mkDerivation {
pname = "xmonad-aeson"; pname = "xmonad-aeson";
version = "1.0.0"; version = "1.0.0";
@ -9,5 +9,5 @@ mkDerivation {
fetchSubmodules = true; fetchSubmodules = true;
}; };
libraryHaskellDepends = [ aeson base X11-aeson xmonad ]; libraryHaskellDepends = [ aeson base X11-aeson xmonad ];
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
} }

View File

@ -1,4 +1,4 @@
{ mkDerivation, base, containers, fetchgit, filepath, stdenv, unix, X11, X11-xft , X11-xshape, xmonad, xmonad-contrib { mkDerivation, base, containers, fetchgit, filepath, lib, unix, X11, X11-xft , X11-xshape, xmonad, xmonad-contrib
}: }:
mkDerivation rec { mkDerivation rec {
pname = "xmonad-stockholm"; pname = "xmonad-stockholm";
@ -11,5 +11,5 @@ mkDerivation rec {
libraryHaskellDepends = [ libraryHaskellDepends = [
base containers filepath unix X11 X11-xft X11-xshape xmonad xmonad-contrib base containers filepath unix X11 X11-xft X11-xshape xmonad xmonad-contrib
]; ];
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
} }

View File

@ -1,4 +1,4 @@
{ stdenv { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytest , pytest
@ -22,7 +22,7 @@ buildPythonPackage rec {
# Package supports 3.x, but tests are clearly 2.x only. # Package supports 3.x, but tests are clearly 2.x only.
doCheck = !isPy3k; doCheck = !isPy3k;
meta = with stdenv.lib; { meta = with lib; {
description = "Non-validating SQL parser for Python"; description = "Non-validating SQL parser for Python";
longDescription = '' longDescription = ''
Provides support for parsing, splitting and formatting SQL statements. Provides support for parsing, splitting and formatting SQL statements.