diff --git a/pkgs/development/python-modules/PyLD/default.nix b/pkgs/development/python-modules/pyld/default.nix similarity index 91% rename from pkgs/development/python-modules/PyLD/default.nix rename to pkgs/development/python-modules/pyld/default.nix index 5a4741a730a..464065cbc17 100644 --- a/pkgs/development/python-modules/PyLD/default.nix +++ b/pkgs/development/python-modules/pyld/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, fetchFromGitHub, python, requests, gnugrep }: +{ lib, buildPythonPackage, fetchFromGitHub, python, requests }: let @@ -38,7 +38,7 @@ buildPythonPackage rec { ok_min=401 if ! ${python.interpreter} tests/runtests.py -d ${json-ld}/test-suite 2>&1 | tee test.out; then - ok_count=$(${gnugrep}/bin/grep -F '... ok' test.out | wc -l) + ok_count=$(grep -F '... ok' test.out | wc -l) if [[ $ok_count -lt $ok_min ]]; then echo "Less than $ok_min tests passed ($ok_count). Failing the build." exit 1 diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 04f93fd015e..8fd557ce60a 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -117,6 +117,7 @@ mapAliases ({ pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28 pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07 pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20 + PyLD = pyld; # added 2022-06-22 pymc3 = pymc; # added 2022-06-05, module was rename starting with 4.0.0 pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04 pyreadability = readability-lxml; # added 2022-05-24 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9ffa21b2699..516a307b894 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7557,7 +7557,7 @@ in { pylaunches = callPackage ../development/python-modules/pylaunches { }; - PyLD = callPackage ../development/python-modules/PyLD { }; + pyld = callPackage ../development/python-modules/pyld { }; pylev = callPackage ../development/python-modules/pylev { };