pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ zlib ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
++ lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
install -Dm755 gopro -t $out/bin
|
||||
wrapProgram $out/bin/gopro \
|
||||
--prefix PATH ":" "${stdenv.lib.makeBinPath [ ffmpeg_3 imagemagick mplayer ]}"
|
||||
--prefix PATH ":" "${lib.makeBinPath [ ffmpeg_3 imagemagick mplayer ]}"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, fetchpatch, zlib
|
||||
{ lib, stdenv, fetchgit, fetchpatch, zlib
|
||||
, gnutlsSupport ? false, gnutls ? null, nettle ? null
|
||||
, opensslSupport ? true, openssl ? null
|
||||
}:
|
||||
@@ -8,7 +8,7 @@ assert (gnutlsSupport || opensslSupport);
|
||||
assert gnutlsSupport -> gnutlsSupport != null && nettle != null && !opensslSupport;
|
||||
assert opensslSupport -> openssl != null && !gnutlsSupport;
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation {
|
||||
pname = "rtmpdump";
|
||||
version = "2019-03-30";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl
|
||||
{ lib, stdenv, fetchurl
|
||||
, pkgconfig, libxslt, freetype, libpng, libxml2
|
||||
}:
|
||||
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "An xml2swf and swf2xml processor with import functionalities";
|
||||
homepage = "http://swfmill.org";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, freetype, libjpeg, libungif, zlib }:
|
||||
{ lib, stdenv, fetchurl, freetype, libjpeg, libungif, zlib }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "swftools";
|
||||
version = "0.9.2";
|
||||
@@ -19,6 +19,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "http://www.swftools.org/about.html";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.koral ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pythonPackages }:
|
||||
{ lib, stdenv, fetchurl, pythonPackages }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "vnc2flv";
|
||||
@@ -15,6 +15,6 @@ pythonPackages.buildPythonApplication rec {
|
||||
meta = {
|
||||
description = "Tool to record VNC sessions to Flash Video";
|
||||
homepage = "http://www.unixuser.org/~euske/python/vnc2flv/";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libX11, xorgproto, imake, gccmakedep, libXt, libXmu
|
||||
{ lib, stdenv, fetchurl, libX11, xorgproto, imake, gccmakedep, libXt, libXmu
|
||||
, libXaw, libXext, libSM, libICE, libXpm, libXp
|
||||
}:
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "VNC recorder";
|
||||
homepage = "http://ronja.twibright.com/utils/vncrec/";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user