forked from mirrors/nixpkgs
pkgs/data: stdenv.lib -> lib
This commit is contained in:
parent
0e49ba1b64
commit
4eb185bd6a
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
version = "3.38.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-user-docs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
url = "mirror://gnome/sources/gnome-user-docs/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1h9lyn80zccmgi6gpymabgrcj7km0sb1axll5z490qnx74xbn37m";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl}:
|
||||
{lib, stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "man-pages-posix-2013-a";
|
||||
|
@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "POSIX man-pages (0p, 1p, 3p)";
|
||||
homepage = "https://www.kernel.org/doc/man-pages/";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, meson, ninja, gettext, appstream-glib, gnome3 }:
|
||||
{ lib, stdenv, fetchurl, meson, ninja, gettext, appstream-glib, gnome3 }:
|
||||
|
||||
let
|
||||
pname = "cantarell-fonts";
|
||||
|
@ -7,7 +7,7 @@ in stdenv.mkDerivation rec {
|
|||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "05hpnhihwm9sxlq1qn993g03pwkmpjbn0dvnba71r1gfjv0jp2w5";
|
||||
};
|
||||
|
||||
|
@ -31,8 +31,8 @@ in stdenv.mkDerivation rec {
|
|||
|
||||
meta = {
|
||||
description = "Default typeface used in the user interface of GNOME since version 3.0";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = stdenv.lib.licenses.ofl;
|
||||
maintainers = with stdenv.lib.maintainers; [ ];
|
||||
platforms = lib.platforms.all;
|
||||
license = lib.licenses.ofl;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ fetchFromGitHub, stdenv, fontforge, perl, perlPackages }:
|
||||
{ fetchFromGitHub, lib, stdenv, fontforge, perl, perlPackages }:
|
||||
|
||||
let
|
||||
version = "2.37";
|
||||
|
@ -18,9 +18,9 @@ let
|
|||
# Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
|
||||
# DejaVu changes are in public domain
|
||||
# See http://dejavu-fonts.org/wiki/License for details
|
||||
license = stdenv.lib.licenses.free;
|
||||
license = lib.licenses.free;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
|
||||
full-ttf = stdenv.mkDerivation {
|
||||
|
@ -31,7 +31,7 @@ let
|
|||
src = fetchFromGitHub {
|
||||
owner = "dejavu-fonts";
|
||||
repo = "dejavu-fonts";
|
||||
rev = "version_${stdenv.lib.replaceStrings ["."] ["_"] version}";
|
||||
rev = "version_${lib.replaceStrings ["."] ["_"] version}";
|
||||
sha256 = "1xknlg2h287dx34v2n5r33bpcl4biqf0cv7nak657rjki7s0k4bk";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl } :
|
||||
{ lib, stdenv, fetchurl } :
|
||||
|
||||
let
|
||||
major = "3";
|
||||
|
@ -23,8 +23,8 @@ in fetchurl rec {
|
|||
meta = {
|
||||
description = "Pan-unicode version of Fixedsys, a classic DOS font";
|
||||
homepage = "http://www.fixedsysexcelsior.com/";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = stdenv.lib.licenses.publicDomain;
|
||||
maintainers = [ stdenv.lib.maintainers.ninjatrappeur ];
|
||||
platforms = lib.platforms.all;
|
||||
license = lib.licenses.publicDomain;
|
||||
maintainers = [ lib.maintainers.ninjatrappeur ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ in (fetchgit {
|
|||
description = "The Go font family";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ sternenseemann ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
hydraPlatforms = [];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, dpkg }:
|
||||
{ lib, stdenv, fetchurl, dpkg }:
|
||||
|
||||
let version = "20030809";
|
||||
in
|
||||
|
@ -42,7 +42,7 @@ stdenv.mkDerivation {
|
|||
from the naga10 font.
|
||||
'';
|
||||
homepage = "https://osdn.net/projects/efont/";
|
||||
license = stdenv.lib.licenses.wadalab;
|
||||
maintainers = [ stdenv.lib.maintainers.auntie ];
|
||||
license = lib.licenses.wadalab;
|
||||
maintainers = [ lib.maintainers.auntie ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, unzip, raleway}:
|
||||
{lib, stdenv, fetchurl, unzip, raleway}:
|
||||
|
||||
let
|
||||
|
||||
|
@ -43,9 +43,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
homepage = "https://www.theleagueofmoveabletype.com/";
|
||||
|
||||
license = stdenv.lib.licenses.ofl;
|
||||
license = lib.licenses.ofl;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = with stdenv.lib.maintainers; [ bergey Profpatsch ];
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ bergey Profpatsch ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, unzip }:
|
||||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.2.1";
|
||||
|
@ -39,8 +39,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "A customized version of Apple’s Menlo-Regular font";
|
||||
homepage = "https://github.com/andreberg/Meslo-Font/";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
maintainers = with stdenv.lib.maintainers; [ balajisivaraman ];
|
||||
platforms = with stdenv.lib.platforms; all;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ balajisivaraman ];
|
||||
platforms = with lib.platforms; all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, unzip}:
|
||||
{lib, stdenv, fetchurl, unzip}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "nafees";
|
||||
|
@ -56,7 +56,7 @@ stdenv.mkDerivation {
|
|||
# more like a modified BSD, but still contains the GPLv2 embedded
|
||||
# font exception, and some not-for-resale language.
|
||||
license = "unknown";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = with stdenv.lib.maintainers; [ bergey ];
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ bergey ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, fontforge }:
|
||||
{ lib, stdenv, fetchFromGitHub, fontforge }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "navilu-font";
|
||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
installPhase = "install -Dm444 -t $out/share/fonts/truetype/ Navilu.ttf";
|
||||
|
||||
meta = with stdenv.lib; src.meta // {
|
||||
meta = with lib; src.meta // {
|
||||
description = "A Kannada handwriting font";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.all;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, unzip }:
|
||||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "poly";
|
||||
|
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
|
|||
and languages that use the Latin script and its variants.
|
||||
'';
|
||||
homepage = "http://www.fontsquirrel.com/fonts/poly";
|
||||
license = stdenv.lib.licenses.ofl;
|
||||
maintainers = with stdenv.lib.maintainers; [ relrod ];
|
||||
license = lib.licenses.ofl;
|
||||
maintainers = with lib.maintainers; [ relrod ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl}:
|
||||
{lib, stdenv, fetchurl}:
|
||||
let
|
||||
srcs = [
|
||||
(fetchurl {
|
||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
|||
|
||||
meta = {
|
||||
description = ''Tempora font'';
|
||||
license = stdenv.lib.licenses.gpl2 ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
license = lib.licenses.gpl2 ;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -64,4 +64,4 @@ let
|
|||
};
|
||||
};
|
||||
in
|
||||
stdenv.lib.mapAttrs mkVariant variants
|
||||
lib.mapAttrs mkVariant variants
|
||||
|
|
|
@ -32,7 +32,7 @@ let
|
|||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
in stdenv.lib.mapAttrs mkVariant {
|
||||
in lib.mapAttrs mkVariant {
|
||||
adventor = {
|
||||
version = "2_501";
|
||||
sha256 = "0qjg3x0adfppyx3x33cm07ww9i9sl88xaq07m7wfip8rmyp567fn";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchzip }:
|
||||
{ lib, stdenv, fetchzip }:
|
||||
let
|
||||
pname = "ttf-bitstream-vera";
|
||||
version = "1.10";
|
||||
|
@ -6,7 +6,7 @@ in
|
|||
fetchzip rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.bz2";
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.bz2";
|
||||
|
||||
postFetch = ''
|
||||
tar -xjf $downloadedFile --strip-components=1
|
||||
|
|
|
@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
postPatch = let
|
||||
templateSubstitutions = stdenv.lib.concatStringsSep "; " [
|
||||
templateSubstitutions = lib.concatStringsSep "; " [
|
||||
''s#Noto Color Emoji#Twitter Color Emoji#''
|
||||
''s#NotoColorEmoji#TwitterColorEmoji#''
|
||||
''s#Copyright .* Google Inc\.#Twitter, Inc and other contributors.#''
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ stdenv, fetchurl, perl, kbd, bdftopcf
|
||||
{ lib, stdenv, fetchurl, perl, kbd, bdftopcf
|
||||
, libfaketime, fonttosfnt, mkfontscale
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "uni-vga";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, perl, bdftopcf
|
||||
{ lib, stdenv, fetchurl, perl, bdftopcf
|
||||
, fontforge, SDL, SDL_image, mkfontscale
|
||||
}:
|
||||
|
||||
|
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
|
|||
# Basically GPL2+ with font exception — because of the Unifont-augmented
|
||||
# version. The reduced version is public domain.
|
||||
license = "http://unifoundry.com/LICENSE.txt";
|
||||
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||
maintainers = [ lib.maintainers.raskin ];
|
||||
homepage = "http://pelulamu.net/unscii/";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchzip, cabextract }:
|
||||
{ lib, stdenv, fetchzip, cabextract }:
|
||||
|
||||
fetchzip {
|
||||
name = "vista-fonts-1";
|
||||
|
@ -26,7 +26,7 @@ fetchzip {
|
|||
meta = {
|
||||
description = "Some TrueType fonts from Microsoft Windows Vista (Calibri, Cambria, Candara, Consolas, Constantia, Corbel)";
|
||||
homepage = "http://www.microsoft.com/typography/ClearTypeFonts.mspx";
|
||||
license = stdenv.lib.licenses.unfree; # haven't read the EULA, but we probably can't redistribute these files, so...
|
||||
license = lib.licenses.unfree; # haven't read the EULA, but we probably can't redistribute these files, so...
|
||||
|
||||
# Set a non-zero priority to allow easy overriding of the
|
||||
# fontconfig configuration files.
|
||||
|
|
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
|||
version = "3.12.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-icon-theme/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
url = "mirror://gnome/sources/gnome-icon-theme/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, intltool, pkgconfig, iconnamingutils, imagemagick, librsvg
|
||||
{ lib, stdenv, fetchurl, intltool, pkgconfig, iconnamingutils, imagemagick, librsvg
|
||||
, gtk/*any version*/, gnome-icon-theme, hicolor-icon-theme
|
||||
}:
|
||||
|
||||
|
@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "A basic set of icons";
|
||||
homepage = "http://tango.freedesktop.org/Tango_Icon_Library";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, nss, python3
|
||||
{ lib, stdenv, fetchurl, nss, python3
|
||||
, blacklist ? []
|
||||
|
||||
# Used for tests only
|
||||
|
@ -7,7 +7,7 @@
|
|||
, openssl
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
|
|
|
@ -32,6 +32,6 @@ stdenv.mkDerivation {
|
|||
homepage = "https://github.com/ddccontrol/ddccontrol-db";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.pakhfn ];
|
||||
maintainers = [ lib.maintainers.pakhfn ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Project X-Ray - Xilinx Series 7 Bitstream Documentation";
|
||||
homepage = "https://github.com/SymbiFlow/prjxray-db";
|
||||
license = licenses.cc0;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, unzip, zip, libiconv, perl, aspell, dos2unix
|
||||
{ lib, stdenv, fetchFromGitHub, unzip, zip, libiconv, perl, aspell, dos2unix
|
||||
, singleWordlist ? null
|
||||
}:
|
||||
|
||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
nativeBuildInputs = [ unzip zip perl aspell dos2unix ];
|
||||
buildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
||||
buildInputs = lib.optional (!stdenv.isLinux) libiconv;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
||||
|
||||
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||
export PERL5LIB="$PERL5LIB''${PERL5LIB:+:}$PWD/varcon"
|
||||
'';
|
||||
|
||||
postBuild = stdenv.lib.optionalString (singleWordlist == null) ''
|
||||
postBuild = lib.optionalString (singleWordlist == null) ''
|
||||
(
|
||||
cd scowl/speller
|
||||
make aspell
|
||||
|
@ -104,9 +104,9 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
inherit version;
|
||||
description = "Spell checker oriented word lists";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.unix;
|
||||
homepage = "http://wordlist.aspell.net/";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, autoPatchelfHook
|
||||
, python3Packages
|
||||
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Project X-Ray - Xilinx Series 7 Bitstream Documentation";
|
||||
homepage = "https://github.com/SymbiFlow/symbiflow-arch-defs";
|
||||
hydraPlatforms = [];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, pkgconfig, xorgproto}:
|
||||
{lib, stdenv, fetchurl, pkgconfig, xorgproto}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rgb";
|
||||
version = "1.0.6";
|
||||
|
@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
inherit version;
|
||||
description = "X11 colorname to RGB mapping database";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.linux;
|
||||
homepage = "http://xorg.freedesktop.org/";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, unzip }:
|
||||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
let
|
||||
|
||||
|
@ -32,6 +32,6 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, unzip }:
|
||||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
let
|
||||
|
||||
|
@ -32,6 +32,6 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl}:
|
||||
{lib, stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "docbook-xml-ebnf-1.2b1";
|
||||
|
@ -20,6 +20,6 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, unzip, findXMLCatalogs}:
|
||||
{lib, stdenv, fetchurl, unzip, findXMLCatalogs}:
|
||||
|
||||
let
|
||||
|
||||
|
@ -12,7 +12,7 @@ let
|
|||
in
|
||||
|
||||
import ./generic.nix {
|
||||
inherit stdenv unzip findXMLCatalogs;
|
||||
inherit lib stdenv unzip findXMLCatalogs;
|
||||
name = "docbook-xml-4.1.2";
|
||||
src = fetchurl {
|
||||
url = "http://www.docbook.org/xml/4.1.2/docbkx412.zip";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{stdenv, fetchurl, unzip, findXMLCatalogs}:
|
||||
{lib, stdenv, fetchurl, unzip, findXMLCatalogs}:
|
||||
|
||||
import ./generic.nix {
|
||||
inherit stdenv unzip findXMLCatalogs;
|
||||
inherit lib stdenv unzip findXMLCatalogs;
|
||||
name = "docbook-xml-4.2";
|
||||
src = fetchurl {
|
||||
url = "http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{stdenv, fetchurl, unzip, findXMLCatalogs}:
|
||||
{lib, stdenv, fetchurl, unzip, findXMLCatalogs}:
|
||||
|
||||
import ./generic.nix {
|
||||
inherit stdenv unzip findXMLCatalogs;
|
||||
inherit lib stdenv unzip findXMLCatalogs;
|
||||
name = "docbook-xml-4.3";
|
||||
src = fetchurl {
|
||||
url = "http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{stdenv, fetchurl, unzip, findXMLCatalogs}:
|
||||
{lib, stdenv, fetchurl, unzip, findXMLCatalogs}:
|
||||
|
||||
import ./generic.nix {
|
||||
inherit stdenv unzip findXMLCatalogs;
|
||||
inherit lib stdenv unzip findXMLCatalogs;
|
||||
name = "docbook-xml-4.4";
|
||||
src = fetchurl {
|
||||
url = "http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{stdenv, fetchurl, unzip, findXMLCatalogs}:
|
||||
{lib, stdenv, fetchurl, unzip, findXMLCatalogs}:
|
||||
|
||||
import ./generic.nix {
|
||||
inherit stdenv unzip findXMLCatalogs;
|
||||
inherit lib stdenv unzip findXMLCatalogs;
|
||||
name = "docbook-xml-4.5";
|
||||
src = fetchurl {
|
||||
url = "http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, unzip, src, name, postInstall ? "true", meta ? {}, findXMLCatalogs }:
|
||||
{ lib, stdenv, unzip, src, name, postInstall ? "true", meta ? {}, findXMLCatalogs }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
inherit src name postInstall;
|
||||
|
@ -18,6 +18,6 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
meta = meta // {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, libxml2 }:
|
||||
{ lib, stdenv, fetchurl, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "xhtml1-20020801";
|
||||
|
@ -27,6 +27,6 @@ stdenv.mkDerivation {
|
|||
meta = {
|
||||
homepage = "http://www.w3.org/TR/xhtml1/";
|
||||
description = "DTDs for XHTML 1.0, the Extensible HyperText Markup Language";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue