treewide: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-16 17:58:11 +07:00
parent a9bb54359e
commit badf51221d
977 changed files with 2613 additions and 2613 deletions
@@ -1,6 +1,6 @@
{ fetchFromGitHub
, buildPythonPackage
, stdenv
, lib, stdenv
, isPy27
}:
@@ -10,7 +10,7 @@ buildPythonPackage rec {
format = "other";
disabled = !isPy27;
src = fetchFromGitHub {
owner = "travisb-ca";
repo = pname;
@@ -21,7 +21,7 @@ buildPythonPackage rec {
installPhase = ''
mkdir -p $out/share/src
install -m 755 -t $out/share/src nitpick.py
mkdir -p $out/bin
ln -s $out/share/src/nitpick.py $out/bin/nitpick
'';
@@ -34,7 +34,7 @@ buildPythonPackage rec {
follow the code via whatever VCS or distribution mechanism.
'';
homepage = "http://travisbrown.ca/projects/nitpick/docs/nitpick.html";
license = with stdenv.lib.licenses; gpl2;
license = with lib.licenses; gpl2;
maintainers = [];
};
}