translate-shell: stdenv.lib -> lib

Deprecated since nixpkgs 21.05
This commit is contained in:
tv 2021-06-02 01:34:03 +02:00
parent 5b83edb2a5
commit 7e045768bf

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl,pkgs,... }: { fetchurl, lib, pkgs, stdenv }:
let let
s = s =
rec { rec {
@ -8,7 +8,7 @@ let
url=https://github.com/soimort/translate-shell/archive/v0.9.0.9.tar.gz; url=https://github.com/soimort/translate-shell/archive/v0.9.0.9.tar.gz;
sha256="1269j4yr9dr1d8c5kmysbzfplbgdg8apqnzs5w57d29sd7gz2i34"; sha256="1269j4yr9dr1d8c5kmysbzfplbgdg8apqnzs5w57d29sd7gz2i34";
}; };
searchpath = with pkgs; stdenv.lib.makeSearchPath "bin" [ searchpath = with pkgs; lib.makeSearchPath "bin" [
fribidi fribidi
gawk gawk
bash bash
@ -35,9 +35,9 @@ stdenv.mkDerivation {
meta = { meta = {
inherit (s) version; inherit (s) version;
description = ''translate using google api''; description = ''translate using google api'';
license = stdenv.lib.licenses.free; license = lib.licenses.free;
maintainers = [stdenv.lib.maintainers.makefu]; maintainers = [ lib.maintainers.makefu ];
platforms = stdenv.lib.platforms.linux ; platforms = lib.platforms.linux ;
}; };
} }