pkgs/applications: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 14:24:03 +07:00
parent 2e34288f0d
commit 108bdac3d9
427 changed files with 1160 additions and 1154 deletions
@@ -17,7 +17,7 @@ let
stdenv.mkDerivation rec {
inherit pname version src description;
exec = stdenv.lib.toLower module;
exec = lib.toLower module;
sweethome3dItem = makeDesktopItem {
inherit exec desktopName;
name = pname;
@@ -67,21 +67,21 @@ let
homepage = "http://www.sweethome3d.com/index.jsp";
inherit description;
inherit license;
maintainers = [ stdenv.lib.maintainers.edwtjo ];
platforms = stdenv.lib.platforms.linux;
maintainers = [ lib.maintainers.edwtjo ];
platforms = lib.platforms.linux;
};
};
d2u = stdenv.lib.replaceChars ["."] ["_"];
d2u = lib.replaceChars ["."] ["_"];
in {
application = mkSweetHome3D rec {
pname = stdenv.lib.toLower module + "-application";
pname = lib.toLower module + "-application";
version = "6.4.2";
module = "SweetHome3D";
description = "Design and visualize your future home";
license = stdenv.lib.licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
src = fetchsvn {
url = "https://svn.code.sf.net/p/sweethome3d/code/tags/V_" + d2u version + "/SweetHome3D/";
sha256 = "13rczayakwb5246hqnp8lnw61p0p7ywr2294bnlp4zwsrz1in9z4";
@@ -1,9 +1,9 @@
{ stdenv, fetchcvs, makeWrapper, makeDesktopItem, jdk, jre, ant
{ lib, stdenv, fetchcvs, makeWrapper, makeDesktopItem, jdk, jre, ant
, gtk3, gsettings-desktop-schemas, sweethome3dApp }:
let
sweetExec = with stdenv.lib;
sweetExec = with lib;
m: "sweethome3d-"
+ removeSuffix "libraryeditor" (toLower m)
+ "-editor";
@@ -50,13 +50,13 @@ let
homepage = "http://www.sweethome3d.com/index.jsp";
inherit description;
inherit license;
maintainers = [ stdenv.lib.maintainers.edwtjo ];
platforms = stdenv.lib.platforms.linux;
maintainers = [ lib.maintainers.edwtjo ];
platforms = lib.platforms.linux;
};
};
d2u = stdenv.lib.replaceChars ["."] ["_"];
d2u = lib.replaceChars ["."] ["_"];
in {
@@ -65,7 +65,7 @@ in {
module = "TexturesLibraryEditor";
pname = module;
description = "Easily create SH3T files and edit the properties of the texture images it contain";
license = stdenv.lib.licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
src = fetchcvs {
cvsRoot = ":pserver:anonymous@sweethome3d.cvs.sourceforge.net:/cvsroot/sweethome3d";
sha256 = "15wxdns3hc8yq362x0rj53bcxran2iynxznfcb9js85psd94zq7h";
@@ -80,7 +80,7 @@ in {
module = "FurnitureLibraryEditor";
pname = module;
description = "Quickly create SH3F files and edit the properties of the 3D models it contain";
license = stdenv.lib.licenses.gpl2;
license = lib.licenses.gpl2;
src = fetchcvs {
cvsRoot = ":pserver:anonymous@sweethome3d.cvs.sourceforge.net:/cvsroot/sweethome3d";
sha256 = "0rr4nqil1mngak3ds5vz7f1whrgcgzpk6fb0qcr5ljms0jx0ylvs";