pkgs/data: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "adapta-kde-theme";
|
||||
@@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A port of the Adapta theme for Plasma";
|
||||
homepage = "https://git.io/adapta-kde";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.tadfisher ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.tadfisher ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "Albatross";
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A desktop Suite for Xfce";
|
||||
homepage = "https://github.com/shimmerproject/Albatross";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "arc-kde-theme";
|
||||
@@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A port of the arc theme for Plasma";
|
||||
homepage = "https://git.io/arc-kde";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.nixy ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.nixy ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, gtk-engine-murrine }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, gtk-engine-murrine }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "Blackbird";
|
||||
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Dark Desktop Suite for Gtk, Xfce and Metacity";
|
||||
homepage = "https://github.com/shimmerproject/Blackbird";
|
||||
license = with stdenv.lib.licenses; [ gpl2Plus cc-by-nc-sa-30 ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.romildo ];
|
||||
license = with lib.licenses; [ gpl2Plus cc-by-nc-sa-30 ];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "e17gtk";
|
||||
@@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "An Enlightenment-like GTK theme with sharp corners";
|
||||
homepage = "https://github.com/tsujan/E17gtk";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.romildo ];
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
patchShebangs install.sh
|
||||
sed -i install.sh \
|
||||
-e "s|if .*which gnome-shell.*;|if true;|" \
|
||||
-e "s|CURRENT_GS_VERSION=.*$|CURRENT_GS_VERSION=${stdenv.lib.versions.majorMinor gnome3.gnome-shell.version}|"
|
||||
-e "s|CURRENT_GS_VERSION=.*$|CURRENT_GS_VERSION=${lib.versions.majorMinor gnome3.gnome-shell.version}|"
|
||||
mkdir -p $out/share/themes
|
||||
./install.sh --dest $out/share/themes
|
||||
rm $out/share/themes/*/COPYING
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit }:
|
||||
{ lib, stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gnome-breeze-20160526";
|
||||
@@ -17,9 +17,9 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "A GTK theme built to match KDE's breeze theme";
|
||||
homepage = "https://github.com/dirruk1/gnome-breeze";
|
||||
license = stdenv.lib.licenses.lgpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ bennofs ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.lgpl2;
|
||||
maintainers = with lib.maintainers; [ bennofs ];
|
||||
platforms = lib.platforms.all;
|
||||
hydraPlatforms = [];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
mesonFlags = [
|
||||
"-D gnome_version=${stdenv.lib.versions.majorMinor gnome3.gnome-shell.version}"
|
||||
"-D gnome_version=${lib.versions.majorMinor gnome3.gnome-shell.version}"
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
dontBuild = true;
|
||||
|
||||
mesonFlags = [
|
||||
"-Dgnome_shell_version=${stdenv.lib.versions.majorMinor gnome3.gnome-shell.version}"
|
||||
"-Dgnome_shell_version=${lib.versions.majorMinor gnome3.gnome-shell.version}"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, gtk-engine-murrine }:
|
||||
{ lib, stdenv, fetchurl, gtk-engine-murrine }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "2017-04-24";
|
||||
@@ -23,8 +23,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Gray variation of Numix theme";
|
||||
homepage = "https://www.gnome-look.org/p/1117412/";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.sauyon ];
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ lib.maintainers.sauyon ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, sass, glib, libxml2, gdk-pixbuf
|
||||
{ lib, stdenv, fetchFromGitHub, sass, glib, libxml2, gdk-pixbuf
|
||||
, gtk-engine-murrine
|
||||
}:
|
||||
|
||||
@@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Modern flat theme with a combination of light and dark elements (GNOME, Unity, Xfce and Openbox)";
|
||||
homepage = "https://numixproject.github.io";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.romildo ];
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, icon-slicer, xcursorgen }:
|
||||
{ lib, stdenv, fetchFromGitHub, icon-slicer, xcursorgen }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openzone-cursors";
|
||||
version = "1.2.9";
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Clean and sharp X11/Wayland cursor theme";
|
||||
homepage = "https://www.gnome-look.org/p/999999/";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, gtk-engine-murrine }:
|
||||
{ lib, stdenv, fetchFromGitHub, gtk-engine-murrine }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "orion";
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/shimmerproject/Orion";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,8 +39,8 @@ stdenv.mkDerivation rec {
|
||||
libxml2
|
||||
glib.dev
|
||||
]
|
||||
++ stdenv.lib.optionals mateSupport [ gtk3 marco ]
|
||||
++ stdenv.lib.optional telegramSupport zip;
|
||||
++ lib.optionals mateSupport [ gtk3 marco ]
|
||||
++ lib.optional telegramSupport zip;
|
||||
|
||||
buildInputs = [
|
||||
gdk-pixbuf
|
||||
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags =
|
||||
let
|
||||
inherit (stdenv.lib) enableFeature optional;
|
||||
inherit (lib) enableFeature optional;
|
||||
withOptional = value: feat: optional (value != null) "--with-${feat}=${value}";
|
||||
in [
|
||||
"--enable-parallel"
|
||||
|
||||
Reference in New Issue
Block a user