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,11 +1,11 @@
{ stdenv, fetchurl, pkg-config, glib, bison, flex, gnome3 }:
{ lib, stdenv, fetchurl, pkg-config, glib, bison, flex, gnome3 }:
stdenv.mkDerivation rec {
pname = "gob2";
version = "2.0.20";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "5fe5d7990fd65b0d4b617ba894408ebaa6df453f2781c15a1cfdf2956c0c5428";
};
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Preprocessor for making GObjects with inline C code";
homepage = "https://www.jirka.org/gob.html";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
};
}