pkgs/development/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-23 19:26:19 +07:00
parent f6a583eeec
commit c522fec274
534 changed files with 1314 additions and 1314 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python, pcsclite, pth }:
{ lib, stdenv, fetchFromGitHub, python, pcsclite, pth }:
stdenv.mkDerivation rec {
pname = "hexio";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
patchPhase = ''
substituteInPlace Makefile \
--replace '-I/usr/local/include/PCSC/' '-I${stdenv.lib.getDev pcsclite}/include/PCSC/' \
--replace '-I/usr/local/include/PCSC/' '-I${lib.getDev pcsclite}/include/PCSC/' \
--replace '-L/usr/local/lib/pth' '-I${pth}/lib/'
'';
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
make DESTDIR=$out PREFIX=/ install
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Low-level I/O helpers for hexadecimal, tty/serial devices and so on";
homepage = "https://github.com/vanrein/hexio";
license = licenses.bsd2;