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

This commit is contained in:
Ben Siraphob
2021-01-21 19:11:02 -08:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, python2, makeWrapper }:
{ lib, stdenv, fetchurl, python2, makeWrapper }:
stdenv.mkDerivation rec {
pname = "lhapdf";
@@ -15,18 +15,18 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
passthru = {
pdf_sets = import ./pdf_sets.nix { inherit stdenv fetchurl; };
pdf_sets = import ./pdf_sets.nix { inherit lib stdenv fetchurl; };
};
postInstall = ''
wrapProgram $out/bin/lhapdf --prefix PYTHONPATH : "$(toPythonPath "$out")"
'';
meta = {
meta = with lib; {
description = "A general purpose interpolator, used for evaluating Parton Distribution Functions from discretised data files";
license = stdenv.lib.licenses.gpl2;
license = licenses.gpl2;
homepage = "http://lhapdf.hepforge.org";
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ veprbl ];
platforms = platforms.unix;
maintainers = with maintainers; [ veprbl ];
};
}