Merge branch 'master' into staging
This commit is contained in:
commit
6338c50a84
@ -2,31 +2,55 @@
|
|||||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
xml:id="sec-language-qt">
|
xml:id="sec-language-qt">
|
||||||
|
|
||||||
<title>Qt and KDE</title>
|
<title>Qt</title>
|
||||||
|
|
||||||
<para>Qt is a comprehensive desktop and mobile application development toolkit for C++. Legacy support is available for Qt 3 and Qt 4, but all current development uses Qt 5. The Qt 5 packages in Nixpkgs are updated frequently to take advantage of new features, but older versions are typically retained to support packages that may not be compatible with the latest version. When packaging applications and libraries for Nixpkgs, it is important to ensure that compatible versions of Qt 5 are used throughout; this consideration motivates the tools described below.</para>
|
<para>
|
||||||
|
Qt is a comprehensive desktop and mobile application development toolkit for C++.
|
||||||
|
Legacy support is available for Qt 3 and Qt 4, but all current development uses Qt 5.
|
||||||
|
The Qt 5 packages in Nixpkgs are updated frequently to take advantage of new features,
|
||||||
|
but older versions are typically retained until their support window ends.
|
||||||
|
The most important consideration in packaging Qt-based software is ensuring that each package and all its dependencies use the same version of Qt 5;
|
||||||
|
this consideration motivates most of the tools described below.
|
||||||
|
</para>
|
||||||
|
|
||||||
<section xml:id="ssec-qt-libraries"><title>Libraries</title>
|
<section xml:id="ssec-qt-libraries"><title>Packaging Libraries for Nixpkgs</title>
|
||||||
|
|
||||||
<para>Libraries that depend on Qt 5 should be built with each available version to avoid linking a dependent package against incompatible versions of Qt 5. (Although Qt 5 maintains backward ABI compatibility, linking against multiple versions at once is generally not possible; at best it will lead to runtime faults.) Packages that provide libraries should be added to the top-level function <varname>mkLibsForQt5</varname>, which is used to build a set of libraries for every Qt 5 version. The <varname>callPackage</varname> provided in this scope will ensure that only one Qt version will be used throughout the dependency tree. Dependencies should be imported unqualified, i.e. <literal>qtbase</literal> not <literal>qt5.qtbase</literal>, so that <varname>callPackage</varname> can do its work. <emphasis>Do not</emphasis> import a package set such as <literal>qt5</literal> or <literal>libsForQt5</literal> into your package; although it may work fine in the moment, it could well break at the next Qt update.</para>
|
<para>
|
||||||
|
Whenever possible, libraries that use Qt 5 should be built with each available version.
|
||||||
|
Packages providing libraries should be added to the top-level function <varname>mkLibsForQt5</varname>,
|
||||||
|
which is used to build a set of libraries for every Qt 5 version.
|
||||||
|
A special <varname>callPackage</varname> function is used in this scope to ensure that the entire dependency tree uses the same Qt 5 version.
|
||||||
|
Import dependencies unqualified, i.e., <literal>qtbase</literal> not <literal>qt5.qtbase</literal>.
|
||||||
|
<emphasis>Do not</emphasis> import a package set such as <literal>qt5</literal> or <literal>libsForQt5</literal>.
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>If a library does not support a particular version of Qt 5, it is best to mark it as broken by setting its <literal>meta.broken</literal> attribute. A package may be marked broken for certain versions by testing the <literal>qtbase.version</literal> attribute, which will always give the current Qt 5 version.</para>
|
<para>
|
||||||
|
If a library does not support a particular version of Qt 5, it is best to mark it as broken by setting its <literal>meta.broken</literal> attribute.
|
||||||
|
A package may be marked broken for certain versions by testing the <literal>qtbase.version</literal> attribute, which will always give the current Qt 5 version.
|
||||||
|
</para>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section xml:id="ssec-qt-applications"><title>Applications</title>
|
<section xml:id="ssec-qt-applications"><title>Packaging Applications for Nixpkgs</title>
|
||||||
|
|
||||||
<para>Applications generally do not need to be built with every Qt version because they do not provide any libraries for dependent packages to link against. The primary consideration is merely ensuring that the application itself and its dependencies are linked against only one version of Qt. To call your application expression, use <literal>libsForQt5.callPackage</literal> instead of <literal>callPackage</literal>. Dependencies should be imported unqualified, i.e. <literal>qtbase</literal> not <literal>qt5.qtbase</literal>. <emphasis>Do not</emphasis> import a package set such as <literal>qt5</literal> or <literal>libsForQt5</literal> into your package; although it may work fine in the moment, it could well break at the next Qt update.</para>
|
<para>
|
||||||
|
Call your application expression using <literal>libsForQt5.callPackage</literal> instead of <literal>callPackage</literal>.
|
||||||
|
Import dependencies unqualified, i.e., <literal>qtbase</literal> not <literal>qt5.qtbase</literal>.
|
||||||
|
<emphasis>Do not</emphasis> import a package set such as <literal>qt5</literal> or <literal>libsForQt5</literal>.
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>It is generally best to build an application package against the <varname>libsForQt5</varname> library set. In case a package does not build with the latest Qt version, it is possible to pick a set pinned to a particular version, e.g. <varname>libsForQt55</varname> for Qt 5.5, if that is the latest version the package supports.</para>
|
<para>
|
||||||
|
Qt 5 maintains strict backward compatibility, so it is generally best to build an application package against the latest version using the <varname>libsForQt5</varname> library set.
|
||||||
|
In case a package does not build with the latest Qt version, it is possible to pick a set pinned to a particular version, e.g. <varname>libsForQt55</varname> for Qt 5.5, if that is the latest version the package supports.
|
||||||
|
If a package must be pinned to an older Qt version, be sure to file a bug upstream;
|
||||||
|
because Qt is strictly backwards-compatible, any incompatibility is by definition a bug in the application.
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>Qt-based applications require that several paths be set at runtime. This is accomplished by wrapping the provided executables in a package with <literal>wrapQtProgram</literal> or <literal>makeQtWrapper</literal> during the <literal>postFixup</literal> phase. To use the wrapper generators, add <literal>makeQtWrapper</literal> to <literal>nativeBuildInputs</literal>. The wrapper generators support the same options as <literal>wrapProgram</literal> and <literal>makeWrapper</literal> respectively. It is usually only necessary to generate wrappers for programs intended to be invoked by the user.</para>
|
<para>
|
||||||
|
When testing applications in Nixpkgs, it is a common practice to build the package with <literal>nix-build</literal> and run it using the created symbolic link.
|
||||||
</section>
|
This will not work with Qt applications, however, because they have many hard runtime requirements that can only be guaranteed if the package is actually installed.
|
||||||
|
To test a Qt application, install it with <literal>nix-env</literal> or run it inside <literal>nix-shell</literal>.
|
||||||
<section xml:id="ssec-qt-kde"><title>KDE</title>
|
</para>
|
||||||
|
|
||||||
<para>The KDE Frameworks are a set of libraries for Qt 5 which form the basis of the Plasma desktop environment and the KDE Applications suite. Packaging a Frameworks-based library does not require any steps beyond those described above for general Qt-based libraries. Frameworks-based applications should not use <literal>makeQtWrapper</literal>; instead, use <literal>kdeWrapper</literal> to create the necessary wrappers: <literal>kdeWrapper { unwrapped = <replaceable>expr</replaceable>; targets = <replaceable>exes</replaceable>; }</literal>, where <replaceable>expr</replaceable> is the un-wrapped package expression and <replaceable>exes</replaceable> is a list of strings giving the relative paths to programs in the package which should be wrapped.</para>
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -318,7 +318,13 @@ containing some shell commands to be executed, or by redefining the
|
|||||||
shell function
|
shell function
|
||||||
<varname><replaceable>name</replaceable>Phase</varname>. The former
|
<varname><replaceable>name</replaceable>Phase</varname>. The former
|
||||||
is convenient to override a phase from the derivation, while the
|
is convenient to override a phase from the derivation, while the
|
||||||
latter is convenient from a build script.</para>
|
latter is convenient from a build script.
|
||||||
|
|
||||||
|
However, typically one only wants to <emphasis>add</emphasis> some
|
||||||
|
commands to a phase, e.g. by defining <literal>postInstall</literal>
|
||||||
|
or <literal>preFixup</literal>, as skipping some of the default actions
|
||||||
|
may have unexpected consequences.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<section xml:id="ssec-controlling-phases"><title>Controlling
|
<section xml:id="ssec-controlling-phases"><title>Controlling
|
||||||
|
@ -104,6 +104,15 @@ rmdir /var/lib/ipfs/.ipfs
|
|||||||
<literal>dataDir</literal>.
|
<literal>dataDir</literal>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The <literal>ssh-agent</literal> user service is not started by default
|
||||||
|
anymore. Use <literal>programs.ssh.startAgent</literal> to enable it if
|
||||||
|
needed. There is also a new <literal>programs.gnupg.agent</literal>
|
||||||
|
module that creates a <literal>gpg-agent</literal> user service. It can
|
||||||
|
also serve as a SSH agent if <literal>enableSSHSupport</literal> is set.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
|
|
||||||
|
@ -219,8 +219,8 @@ sub waitForMonitorPrompt {
|
|||||||
sub retry {
|
sub retry {
|
||||||
my ($coderef) = @_;
|
my ($coderef) = @_;
|
||||||
my $n;
|
my $n;
|
||||||
for ($n = 0; $n < 900; $n++) {
|
for ($n = 899; $n >=0; $n--) {
|
||||||
return if &$coderef;
|
return if &$coderef($n);
|
||||||
sleep 1;
|
sleep 1;
|
||||||
}
|
}
|
||||||
die "action timed out after $n seconds";
|
die "action timed out after $n seconds";
|
||||||
@ -518,6 +518,12 @@ sub waitUntilTTYMatches {
|
|||||||
|
|
||||||
$self->nest("waiting for $regexp to appear on tty $tty", sub {
|
$self->nest("waiting for $regexp to appear on tty $tty", sub {
|
||||||
retry sub {
|
retry sub {
|
||||||
|
my ($retries_remaining) = @_;
|
||||||
|
if ($retries_remaining == 0) {
|
||||||
|
$self->log("Last chance to match /$regexp/ on TTY$tty, which currently contains:");
|
||||||
|
$self->log($self->getTTYText($tty));
|
||||||
|
}
|
||||||
|
|
||||||
return 1 if $self->getTTYText($tty) =~ /$regexp/;
|
return 1 if $self->getTTYText($tty) =~ /$regexp/;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -566,6 +572,12 @@ sub waitForText {
|
|||||||
my ($self, $regexp) = @_;
|
my ($self, $regexp) = @_;
|
||||||
$self->nest("waiting for $regexp to appear on the screen", sub {
|
$self->nest("waiting for $regexp to appear on the screen", sub {
|
||||||
retry sub {
|
retry sub {
|
||||||
|
my ($retries_remaining) = @_;
|
||||||
|
if ($retries_remaining == 0) {
|
||||||
|
$self->log("Last chance to match /$regexp/ on the screen, which currently contains:");
|
||||||
|
$self->log($self->getScreenText);
|
||||||
|
}
|
||||||
|
|
||||||
return 1 if $self->getScreenText =~ /$regexp/;
|
return 1 if $self->getScreenText =~ /$regexp/;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -600,6 +612,13 @@ sub waitForWindow {
|
|||||||
$self->nest("waiting for a window to appear", sub {
|
$self->nest("waiting for a window to appear", sub {
|
||||||
retry sub {
|
retry sub {
|
||||||
my @names = $self->getWindowNames;
|
my @names = $self->getWindowNames;
|
||||||
|
|
||||||
|
my ($retries_remaining) = @_;
|
||||||
|
if ($retries_remaining == 0) {
|
||||||
|
$self->log("Last chance to match /$regexp/ on the the window list, which currently contains:");
|
||||||
|
$self->log(join(", ", @names));
|
||||||
|
}
|
||||||
|
|
||||||
foreach my $n (@names) {
|
foreach my $n (@names) {
|
||||||
return 1 if $n =~ /$regexp/;
|
return 1 if $n =~ /$regexp/;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
x86_64-linux = "/nix/store/qiiwjyc338xigks5wqyxn0nnqiwy7xav-nix-1.11.10";
|
x86_64-linux = "/nix/store/crqd5wmrqipl4n1fcm5kkc1zg4sj80js-nix-1.11.11";
|
||||||
i686-linux = "/nix/store/30fi96qqggjs51c5085y3fiws0a3wdcl-nix-1.11.10";
|
i686-linux = "/nix/store/wsjn14xp5ja509d4dxb1c78zhirw0b5x-nix-1.11.11";
|
||||||
x86_64-darwin = "/nix/store/zs6msqwjgjr9v9kbs5s0sap7vhdw692z-nix-1.11.10";
|
x86_64-darwin = "/nix/store/zqkqnhk85g2shxlpb04y72h1i3db3gpl-nix-1.11.11";
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ in
|
|||||||
|
|
||||||
startAgent = mkOption {
|
startAgent = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to start the OpenSSH agent when you log in. The OpenSSH agent
|
Whether to start the OpenSSH agent when you log in. The OpenSSH agent
|
||||||
remembers private keys for you so that you don't have to type in
|
remembers private keys for you so that you don't have to type in
|
||||||
|
@ -344,7 +344,7 @@ in
|
|||||||
{ wantedBy = [ "multi-user.target" ];
|
{ wantedBy = [ "multi-user.target" ];
|
||||||
requires = [ "hydra-init.service" ];
|
requires = [ "hydra-init.service" ];
|
||||||
after = [ "hydra-init.service" "network.target" ];
|
after = [ "hydra-init.service" "network.target" ];
|
||||||
path = [ cfg.package pkgs.nettools ];
|
path = with pkgs; [ cfg.package nettools jq ];
|
||||||
environment = env;
|
environment = env;
|
||||||
serviceConfig =
|
serviceConfig =
|
||||||
{ ExecStart = "@${cfg.package}/bin/hydra-evaluator hydra-evaluator";
|
{ ExecStart = "@${cfg.package}/bin/hydra-evaluator hydra-evaluator";
|
||||||
|
@ -10,6 +10,11 @@ let
|
|||||||
|
|
||||||
confFile = pkgs.writeText "named.conf"
|
confFile = pkgs.writeText "named.conf"
|
||||||
''
|
''
|
||||||
|
include "/etc/bind/rndc.key";
|
||||||
|
controls {
|
||||||
|
inet 127.0.0.1 allow {localhost;} keys {"rndc-key";};
|
||||||
|
};
|
||||||
|
|
||||||
acl cachenetworks { ${concatMapStrings (entry: " ${entry}; ") cfg.cacheNetworks} };
|
acl cachenetworks { ${concatMapStrings (entry: " ${entry}; ") cfg.cacheNetworks} };
|
||||||
acl badnetworks { ${concatMapStrings (entry: " ${entry}; ") cfg.blockedNetworks} };
|
acl badnetworks { ${concatMapStrings (entry: " ${entry}; ") cfg.blockedNetworks} };
|
||||||
|
|
||||||
@ -167,11 +172,21 @@ in
|
|||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
preStart = ''
|
preStart = ''
|
||||||
|
mkdir -m 0755 -p /etc/bind
|
||||||
|
if ! [ -f "/etc/bind/rndc.key" ]; then
|
||||||
|
${pkgs.bind.out}/sbin/rndc-confgen -r /dev/urandom -c /etc/bind/rndc.key -u ${bindUser} -a -A hmac-sha256 2>/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
${pkgs.coreutils}/bin/mkdir -p /var/run/named
|
${pkgs.coreutils}/bin/mkdir -p /var/run/named
|
||||||
chown ${bindUser} /var/run/named
|
chown ${bindUser} /var/run/named
|
||||||
'';
|
'';
|
||||||
|
|
||||||
script = "${pkgs.bind.out}/sbin/named -u ${bindUser} ${optionalString cfg.ipv4Only "-4"} -c ${cfg.configFile} -f";
|
serviceConfig = {
|
||||||
|
ExecStart = "${pkgs.bind.out}/sbin/named -u ${bindUser} ${optionalString cfg.ipv4Only "-4"} -c ${cfg.configFile} -f";
|
||||||
|
ExecReload = "${pkgs.bind.out}/sbin/rndc -k '/etc/bind/rndc.key' reload";
|
||||||
|
ExecStop = "${pkgs.bind.out}/sbin/rndc -k '/etc/bind/rndc.key' stop";
|
||||||
|
};
|
||||||
|
|
||||||
unitConfig.Documentation = "man:named(8)";
|
unitConfig.Documentation = "man:named(8)";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -811,6 +811,7 @@ in
|
|||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${nsdPkg}/sbin/nsd -d -c ${nsdEnv}/nsd.conf";
|
ExecStart = "${nsdPkg}/sbin/nsd -d -c ${nsdEnv}/nsd.conf";
|
||||||
|
StandardError = "null";
|
||||||
PIDFile = pidFile;
|
PIDFile = pidFile;
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = "4s";
|
RestartSec = "4s";
|
||||||
|
@ -7,7 +7,7 @@ let
|
|||||||
xcfg = config.services.xserver;
|
xcfg = config.services.xserver;
|
||||||
cfg = xcfg.desktopManager.plasma5;
|
cfg = xcfg.desktopManager.plasma5;
|
||||||
|
|
||||||
inherit (pkgs) kdeWrapper kdeApplications plasma5 libsForQt5 qt5 xorg;
|
inherit (pkgs) kdeApplications plasma5 libsForQt5 qt5 xorg;
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
@ -30,24 +30,12 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
extraPackages = mkOption {
|
|
||||||
type = types.listOf types.package;
|
|
||||||
default = [];
|
|
||||||
description = ''
|
|
||||||
KDE packages that need to be installed system-wide.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
config = mkMerge [
|
config = mkMerge [
|
||||||
(mkIf (cfg.extraPackages != []) {
|
|
||||||
environment.systemPackages = [ (kdeWrapper cfg.extraPackages) ];
|
|
||||||
})
|
|
||||||
|
|
||||||
(mkIf (xcfg.enable && cfg.enable) {
|
(mkIf (xcfg.enable && cfg.enable) {
|
||||||
services.xserver.desktopManager.session = singleton {
|
services.xserver.desktopManager.session = singleton {
|
||||||
name = "plasma5";
|
name = "plasma5";
|
||||||
@ -64,8 +52,8 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
security.wrappers = {
|
security.wrappers = {
|
||||||
kcheckpass.source = "${plasma5.plasma-workspace.out}/lib/libexec/kcheckpass";
|
kcheckpass.source = "${lib.getBin plasma5.plasma-workspace}/lib/libexec/kcheckpass";
|
||||||
"start_kdeinit".source = "${pkgs.kinit.out}/lib/libexec/kf5/start_kdeinit";
|
"start_kdeinit".source = "${lib.getBin pkgs.kinit}/lib/libexec/kf5/start_kdeinit";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; with qt5; with libsForQt5; with plasma5; with kdeApplications;
|
environment.systemPackages = with pkgs; with qt5; with libsForQt5; with plasma5; with kdeApplications;
|
||||||
@ -139,10 +127,14 @@ in
|
|||||||
plasma-workspace
|
plasma-workspace
|
||||||
plasma-workspace-wallpapers
|
plasma-workspace-wallpapers
|
||||||
|
|
||||||
|
dolphin
|
||||||
dolphin-plugins
|
dolphin-plugins
|
||||||
ffmpegthumbs
|
ffmpegthumbs
|
||||||
kdegraphics-thumbnailers
|
kdegraphics-thumbnailers
|
||||||
|
khelpcenter
|
||||||
kio-extras
|
kio-extras
|
||||||
|
konsole
|
||||||
|
oxygen
|
||||||
print-manager
|
print-manager
|
||||||
|
|
||||||
breeze-icons
|
breeze-icons
|
||||||
@ -163,16 +155,6 @@ in
|
|||||||
++ lib.optional config.services.colord.enable colord-kde
|
++ lib.optional config.services.colord.enable colord-kde
|
||||||
++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ];
|
++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ];
|
||||||
|
|
||||||
services.xserver.desktopManager.plasma5.extraPackages =
|
|
||||||
with kdeApplications; with plasma5;
|
|
||||||
[
|
|
||||||
khelpcenter
|
|
||||||
oxygen
|
|
||||||
|
|
||||||
dolphin
|
|
||||||
konsole
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.pathsToLink = [ "/share" ];
|
environment.pathsToLink = [ "/share" ];
|
||||||
|
|
||||||
environment.etc = singleton {
|
environment.etc = singleton {
|
||||||
@ -183,7 +165,6 @@ in
|
|||||||
environment.variables = {
|
environment.variables = {
|
||||||
# Enable GTK applications to load SVG icons
|
# Enable GTK applications to load SVG icons
|
||||||
GDK_PIXBUF_MODULE_FILE = "${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache";
|
GDK_PIXBUF_MODULE_FILE = "${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache";
|
||||||
QT_PLUGIN_PATH = "/run/current-system/sw/lib/qt5/plugins";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.fonts = with pkgs; [ noto-fonts hack-font ];
|
fonts.fonts = with pkgs; [ noto-fonts hack-font ];
|
||||||
@ -209,7 +190,6 @@ in
|
|||||||
|
|
||||||
services.xserver.displayManager.sddm = {
|
services.xserver.displayManager.sddm = {
|
||||||
theme = "breeze";
|
theme = "breeze";
|
||||||
package = pkgs.sddmPlasma5;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
security.pam.services.kde = { allowNullPassword = true; };
|
security.pam.services.kde = { allowNullPassword = true; };
|
||||||
|
@ -9,7 +9,7 @@ let
|
|||||||
cfg = dmcfg.sddm;
|
cfg = dmcfg.sddm;
|
||||||
xEnv = config.systemd.services."display-manager".environment;
|
xEnv = config.systemd.services."display-manager".environment;
|
||||||
|
|
||||||
sddm = cfg.package;
|
inherit (pkgs) sddm;
|
||||||
|
|
||||||
xserverWrapper = pkgs.writeScript "xserver-wrapper" ''
|
xserverWrapper = pkgs.writeScript "xserver-wrapper" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -37,8 +37,8 @@ let
|
|||||||
|
|
||||||
[Theme]
|
[Theme]
|
||||||
Current=${cfg.theme}
|
Current=${cfg.theme}
|
||||||
ThemeDir=${sddm}/share/sddm/themes
|
ThemeDir=/run/current-system/sw/share/sddm/themes
|
||||||
FacesDir=${sddm}/share/sddm/faces
|
FacesDir=/run/current-system/sw/share/sddm/faces
|
||||||
|
|
||||||
[Users]
|
[Users]
|
||||||
MaximumUid=${toString config.ids.uids.nixbld}
|
MaximumUid=${toString config.ids.uids.nixbld}
|
||||||
@ -105,15 +105,6 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
package = mkOption {
|
|
||||||
type = types.package;
|
|
||||||
default = pkgs.sddm;
|
|
||||||
description = ''
|
|
||||||
The SDDM package to install.
|
|
||||||
The default package can be overridden to provide extra themes.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
autoNumlock = mkOption {
|
autoNumlock = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
@ -205,7 +196,15 @@ in
|
|||||||
services.xserver.displayManager.job = {
|
services.xserver.displayManager.job = {
|
||||||
logsXsession = true;
|
logsXsession = true;
|
||||||
|
|
||||||
execCmd = "exec ${sddm}/bin/sddm";
|
environment = {
|
||||||
|
# Load themes from system environment
|
||||||
|
QT_PLUGIN_PATH = "/run/current-system/sw/" + pkgs.qt5.qtbase.qtPluginPrefix;
|
||||||
|
QML2_IMPORT_PATH = "/run/current-system/sw/" + pkgs.qt5.qtbase.qtQmlPrefix;
|
||||||
|
|
||||||
|
XDG_DATA_DIRS = "/run/current-system/sw/share";
|
||||||
|
};
|
||||||
|
|
||||||
|
execCmd = "exec /run/current-system/sw/bin/sddm";
|
||||||
};
|
};
|
||||||
|
|
||||||
security.pam.services = {
|
security.pam.services = {
|
||||||
@ -254,7 +253,8 @@ in
|
|||||||
|
|
||||||
users.extraGroups.sddm.gid = config.ids.gids.sddm;
|
users.extraGroups.sddm.gid = config.ids.gids.sddm;
|
||||||
|
|
||||||
services.dbus.packages = [ sddm.unwrapped ];
|
environment.systemPackages = [ sddm ];
|
||||||
|
services.dbus.packages = [ sddm ];
|
||||||
|
|
||||||
# To enable user switching, allow sddm to allocate TTYs/displays dynamically.
|
# To enable user switching, allow sddm to allocate TTYs/displays dynamically.
|
||||||
services.xserver.tty = null;
|
services.xserver.tty = null;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
stdenv, lib, fetchurl,
|
mkDerivation, lib, fetchurl,
|
||||||
gettext, makeQtWrapper, pkgconfig,
|
gettext, pkgconfig,
|
||||||
qtbase,
|
qtbase,
|
||||||
alsaLib, curl, faad2, ffmpeg, flac, fluidsynth, gdk_pixbuf, lame, libbs2b,
|
alsaLib, curl, faad2, ffmpeg, flac, fluidsynth, gdk_pixbuf, lame, libbs2b,
|
||||||
libcddb, libcdio082, libcue, libjack2, libmad, libmcs, libmms, libmodplug,
|
libcddb, libcdio082, libcue, libjack2, libmad, libmcs, libmms, libmodplug,
|
||||||
@ -24,16 +24,14 @@ let
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
mkDerivation {
|
||||||
inherit version;
|
inherit version;
|
||||||
name = "audacious-qt5-${version}";
|
name = "audacious-qt5-${version}";
|
||||||
|
|
||||||
sourceFiles = lib.attrValues sources;
|
sourceFiles = lib.attrValues sources;
|
||||||
sourceRoots = lib.attrNames sources;
|
sourceRoots = lib.attrNames sources;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ gettext pkgconfig ];
|
||||||
gettext makeQtWrapper pkgconfig
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
# Core dependencies
|
# Core dependencies
|
||||||
@ -68,15 +66,9 @@ stdenv.mkDerivation {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
source $stdenv/setup
|
|
||||||
wrapQtProgram $out/bin/audacious
|
|
||||||
wrapQtProgram $out/bin/audtool
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
meta = with lib; {
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "Audio player";
|
description = "Audio player";
|
||||||
homepage = http://audacious-media-player.org/;
|
homepage = http://audacious-media-player.org/;
|
||||||
maintainers = with maintainers; [ ttuegel ];
|
maintainers = with maintainers; [ ttuegel ];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, vlc
|
{ stdenv, fetchFromGitHub, cmake, vlc
|
||||||
, withQt4 ? false, qt4
|
, withQt4 ? false, qt4
|
||||||
, withQt5 ? true, qtbase, qtsvg, qttools, makeQtWrapper
|
, withQt5 ? true, qtbase, qtsvg, qttools
|
||||||
|
|
||||||
# Cantata doesn't build with cdparanoia enabled so we disable that
|
# Cantata doesn't build with cdparanoia enabled so we disable that
|
||||||
# default for now until I (or someone else) figure it out.
|
# default for now until I (or someone else) figure it out.
|
||||||
@ -63,8 +63,6 @@ stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optional withMusicbrainz libmusicbrainz5
|
++ stdenv.lib.optional withMusicbrainz libmusicbrainz5
|
||||||
++ stdenv.lib.optional (withTaglib && withDevices) udisks2;
|
++ stdenv.lib.optional (withTaglib && withDevices) udisks2;
|
||||||
|
|
||||||
nativeBuildInputs = stdenv.lib.optional withQt5 makeQtWrapper;
|
|
||||||
|
|
||||||
cmakeFlags = stdenv.lib.flatten [
|
cmakeFlags = stdenv.lib.flatten [
|
||||||
(fstat withQt5 "QT5")
|
(fstat withQt5 "QT5")
|
||||||
(fstats withTaglib [ "TAGLIB" "TAGLIB_EXTRAS" ])
|
(fstats withTaglib [ "TAGLIB" "TAGLIB_EXTRAS" ])
|
||||||
@ -88,10 +86,6 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i -e 's/STRLESS/VERSION_LESS/g' cmake/FindTaglib.cmake
|
sed -i -e 's/STRLESS/VERSION_LESS/g' cmake/FindTaglib.cmake
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = stdenv.lib.optionalString withQt5 ''
|
|
||||||
wrapQtProgram "$out/bin/cantata"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/cdrummond/cantata;
|
homepage = https://github.com/cdrummond/cantata;
|
||||||
description = "A graphical client for MPD";
|
description = "A graphical client for MPD";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmakeHook, makeQtWrapper }:
|
{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmake }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -37,9 +37,9 @@ in stdenv.mkDerivation rec {
|
|||||||
owner = "gillesdegottex";
|
owner = "gillesdegottex";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ fftw libsndfile qtbase qtmultimedia qmakeHook ];
|
buildInputs = [ fftw libsndfile qtbase qtmultimedia ];
|
||||||
|
|
||||||
nativeBuildInputs = [ makeQtWrapper ];
|
nativeBuildInputs = [ qmake ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace dfasma.pro --replace '$$DFASMAVERSIONGITPRO' '${version}'
|
substituteInPlace dfasma.pro --replace '$$DFASMAVERSIONGITPRO' '${version}'
|
||||||
@ -53,10 +53,6 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
wrapQtProgram "$out/bin/dfasma"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Analyse and compare audio files in time and frequency";
|
description = "Analyse and compare audio files in time and frequency";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, coreutils
|
, coreutils
|
||||||
, fetchurl
|
, fetchFromGitHub
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, clang
|
, clang
|
||||||
@ -16,11 +16,13 @@ with stdenv.lib.strings;
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
version = "2.0.a51";
|
version = "2.1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/project/faudiostream/faust-${version}.tgz";
|
owner = "grame-cncm";
|
||||||
sha256 = "1yryjqfqmxs7lxy95hjgmrncvl9kig3rcsmg0v49ghzz7vs7haxf";
|
repo = "faust";
|
||||||
|
rev = "v${builtins.replaceStrings ["."] ["-"] version}";
|
||||||
|
sha256 = "1pmiwy287g79ipz9pppnkfrdgls3l912kpkr7dfymk9wk5y5di9m";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -67,7 +69,7 @@ let
|
|||||||
#
|
#
|
||||||
# For now, fix this by 1) pinning the llvm version; 2) manually setting LLVM_VERSION
|
# For now, fix this by 1) pinning the llvm version; 2) manually setting LLVM_VERSION
|
||||||
# to something the makefile will recognize.
|
# to something the makefile will recognize.
|
||||||
sed '52iLLVM_VERSION=3.8.0' -i compiler/Makefile.unix
|
sed '52iLLVM_VERSION=${stdenv.lib.getVersion llvm}' -i compiler/Makefile.unix
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Remove most faust2appl scripts since they won't run properly
|
# Remove most faust2appl scripts since they won't run properly
|
||||||
@ -194,8 +196,8 @@ let
|
|||||||
# export parts of the build environment
|
# export parts of the build environment
|
||||||
for script in "$out"/bin/*; do
|
for script in "$out"/bin/*; do
|
||||||
wrapProgram "$script" \
|
wrapProgram "$script" \
|
||||||
--set FAUSTLIB "${faust}/lib/faust" \
|
--set FAUSTLIB "${faust}/share/faust" \
|
||||||
--set FAUST_LIB_PATH "${faust}/lib/faust" \
|
--set FAUST_LIB_PATH "${faust}/share/faust" \
|
||||||
--set FAUSTINC "${faust}/include/faust" \
|
--set FAUSTINC "${faust}/include/faust" \
|
||||||
--prefix PATH : "$PATH" \
|
--prefix PATH : "$PATH" \
|
||||||
--prefix PKG_CONFIG_PATH : "$PKG_CONFIG_PATH" \
|
--prefix PKG_CONFIG_PATH : "$PKG_CONFIG_PATH" \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, fftw, freeglut, mesa_glu, qtbase, qtmultimedia, qmakeHook
|
{ stdenv, fetchFromGitHub, fftw, freeglut, mesa_glu, qtbase, qtmultimedia, qmake
|
||||||
, alsaSupport ? true, alsaLib ? null
|
, alsaSupport ? true, alsaLib ? null
|
||||||
, jackSupport ? false, libjack2 ? null
|
, jackSupport ? false, libjack2 ? null
|
||||||
, portaudioSupport ? false, portaudio ? null }:
|
, portaudioSupport ? false, portaudio ? null }:
|
||||||
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "gillesdegottex";
|
owner = "gillesdegottex";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ qmakeHook ];
|
nativeBuildInputs = [ qmake ];
|
||||||
buildInputs = [ fftw qtbase qtmultimedia ]
|
buildInputs = [ fftw qtbase qtmultimedia ]
|
||||||
++ optionals alsaSupport [ alsaLib ]
|
++ optionals alsaSupport [ alsaLib ]
|
||||||
++ optionals jackSupport [ libjack2 ]
|
++ optionals jackSupport [ libjack2 ]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, alsaLib, pkgconfig, qtbase, qtscript, qmakeHook
|
{ stdenv, fetchFromGitHub, alsaLib, pkgconfig, qtbase, qtscript, qmake
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "184ydb9f1303v332k5k3f1ki7cb6nkxhh6ij0yn72v7dp7figrgj";
|
sha256 = "184ydb9f1303v332k5k3f1ki7cb6nkxhh6ij0yn72v7dp7figrgj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ alsaLib pkgconfig qtbase qtscript qmakeHook ];
|
nativeBuildInputs = [ qmake ];
|
||||||
|
buildInputs = [ alsaLib pkgconfig qtbase qtscript ];
|
||||||
|
|
||||||
qmakeFlags = [ "PREFIX=/" ];
|
qmakeFlags = [ "PREFIX=/" ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qtbase, qtxmlpatterns, qmakeHook, taglib }:
|
{ stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qtbase, qtxmlpatterns, qmake, taglib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "keyfinder-${version}";
|
name = "keyfinder-${version}";
|
||||||
@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "ibsh";
|
owner = "ibsh";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libav_0_8 libkeyfinder qtbase qtxmlpatterns qmakeHook taglib ];
|
nativeBuildInputs = [ qmake ];
|
||||||
|
buildInputs = [ libav_0_8 libkeyfinder qtbase qtxmlpatterns taglib ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace is_KeyFinder.pro \
|
substituteInPlace is_KeyFinder.pro \
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
name = "mopidy-spotify-${version}";
|
name = "mopidy-spotify-${version}";
|
||||||
version = "3.0.0";
|
version = "3.1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mopidy/mopidy-spotify/archive/v${version}.tar.gz";
|
url = "https://github.com/mopidy/mopidy-spotify/archive/v${version}.tar.gz";
|
||||||
sha256 = "0w7bhq6nz2xly5g72xd98r7lyzmx7nzfdpghk7vklkx0x41qccz8";
|
sha256 = "1mh87w4j0ypvsrnax7kkjgfxfpnw3l290jvfzg56b8qlwf20khjl";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ mopidy pythonPackages.pyspotify ];
|
propagatedBuildInputs = [ mopidy pythonPackages.pyspotify ];
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
{ stdenv, fetchzip, cmake, pkgconfig
|
{ stdenv, fetchzip, cmake, pkgconfig
|
||||||
, alsaLib, freetype, libjack2, lame, libogg, libpulseaudio, libsndfile, libvorbis
|
, alsaLib, freetype, libjack2, lame, libogg, libpulseaudio, libsndfile, libvorbis
|
||||||
, portaudio, qtbase, qtdeclarative, qtenginio, qtscript, qtsvg, qttools
|
, portaudio, qtbase, qtdeclarative, qtscript, qtsvg, qttools
|
||||||
, qtwebkit, qtxmlpatterns
|
, qtwebkit, qtxmlpatterns
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "musescore-${version}";
|
name = "musescore-${version}";
|
||||||
version = "2.0.3";
|
version = "2.1.0";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/musescore/MuseScore/archive/v${version}.tar.gz";
|
url = "https://github.com/musescore/MuseScore/archive/v${version}.tar.gz";
|
||||||
sha256 = "067f4li48qfhz2barj70zpf2d2mlii12npx07jx9xjkkgz84z4c9";
|
sha256 = "1rlxz2nzilz7n6c0affnjk2wcxl4b8949qxs0xi555gxg01kybls";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "relro" "bindnow" ];
|
hardeningDisable = [ "relro" "bindnow" ];
|
||||||
@ -31,7 +31,6 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
make lupdate
|
|
||||||
make lrelease
|
make lrelease
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -45,7 +44,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsaLib libjack2 freetype lame libogg libpulseaudio libsndfile libvorbis
|
alsaLib libjack2 freetype lame libogg libpulseaudio libsndfile libvorbis
|
||||||
portaudio qtbase qtdeclarative qtenginio qtscript qtsvg qttools
|
portaudio qtbase qtdeclarative qtscript qtsvg qttools
|
||||||
qtwebkit qtxmlpatterns #tesseract
|
qtwebkit qtxmlpatterns #tesseract
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -56,6 +55,5 @@ stdenv.mkDerivation rec {
|
|||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.vandenoever ];
|
maintainers = [ maintainers.vandenoever ];
|
||||||
repositories.git = https://github.com/musescore/MuseScore;
|
repositories.git = https://github.com/musescore/MuseScore;
|
||||||
broken = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
{stdenv, fetchurl, libogg, libao, pkgconfig, libopus, flac}:
|
{stdenv, fetchurl, libogg, libao, pkgconfig, libopus, flac}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "opus-tools-0.1.9";
|
name = "opus-tools-0.1.10";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://downloads.xiph.org/releases/opus/${name}.tar.gz";
|
url = "http://downloads.xiph.org/releases/opus/${name}.tar.gz";
|
||||||
sha256 = "0fk4nknvl111k89j5yckmyrh6b2wvgyhrqfncp7rig3zikbkv1xi";
|
sha256 = "135jfb9ny3xvd27idsxj7j5ns90lslbyrq70cq3bfwcls4r7add2";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libogg libao pkgconfig libopus flac ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
buildInputs = [ libogg libao libopus flac ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Tools to work with opus encoded audio streams";
|
description = "Tools to work with opus encoded audio streams";
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
{ stdenv, fetchurl, alsaLib, bzip2, fftw, libjack2, libX11, liblo
|
{ stdenv, fetchurl, alsaLib, bzip2, fftw, libjack2, libX11, liblo
|
||||||
, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
|
, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
|
||||||
, libsndfile, pkgconfig, libpulseaudio, makeQtWrapper, qtbase, redland
|
, libsndfile, pkgconfig, libpulseaudio, qtbase, redland
|
||||||
, qmakeHook, rubberband, serd, sord, vampSDK, fftwFloat
|
, qmake, rubberband, serd, sord, vampSDK, fftwFloat
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -16,11 +16,10 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ libsndfile qtbase qmakeHook fftw fftwFloat bzip2 librdf rubberband
|
[ libsndfile qtbase fftw fftwFloat bzip2 librdf rubberband
|
||||||
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
|
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
|
||||||
serd
|
serd
|
||||||
sord
|
sord
|
||||||
pkgconfig
|
|
||||||
# optional
|
# optional
|
||||||
libjack2
|
libjack2
|
||||||
# portaudio
|
# portaudio
|
||||||
@ -32,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
libX11
|
libX11
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ makeQtWrapper qmakeHook ];
|
nativeBuildInputs = [ pkgconfig qmake ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
for i in sonic-visualiser svapp svcore svgui;
|
for i in sonic-visualiser svapp svcore svgui;
|
||||||
@ -44,7 +43,6 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -p $out/{bin,share/sonic-visualiser}
|
mkdir -p $out/{bin,share/sonic-visualiser}
|
||||||
cp sonic-visualiser $out/bin/
|
cp sonic-visualiser $out/bin/
|
||||||
cp -r samples $out/share/sonic-visualiser/
|
cp -r samples $out/share/sonic-visualiser/
|
||||||
wrapQtProgram "$out/bin/sonic-visualiser"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,19 +1,15 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, jre, cpio, gawk, gnugrep, gnused, procps, swt, gtk2, glib, libXtst }:
|
{ stdenv, fetchurl, makeWrapper, jre, cpio, gawk, gnugrep, gnused, procps, swt, gtk2, glib, libXtst }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = "4.8.2";
|
version = "4.8.2";
|
||||||
rev = "1"; #tracks unversioned changes that occur on download.code42.com from time to time
|
rev = "1"; #tracks unversioned changes that occur on download.code42.com from time to time
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "crashplan-${version}-r${rev}";
|
name = "crashplan-${version}-r${rev}";
|
||||||
|
|
||||||
crashPlanArchive = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.code42.com/installs/linux/install/CrashPlan/CrashPlan_${version}_Linux.tgz";
|
url = "https://download.code42.com/installs/linux/install/CrashPlan/CrashPlan_${version}_Linux.tgz";
|
||||||
sha256 = "0wh8lcm06ilcyncnp4ckg4yhyf9z3gb6v1kr111j4bpgmnd0v1yf";
|
sha256 = "0wh8lcm06ilcyncnp4ckg4yhyf9z3gb6v1kr111j4bpgmnd0v1yf";
|
||||||
};
|
};
|
||||||
|
|
||||||
srcs = [ crashPlanArchive ];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An online/offline backup solution";
|
description = "An online/offline backup solution";
|
||||||
homepage = "http://www.crashplan.org";
|
homepage = "http://www.crashplan.org";
|
||||||
|
@ -1,121 +1,72 @@
|
|||||||
{ stdenv, lib, makeQtWrapper, fetchFromGitHub, fetchpatch
|
{ mkDerivation, lib, copyPathsToStore, fetchFromGitHub, fetchpatch
|
||||||
, cmake, extra-cmake-modules, pkgconfig, libxcb, libpthreadstubs, lndir
|
, cmake, extra-cmake-modules, pkgconfig, libxcb, libpthreadstubs, lndir
|
||||||
, libXdmcp, libXau, qtbase, qtdeclarative, qttools, pam, systemd
|
, libXdmcp, libXau, qtbase, qtdeclarative, qttools, pam, systemd
|
||||||
, themes
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
version = "0.14.0";
|
version = "0.14.0";
|
||||||
|
|
||||||
unwrapped = stdenv.mkDerivation rec {
|
/* Fix display of user avatars. */
|
||||||
name = "sddm-unwrapped-${version}";
|
patchFixUserAvatars = fetchpatch {
|
||||||
|
url = https://github.com/sddm/sddm/commit/ecb903e48822bd90650bdd64fe80754e3e9664cb.patch;
|
||||||
src = fetchFromGitHub {
|
sha256 = "0zm88944pwdad8grmv0xwnxl23xml85ryc71x2xac233jxdyx6ms";
|
||||||
owner = "sddm";
|
|
||||||
repo = "sddm";
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "0wwid23kw0725zpw67zchalg9mmharr7sn4yzhijq7wqpsczjfxj";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
./0001-ignore-config-mtime.patch
|
|
||||||
(fetchpatch { /* Fix display of user avatars. */
|
|
||||||
url = https://github.com/sddm/sddm/commit/ecb903e48822bd90650bdd64fe80754e3e9664cb.patch;
|
|
||||||
sha256 = "0zm88944pwdad8grmv0xwnxl23xml85ryc71x2xac233jxdyx6ms";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch =
|
|
||||||
# Module Qt5::Test must be included in `find_package` before it is used.
|
|
||||||
''
|
|
||||||
sed -i CMakeLists.txt -e '/find_package(Qt5/ s|)| Test)|'
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig qttools ];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
libxcb libpthreadstubs libXdmcp libXau pam systemd
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
qtbase qtdeclarative
|
|
||||||
];
|
|
||||||
|
|
||||||
cmakeFlags = [
|
|
||||||
"-DCONFIG_FILE=/etc/sddm.conf"
|
|
||||||
# Set UID_MIN and UID_MAX so that the build script won't try
|
|
||||||
# to read them from /etc/login.defs (fails in chroot).
|
|
||||||
# The values come from NixOS; they may not be appropriate
|
|
||||||
# for running SDDM outside NixOS, but that configuration is
|
|
||||||
# not supported anyway.
|
|
||||||
"-DUID_MIN=1000"
|
|
||||||
"-DUID_MAX=29999"
|
|
||||||
];
|
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
export cmakeFlags="$cmakeFlags -DQT_IMPORTS_DIR=$out/lib/qt5/qml -DCMAKE_INSTALL_SYSCONFDIR=$out/etc -DSYSTEMD_SYSTEM_UNIT_DIR=$out/lib/systemd/system"
|
|
||||||
'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
# remove empty scripts
|
|
||||||
rm "$out/share/sddm/scripts/Xsetup" "$out/share/sddm/scripts/Xstop"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "QML based X11 display manager";
|
|
||||||
homepage = "https://github.com/sddm/sddm";
|
|
||||||
platforms = platforms.linux;
|
|
||||||
maintainers = with maintainers; [ abbradar ttuegel ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in mkDerivation rec {
|
||||||
|
name = "sddm-unwrapped-${version}";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
src = fetchFromGitHub {
|
||||||
name = "sddm-${version}";
|
owner = "sddm";
|
||||||
|
repo = "sddm";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0wwid23kw0725zpw67zchalg9mmharr7sn4yzhijq7wqpsczjfxj";
|
||||||
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ lndir makeQtWrapper ];
|
patches =
|
||||||
buildInputs = [ unwrapped ] ++ themes;
|
copyPathsToStore (lib.readPathsFromFile ./. ./series)
|
||||||
themes = map (pkg: pkg.out or pkg) themes;
|
++ [ patchFixUserAvatars ];
|
||||||
inherit unwrapped;
|
|
||||||
|
|
||||||
unpackPhase = "true";
|
postPatch =
|
||||||
configurePhase = "runHook preConfigure; runHook postConfigure";
|
# Module Qt5::Test must be included in `find_package` before it is used.
|
||||||
buildPhase = "runHook preBuild; runHook postBuild";
|
''
|
||||||
|
sed -i CMakeLists.txt -e '/find_package(Qt5/ s|)| Test)|'
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig qttools ];
|
||||||
runHook preInstall
|
|
||||||
|
|
||||||
propagated=
|
buildInputs = [
|
||||||
for i in $unwrapped $themes; do
|
libxcb libpthreadstubs libXdmcp libXau pam systemd
|
||||||
findInputs $i propagated propagated-user-env-packages
|
];
|
||||||
if [ -z "$crossConfig" ]; then
|
|
||||||
findInputs $i propagated propagated-native-build-inputs
|
|
||||||
else
|
|
||||||
findInputs $i propagated propagated-build-inputs
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
for pkg in $propagated; do
|
propagatedBuildInputs = [
|
||||||
addToSearchPath RUNTIME_XDG_DATA_DIRS "$pkg/share"
|
qtbase qtdeclarative
|
||||||
addToSearchPath RUNTIME_XDG_CONFIG_DIRS "$pkg/etc/xdg"
|
];
|
||||||
done
|
|
||||||
|
|
||||||
mkdir -p "$out/bin"
|
cmakeFlags = [
|
||||||
makeQtWrapper "$unwrapped/bin/sddm" "$out/bin/sddm"
|
"-DCONFIG_FILE=/etc/sddm.conf"
|
||||||
|
# Set UID_MIN and UID_MAX so that the build script won't try
|
||||||
|
# to read them from /etc/login.defs (fails in chroot).
|
||||||
|
# The values come from NixOS; they may not be appropriate
|
||||||
|
# for running SDDM outside NixOS, but that configuration is
|
||||||
|
# not supported anyway.
|
||||||
|
"-DUID_MIN=1000"
|
||||||
|
"-DUID_MAX=29999"
|
||||||
|
];
|
||||||
|
|
||||||
mkdir -p "$out/share/sddm"
|
preConfigure = ''
|
||||||
for pkg in $unwrapped $themes; do
|
export cmakeFlags="$cmakeFlags -DQT_IMPORTS_DIR=$out/$qtQmlPrefix -DCMAKE_INSTALL_SYSCONFDIR=$out/etc -DSYSTEMD_SYSTEM_UNIT_DIR=$out/lib/systemd/system"
|
||||||
local sddmDir="$pkg/share/sddm"
|
|
||||||
if [ -d "$sddmDir" ]; then
|
|
||||||
lndir -silent "$sddmDir" "$out/share/sddm"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
runHook postInstall
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
inherit (unwrapped) meta;
|
postInstall = ''
|
||||||
|
# remove empty scripts
|
||||||
|
rm "$out/share/sddm/scripts/Xsetup" "$out/share/sddm/scripts/Xstop"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "QML based X11 display manager";
|
||||||
|
homepage = "https://github.com/sddm/sddm";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ abbradar ttuegel ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
1
pkgs/applications/display-managers/sddm/series
Normal file
1
pkgs/applications/display-managers/sddm/series
Normal file
@ -0,0 +1 @@
|
|||||||
|
sddm-ignore-config-mtime.patch
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cmake, gettext, pkgconfig, extra-cmake-modules, makeQtWrapper
|
{ mkDerivation, lib, fetchurl, cmake, gettext, pkgconfig, extra-cmake-modules
|
||||||
, qtquickcontrols, qtwebkit, qttools, kde-cli-tools
|
, qtquickcontrols, qtwebkit, qttools, kde-cli-tools
|
||||||
, kconfig, kdeclarative, kdoctools, kiconthemes, ki18n, kitemmodels, kitemviews
|
, kconfig, kdeclarative, kdoctools, kiconthemes, ki18n, kitemmodels, kitemviews
|
||||||
, kjobwidgets, kcmutils, kio, knewstuff, knotifyconfig, kparts, ktexteditor
|
, kjobwidgets, kcmutils, kio, knewstuff, knotifyconfig, kparts, ktexteditor
|
||||||
@ -12,7 +12,7 @@ let
|
|||||||
version = "5.1.1";
|
version = "5.1.1";
|
||||||
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -21,21 +21,23 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake gettext pkgconfig extra-cmake-modules makeWrapper makeQtWrapper
|
cmake gettext pkgconfig extra-cmake-modules makeWrapper
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
kdevelop-pg-qt
|
||||||
|
llvmPackages.llvm llvmPackages.clang-unwrapped
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
qtquickcontrols qtwebkit
|
qtquickcontrols qtwebkit
|
||||||
kconfig kdeclarative kdoctools kiconthemes ki18n kitemmodels kitemviews
|
kconfig kdeclarative kdoctools kiconthemes ki18n kitemmodels kitemviews
|
||||||
kjobwidgets kcmutils kio knewstuff knotifyconfig kparts ktexteditor
|
kjobwidgets kcmutils kio knewstuff knotifyconfig kparts ktexteditor
|
||||||
threadweaver kxmlgui kwindowsystem grantlee plasma-framework krunner
|
threadweaver kxmlgui kwindowsystem grantlee plasma-framework krunner
|
||||||
kdevplatform kdevelop-pg-qt shared_mime_info libksysguard konsole.unwrapped
|
kdevplatform shared_mime_info libksysguard konsole
|
||||||
llvmPackages.llvm llvmPackages.clang-unwrapped
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapQtProgram "$out/bin/kdevelop"
|
|
||||||
|
|
||||||
# The kdevelop! script (shell environment) needs qdbus and kioclient5 in PATH.
|
# The kdevelop! script (shell environment) needs qdbus and kioclient5 in PATH.
|
||||||
wrapProgram "$out/bin/kdevelop!" --prefix PATH ":" "${qttools}/bin:${kde-cli-tools}/bin"
|
wrapProgram "$out/bin/kdevelop!" --prefix PATH ":" "${qttools}/bin:${kde-cli-tools}/bin"
|
||||||
|
|
||||||
@ -47,7 +49,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -E -i "$kdev_fixup_sed" "$out/bin/.kdevelop!-wrapped"
|
sed -E -i "$kdev_fixup_sed" "$out/bin/.kdevelop!-wrapped"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
maintainers = [ maintainers.ambrop72 ];
|
maintainers = [ maintainers.ambrop72 ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
description = "KDE official IDE";
|
description = "KDE official IDE";
|
||||||
@ -60,6 +62,6 @@ stdenv.mkDerivation rec {
|
|||||||
libraries and is under development since 1998.
|
libraries and is under development since 1998.
|
||||||
'';
|
'';
|
||||||
homepage = https://www.kdevelop.org;
|
homepage = https://www.kdevelop.org;
|
||||||
license = with stdenv.lib.licenses; [ gpl2Plus lgpl2Plus ];
|
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, cmake, gettext, pkgconfig, extra-cmake-modules, makeQtWrapper
|
{ stdenv, fetchurl, fetchpatch, cmake, gettext, pkgconfig, extra-cmake-modules
|
||||||
, boost, subversion, apr, aprutil
|
, boost, subversion, apr, aprutil
|
||||||
, qtscript, qtwebkit, grantlee, karchive, kconfig, kcoreaddons, kguiaddons, kiconthemes, ki18n
|
, qtscript, qtwebkit, grantlee, karchive, kconfig, kcoreaddons, kguiaddons, kiconthemes, ki18n
|
||||||
, kitemmodels, kitemviews, kio, kparts, sonnet, kcmutils, knewstuff, knotifications
|
, kitemmodels, kitemviews, kio, kparts, sonnet, kcmutils, knewstuff, knotifications
|
||||||
@ -25,9 +25,8 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake gettext pkgconfig extra-cmake-modules makeQtWrapper ];
|
nativeBuildInputs = [ cmake gettext pkgconfig extra-cmake-modules ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ ];
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost subversion apr aprutil
|
boost subversion apr aprutil
|
||||||
qtscript qtwebkit grantlee karchive kconfig kcoreaddons kguiaddons kiconthemes
|
qtscript qtwebkit grantlee karchive kconfig kcoreaddons kguiaddons kiconthemes
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{ kdeDerivation
|
{ mkDerivation
|
||||||
, lib
|
, lib
|
||||||
, fetchgit
|
, fetchgit
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, kdeWrapper
|
, wrapGAppsHook
|
||||||
, qtscript
|
, qtscript
|
||||||
, kconfig
|
, kconfig
|
||||||
, kcrash
|
, kcrash
|
||||||
@ -21,50 +21,43 @@
|
|||||||
, poppler
|
, poppler
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation rec {
|
||||||
unwrapped =
|
name = "kile-${version}";
|
||||||
kdeDerivation rec {
|
version = "2017-02-09";
|
||||||
name = "kile-${version}";
|
|
||||||
version = "2017-02-09";
|
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = git://anongit.kde.org/kile.git;
|
url = git://anongit.kde.org/kile.git;
|
||||||
rev = "f77f6e627487c152f111e307ad6dc71699ade746";
|
rev = "f77f6e627487c152f111e307ad6dc71699ade746";
|
||||||
sha256 = "0wpqaix9ssa28cm7qqjj0zfrscjgk8s3kmi5b4kk8h583gsrikib";
|
sha256 = "0wpqaix9ssa28cm7qqjj0zfrscjgk8s3kmi5b4kk8h583gsrikib";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook ];
|
||||||
|
|
||||||
buildInputs = [
|
propagatedBuildInputs = [
|
||||||
kconfig
|
kconfig
|
||||||
kcrash
|
kcrash
|
||||||
kdbusaddons
|
kdbusaddons
|
||||||
kdelibs4support
|
kdelibs4support
|
||||||
kdoctools
|
kdoctools
|
||||||
kguiaddons
|
kguiaddons
|
||||||
kiconthemes
|
kiconthemes
|
||||||
kinit
|
kinit
|
||||||
khtml
|
khtml
|
||||||
kparts
|
kparts
|
||||||
ktexteditor
|
ktexteditor
|
||||||
kwindowsystem
|
kwindowsystem
|
||||||
okular.unwrapped
|
okular
|
||||||
poppler
|
poppler
|
||||||
qtscript
|
qtscript
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
propagatedUserEnvPkgs = [ konsole ];
|
||||||
description = "Kile is a user friendly TeX/LaTeX authoring tool for the KDE desktop environment";
|
|
||||||
homepage = https://www.kde.org/applications/office/kile/;
|
meta = {
|
||||||
maintainers = with lib.maintainers; [ fridh ];
|
description = "Kile is a user friendly TeX/LaTeX authoring tool for the KDE desktop environment";
|
||||||
license = lib.licenses.gpl2Plus;
|
homepage = https://www.kde.org/applications/office/kile/;
|
||||||
};
|
maintainers = with lib.maintainers; [ fridh ];
|
||||||
};
|
license = lib.licenses.gpl2Plus;
|
||||||
in
|
};
|
||||||
kdeWrapper
|
|
||||||
{
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/kile" ];
|
|
||||||
paths = [ konsole.unwrapped okular.unwrapped ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, doxygen
|
{ stdenv, fetchFromGitHub, cmake, doxygen, makeWrapper
|
||||||
, libmsgpack, makeQtWrapper, neovim, pythonPackages, qtbase }:
|
, libmsgpack, neovim, pythonPackages, qtbase }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "neovim-qt-${version}";
|
name = "neovim-qt-${version}";
|
||||||
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
jinja2 msgpack python
|
jinja2 msgpack python
|
||||||
]);
|
]);
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake doxygen makeQtWrapper ];
|
nativeBuildInputs = [ cmake doxygen makeWrapper ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapQtProgram "$out/bin/nvim-qt" \
|
wrapProgram "$out/bin/nvim-qt" \
|
||||||
--prefix PATH : "${neovim}/bin"
|
--prefix PATH : "${neovim}/bin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -10,7 +10,8 @@ in
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "RStudio-${version}";
|
name = "RStudio-${version}";
|
||||||
|
|
||||||
buildInputs = [ cmake boost163 zlib openssl R qt5.full qt5.qtwebkit qt5.qmakeHook libuuid unzip ant jdk makeWrapper pandoc ];
|
buildInputs = [ cmake boost163 zlib openssl R qt5.full qt5.qtwebkit libuuid unzip ant jdk makeWrapper pandoc ];
|
||||||
|
nativeBuildInputs = [ qt5.qmake ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/rstudio/rstudio/archive/v${version}.tar.gz";
|
url = "https://github.com/rstudio/rstudio/archive/v${version}.tar.gz";
|
||||||
@ -90,7 +91,7 @@ stdenv.mkDerivation rec {
|
|||||||
cp ${pandoc}/bin/pandoc dependencies/common/pandoc/
|
cp ${pandoc}/bin/pandoc dependencies/common/pandoc/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [ "-DRSTUDIO_TARGET=Desktop" "-DQT_QMAKE_EXECUTABLE=${qt5.qmakeHook}/bin/qmake" ];
|
cmakeFlags = [ "-DRSTUDIO_TARGET=Desktop" "-DQT_QMAKE_EXECUTABLE=${qt5.qmake}/bin/qmake" ];
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
name = name;
|
name = name;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, qmakeHook
|
{ stdenv, fetchFromGitHub, pkgconfig, qmake
|
||||||
, python, qtbase, qttools, zlib }:
|
, python, qtbase, qttools, zlib }:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -14,7 +14,7 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "087jl36g6w2g5l70gz573iwyvx3r7i8fijl3y4mmmf8pyqdyq1n2";
|
sha256 = "087jl36g6w2g5l70gz573iwyvx3r7i8fijl3y4mmmf8pyqdyq1n2";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig qmakeHook ];
|
nativeBuildInputs = [ pkgconfig qmake ];
|
||||||
buildInputs = [ python qtbase qttools ];
|
buildInputs = [ python qtbase qttools ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, qtbase, qmakeHook, makeWrapper }:
|
{ lib, stdenv, fetchurl, qtbase, qmake, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "awesomebump-4.0";
|
name = "awesomebump-4.0";
|
||||||
@ -10,7 +10,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
setSourceRoot = "sourceRoot=$(echo */Sources)";
|
setSourceRoot = "sourceRoot=$(echo */Sources)";
|
||||||
|
|
||||||
buildInputs = [ qtbase qmakeHook makeWrapper ];
|
nativeBuildInputs = [ makeWrapper qmake ];
|
||||||
|
buildInputs = [ qtbase ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cmake, extra-cmake-modules, makeQtWrapper
|
{ mkDerivation, lib, fetchurl, cmake, extra-cmake-modules, wrapGAppsHook
|
||||||
|
|
||||||
# For `digitaglinktree`
|
# For `digitaglinktree`
|
||||||
, perl, sqlite
|
, perl, sqlite
|
||||||
@ -44,7 +44,7 @@
|
|||||||
, oxygen
|
, oxygen
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
name = "digikam-${version}";
|
name = "digikam-${version}";
|
||||||
version = "5.4.0";
|
version = "5.4.0";
|
||||||
|
|
||||||
@ -53,26 +53,11 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0dgsgji14l5zvxny36hrfsp889fsfrsbbn9bg57m18404xp903kg";
|
sha256 = "0dgsgji14l5zvxny36hrfsp889fsfrsbbn9bg57m18404xp903kg";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake extra-cmake-modules makeQtWrapper ];
|
nativeBuildInputs = [ cmake extra-cmake-modules kdoctools wrapGAppsHook ];
|
||||||
|
|
||||||
patches = [ ./0001-Disable-fno-operator-names.patch ];
|
patches = [ ./0001-Disable-fno-operator-names.patch ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase
|
|
||||||
qtxmlpatterns
|
|
||||||
qtsvg
|
|
||||||
qtwebkit
|
|
||||||
|
|
||||||
kconfigwidgets
|
|
||||||
kcoreaddons
|
|
||||||
kdoctools
|
|
||||||
kfilemetadata
|
|
||||||
knotifications
|
|
||||||
knotifyconfig
|
|
||||||
ktextwidgets
|
|
||||||
kwidgetsaddons
|
|
||||||
kxmlgui
|
|
||||||
|
|
||||||
bison
|
bison
|
||||||
boost
|
boost
|
||||||
eigen
|
eigen
|
||||||
@ -86,12 +71,28 @@ stdenv.mkDerivation rec {
|
|||||||
liblqr1
|
liblqr1
|
||||||
libqtav
|
libqtav
|
||||||
libusb1
|
libusb1
|
||||||
marble.unwrapped
|
|
||||||
mysql
|
mysql
|
||||||
opencv
|
opencv
|
||||||
threadweaver
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
qtbase
|
||||||
|
qtxmlpatterns
|
||||||
|
qtsvg
|
||||||
|
qtwebkit
|
||||||
|
|
||||||
|
kconfigwidgets
|
||||||
|
kcoreaddons
|
||||||
|
kfilemetadata
|
||||||
|
knotifications
|
||||||
|
knotifyconfig
|
||||||
|
ktextwidgets
|
||||||
|
kwidgetsaddons
|
||||||
|
kxmlgui
|
||||||
|
|
||||||
|
marble
|
||||||
oxygen
|
oxygen
|
||||||
|
threadweaver
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
@ -104,22 +105,18 @@ stdenv.mkDerivation rec {
|
|||||||
"-DENABLE_MEDIAPLAYER=1"
|
"-DENABLE_MEDIAPLAYER=1"
|
||||||
];
|
];
|
||||||
|
|
||||||
fixupPhase = ''
|
preFixup = ''
|
||||||
|
gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ gnumake hugin enblend-enfuse ]})
|
||||||
substituteInPlace $out/bin/digitaglinktree \
|
substituteInPlace $out/bin/digitaglinktree \
|
||||||
--replace "/usr/bin/perl" "${perl}/bin/perl" \
|
--replace "/usr/bin/perl" "${perl}/bin/perl" \
|
||||||
--replace "/usr/bin/sqlite3" "${sqlite}/bin/sqlite3"
|
--replace "/usr/bin/sqlite3" "${sqlite}/bin/sqlite3"
|
||||||
|
|
||||||
wrapQtProgram $out/bin/digikam \
|
|
||||||
--prefix PATH : "${gnumake}/bin:${hugin}/bin:${enblend-enfuse}/bin"
|
|
||||||
|
|
||||||
wrapQtProgram $out/bin/showfoto
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Photo Management Program";
|
description = "Photo Management Program";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
homepage = http://www.digikam.org;
|
homepage = http://www.digikam.org;
|
||||||
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
maintainers = with maintainers; [ the-kenny ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript
|
{ stdenv, fetchurl, makeWrapper, pkgconfig, zlib, freetype, cairo, lua5, texlive, ghostscript
|
||||||
, libjpeg, qtbase
|
, libjpeg, qtbase
|
||||||
, makeQtWrapper
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -28,14 +27,14 @@ stdenv.mkDerivation rec {
|
|||||||
LUA_PACKAGE = "lua";
|
LUA_PACKAGE = "lua";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libjpeg pkgconfig zlib qtbase freetype cairo lua5 texlive ghostscript
|
libjpeg zlib qtbase freetype cairo lua5 texlive ghostscript
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ makeQtWrapper ];
|
nativeBuildInputs = [ makeWrapper pkgconfig ];
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
for prog in $out/bin/*; do
|
for prog in $out/bin/*; do
|
||||||
wrapQtProgram "$prog" --prefix PATH : "${texlive}/bin"
|
wrapProgram "$prog" --prefix PATH : "${texlive}/bin"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, makeQtWrapper
|
{ mkDerivation, lib, fetchurl, cmake, extra-cmake-modules
|
||||||
, karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons
|
, karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons
|
||||||
, kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem
|
, kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem
|
||||||
, kio, kcrash
|
, kio, kcrash
|
||||||
@ -6,7 +6,7 @@
|
|||||||
, openjpeg, opencolorio, vc, poppler_qt5, curl, ilmbase
|
, openjpeg, opencolorio, vc, poppler_qt5, curl, ilmbase
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
name = "krita-${version}";
|
name = "krita-${version}";
|
||||||
ver_min = "3.1.3";
|
ver_min = "3.1.3";
|
||||||
version = "${ver_min}";
|
version = "${ver_min}";
|
||||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "125js6c8aw4bqhs28pwnl3rbgqx5yx4zsklw7bfdhy3vf6lrysw1";
|
sha256 = "125js6c8aw4bqhs28pwnl3rbgqx5yx4zsklw7bfdhy3vf6lrysw1";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake extra-cmake-modules makeQtWrapper ];
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
karchive kconfig kwidgetsaddons kcompletion kcoreaddons kguiaddons
|
karchive kconfig kwidgetsaddons kcompletion kcoreaddons kguiaddons
|
||||||
@ -27,15 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ];
|
NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
meta = with lib; {
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
for i in $out/bin/*; do
|
|
||||||
wrapQtProgram "$i"
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "A free an open source painting application";
|
description = "A free an open source painting application";
|
||||||
homepage = "https://krita.org/";
|
homepage = "https://krita.org/";
|
||||||
maintainers = with maintainers; [ abbradar ];
|
maintainers = with maintainers; [ abbradar ];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cmake, makeQtWrapper, exiv2, graphicsmagick
|
{ stdenv, fetchurl, cmake, exiv2, graphicsmagick
|
||||||
, qtbase, qtdeclarative, qtmultimedia, qtquickcontrols, qttools
|
, qtbase, qtdeclarative, qtmultimedia, qtquickcontrols, qttools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -12,8 +12,9 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0j2kvxfb5pd9abciv161nkcsyam6n8kfqs8ymwj2mxiqflwbmfl1";
|
sha256 = "0j2kvxfb5pd9abciv161nkcsyam6n8kfqs8ymwj2mxiqflwbmfl1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake makeQtWrapper qtbase qtquickcontrols qttools exiv2 graphicsmagick
|
qtbase qtquickcontrols qttools exiv2 graphicsmagick
|
||||||
qtmultimedia qtdeclarative
|
qtmultimedia qtdeclarative
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -21,10 +22,6 @@ stdenv.mkDerivation rec {
|
|||||||
export MAGICK_LOCATION="${graphicsmagick}/include/GraphicsMagick"
|
export MAGICK_LOCATION="${graphicsmagick}/include/GraphicsMagick"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
wrapQtProgram $out/bin/photoqt
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://photoqt.org/";
|
homepage = "http://photoqt.org/";
|
||||||
description = "Simple, yet powerful and good looking image viewer";
|
description = "Simple, yet powerful and good looking image viewer";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, qtbase, qmakeHook, exiv2 }:
|
{ stdenv, fetchFromGitHub, qtbase, qmake, exiv2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "phototonic-${version}";
|
name = "phototonic-${version}";
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase exiv2 ];
|
buildInputs = [ qtbase exiv2 ];
|
||||||
nativeBuildInputs = [ qmakeHook ];
|
nativeBuildInputs = [ qmake ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i 's;/usr;$$PREFIX/;g' phototonic.pro
|
sed -i 's;/usr;$$PREFIX/;g' phototonic.pro
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchurl, cgal, boost, gmp, mpfr, flex, bison, dxflib, readline
|
{ stdenv, fetchFromGitHub, fetchurl, cgal, boost, gmp, mpfr, flex, bison, dxflib, readline
|
||||||
, qtbase, qmakeHook, mesa_glu
|
, qtbase, qmake, mesa_glu
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ qmakeHook ];
|
nativeBuildInputs = [ qmake ];
|
||||||
buildInputs = [ qtbase cgal boost gmp mpfr flex bison dxflib readline mesa_glu ];
|
buildInputs = [ qtbase cgal boost gmp mpfr flex bison dxflib readline mesa_glu ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, qtbase, qtx11extras
|
{ stdenv, fetchFromGitHub, cmake, makeWrapper, pkgconfig
|
||||||
, pkgconfig, xorg, makeQtWrapper, vulkan-loader
|
, qtbase, qtx11extras, vulkan-loader, xorg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase xorg.libpthreadstubs xorg.libXdmcp qtx11extras vulkan-loader
|
qtbase xorg.libpthreadstubs xorg.libXdmcp qtx11extras vulkan-loader
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ cmake makeQtWrapper pkgconfig ];
|
nativeBuildInputs = [ cmake makeWrapper pkgconfig ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBUILD_VERSION_HASH=${src.rev}-distro-nix"
|
"-DBUILD_VERSION_HASH=${src.rev}-distro-nix"
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir $out/bin/.bin
|
mkdir $out/bin/.bin
|
||||||
mv $out/bin/qrenderdoc $out/bin/.bin/qrenderdoc
|
mv $out/bin/qrenderdoc $out/bin/.bin/qrenderdoc
|
||||||
ln -s $out/bin/.bin/qrenderdoc $out/bin/qrenderdoc
|
ln -s $out/bin/.bin/qrenderdoc $out/bin/qrenderdoc
|
||||||
wrapQtProgram $out/bin/qrenderdoc --suffix LD_LIBRARY_PATH : $out/lib --suffix LD_LIBRARY_PATH : ${vulkan-loader}/lib
|
wrapProgram $out/bin/qrenderdoc --suffix LD_LIBRARY_PATH : $out/lib --suffix LD_LIBRARY_PATH : ${vulkan-loader}/lib
|
||||||
mv $out/bin/renderdoccmd $out/bin/.bin/renderdoccmd
|
mv $out/bin/renderdoccmd $out/bin/.bin/renderdoccmd
|
||||||
ln -s $out/bin/.bin/renderdoccmd $out/bin/renderdoccmd
|
ln -s $out/bin/.bin/renderdoccmd $out/bin/renderdoccmd
|
||||||
wrapProgram $out/bin/renderdoccmd --suffix LD_LIBRARY_PATH : $out/lib --suffix LD_LIBRARY_PATH : ${vulkan-loader}/lib
|
wrapProgram $out/bin/renderdoccmd --suffix LD_LIBRARY_PATH : $out/lib --suffix LD_LIBRARY_PATH : ${vulkan-loader}/lib
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules,
|
extra-cmake-modules,
|
||||||
akonadi-mime, grantlee, kcontacts, kio, kitemmodels, kmime, qtwebengine,
|
akonadi, akonadi-mime, grantlee, kcontacts, kdbusaddons, ki18n, kiconthemes,
|
||||||
akonadi
|
kio, kitemmodels, kmime, ktextwidgets, qtwebengine,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "akonadi-contacts";
|
name = "akonadi-contacts";
|
||||||
meta = {
|
meta = {
|
||||||
license = with lib.licenses; [ gpl2 lgpl21 ];
|
license = with lib.licenses; [ gpl2 lgpl21 ];
|
||||||
@ -13,7 +13,9 @@ kdeApp {
|
|||||||
};
|
};
|
||||||
nativeBuildInputs = [ extra-cmake-modules ];
|
nativeBuildInputs = [ extra-cmake-modules ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
akonadi-mime grantlee kcontacts kio kitemmodels kmime qtwebengine
|
akonadi-mime grantlee kcontacts kdbusaddons ki18n kiconthemes kio
|
||||||
|
kitemmodels kmime ktextwidgets qtwebengine
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = [ akonadi ];
|
propagatedBuildInputs = [ akonadi ];
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
}
|
}
|
||||||
|
@ -1,15 +1,16 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules,
|
extra-cmake-modules,
|
||||||
akonadi, kdbusaddons, kio, kitemmodels, kmime
|
akonadi, kdbusaddons, ki18n, kio, kitemmodels, kmime
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "akonadi-mime";
|
name = "akonadi-mime";
|
||||||
meta = {
|
meta = {
|
||||||
license = with lib.licenses; [ gpl2 lgpl21 ];
|
license = with lib.licenses; [ gpl2 lgpl21 ];
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ extra-cmake-modules ];
|
nativeBuildInputs = [ extra-cmake-modules ];
|
||||||
buildInputs = [ akonadi kdbusaddons kio kitemmodels kmime ];
|
buildInputs = [ akonadi kdbusaddons ki18n kio kitemmodels kmime ];
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
}
|
}
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
kdeApp, lib,
|
|
||||||
extra-cmake-modules,
|
|
||||||
kcompletion, kconfigwidgets, kdbusaddons, kdesignerplugin, kiconthemes,
|
|
||||||
kio,
|
|
||||||
boost, kitemmodels
|
|
||||||
}:
|
|
||||||
|
|
||||||
kdeApp {
|
|
||||||
name = "akonadi";
|
|
||||||
meta = {
|
|
||||||
license = [ lib.licenses.lgpl21 ];
|
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
|
||||||
};
|
|
||||||
nativeBuildInputs = [ extra-cmake-modules ];
|
|
||||||
buildInputs = [
|
|
||||||
kcompletion kconfigwidgets kdbusaddons kdesignerplugin kiconthemes kio
|
|
||||||
];
|
|
||||||
propagatedBuildInputs = [ boost kitemmodels ];
|
|
||||||
}
|
|
191
pkgs/applications/kde/akonadi/akonadi-paths.patch
Normal file
191
pkgs/applications/kde/akonadi/akonadi-paths.patch
Normal file
@ -0,0 +1,191 @@
|
|||||||
|
Index: akonadi-17.04.0/src/server/storage/dbconfigmysql.cpp
|
||||||
|
===================================================================
|
||||||
|
--- akonadi-17.04.0.orig/src/server/storage/dbconfigmysql.cpp
|
||||||
|
+++ akonadi-17.04.0/src/server/storage/dbconfigmysql.cpp
|
||||||
|
@@ -63,7 +63,6 @@ bool DbConfigMysql::init(QSettings &sett
|
||||||
|
// determine default settings depending on the driver
|
||||||
|
QString defaultHostName;
|
||||||
|
QString defaultOptions;
|
||||||
|
- QString defaultServerPath;
|
||||||
|
QString defaultCleanShutdownCommand;
|
||||||
|
|
||||||
|
#ifndef Q_OS_WIN
|
||||||
|
@@ -71,25 +70,8 @@ bool DbConfigMysql::init(QSettings &sett
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const bool defaultInternalServer = true;
|
||||||
|
-#ifdef MYSQLD_EXECUTABLE
|
||||||
|
- if (QFile::exists(QStringLiteral(MYSQLD_EXECUTABLE))) {
|
||||||
|
- defaultServerPath = QStringLiteral(MYSQLD_EXECUTABLE);
|
||||||
|
- }
|
||||||
|
-#endif
|
||||||
|
- const QStringList mysqldSearchPath = QStringList()
|
||||||
|
- << QStringLiteral("/usr/bin")
|
||||||
|
- << QStringLiteral("/usr/sbin")
|
||||||
|
- << QStringLiteral("/usr/local/sbin")
|
||||||
|
- << QStringLiteral("/usr/local/libexec")
|
||||||
|
- << QStringLiteral("/usr/libexec")
|
||||||
|
- << QStringLiteral("/opt/mysql/libexec")
|
||||||
|
- << QStringLiteral("/opt/local/lib/mysql5/bin")
|
||||||
|
- << QStringLiteral("/opt/mysql/sbin");
|
||||||
|
- if (defaultServerPath.isEmpty()) {
|
||||||
|
- defaultServerPath = XdgBaseDirs::findExecutableFile(QStringLiteral("mysqld"), mysqldSearchPath);
|
||||||
|
- }
|
||||||
|
|
||||||
|
- const QString mysqladminPath = XdgBaseDirs::findExecutableFile(QStringLiteral("mysqladmin"), mysqldSearchPath);
|
||||||
|
+ const QString mysqladminPath = QStringLiteral(NIXPKGS_MYSQL_MYSQLADMIN);
|
||||||
|
if (!mysqladminPath.isEmpty()) {
|
||||||
|
#ifndef Q_OS_WIN
|
||||||
|
defaultCleanShutdownCommand = QStringLiteral("%1 --defaults-file=%2/mysql.conf --socket=%3/mysql.socket shutdown")
|
||||||
|
@@ -99,10 +81,10 @@ bool DbConfigMysql::init(QSettings &sett
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
- mMysqlInstallDbPath = XdgBaseDirs::findExecutableFile(QStringLiteral("mysql_install_db"), mysqldSearchPath);
|
||||||
|
+ mMysqlInstallDbPath = QStringLiteral(NIXPKGS_MYSQL_MYSQL_INSTALL_DB);
|
||||||
|
qCDebug(AKONADISERVER_LOG) << "Found mysql_install_db: " << mMysqlInstallDbPath;
|
||||||
|
|
||||||
|
- mMysqlCheckPath = XdgBaseDirs::findExecutableFile(QStringLiteral("mysqlcheck"), mysqldSearchPath);
|
||||||
|
+ mMysqlCheckPath = QStringLiteral(NIXPKGS_MYSQL_MYSQLCHECK);
|
||||||
|
qCDebug(AKONADISERVER_LOG) << "Found mysqlcheck: " << mMysqlCheckPath;
|
||||||
|
|
||||||
|
mInternalServer = settings.value(QStringLiteral("QMYSQL/StartServer"), defaultInternalServer).toBool();
|
||||||
|
@@ -119,7 +101,7 @@ bool DbConfigMysql::init(QSettings &sett
|
||||||
|
mUserName = settings.value(QStringLiteral("User")).toString();
|
||||||
|
mPassword = settings.value(QStringLiteral("Password")).toString();
|
||||||
|
mConnectionOptions = settings.value(QStringLiteral("Options"), defaultOptions).toString();
|
||||||
|
- mMysqldPath = settings.value(QStringLiteral("ServerPath"), defaultServerPath).toString();
|
||||||
|
+ mMysqldPath = QStringLiteral(NIXPKGS_MYSQL_MYSQLD);
|
||||||
|
mCleanServerShutdownCommand = settings.value(QStringLiteral("CleanServerShutdownCommand"), defaultCleanShutdownCommand).toString();
|
||||||
|
settings.endGroup();
|
||||||
|
|
||||||
|
@@ -129,9 +111,6 @@ bool DbConfigMysql::init(QSettings &sett
|
||||||
|
// intentionally not namespaced as we are the only one in this db instance when using internal mode
|
||||||
|
mDatabaseName = QStringLiteral("akonadi");
|
||||||
|
}
|
||||||
|
- if (mInternalServer && (mMysqldPath.isEmpty() || !QFile::exists(mMysqldPath))) {
|
||||||
|
- mMysqldPath = defaultServerPath;
|
||||||
|
- }
|
||||||
|
|
||||||
|
qCDebug(AKONADISERVER_LOG) << "Using mysqld:" << mMysqldPath;
|
||||||
|
|
||||||
|
@@ -140,9 +119,6 @@ bool DbConfigMysql::init(QSettings &sett
|
||||||
|
settings.setValue(QStringLiteral("Name"), mDatabaseName);
|
||||||
|
settings.setValue(QStringLiteral("Host"), mHostName);
|
||||||
|
settings.setValue(QStringLiteral("Options"), mConnectionOptions);
|
||||||
|
- if (!mMysqldPath.isEmpty()) {
|
||||||
|
- settings.setValue(QStringLiteral("ServerPath"), mMysqldPath);
|
||||||
|
- }
|
||||||
|
settings.setValue(QStringLiteral("StartServer"), mInternalServer);
|
||||||
|
settings.endGroup();
|
||||||
|
settings.sync();
|
||||||
|
@@ -196,7 +172,7 @@ bool DbConfigMysql::startInternalServer(
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// generate config file
|
||||||
|
- const QString globalConfig = XdgBaseDirs::findResourceFile("config", QStringLiteral("akonadi/mysql-global.conf"));
|
||||||
|
+ const QString globalConfig = QStringLiteral(NIX_OUT "/etc/xdg/akonadi/mysql-global.conf");
|
||||||
|
const QString localConfig = XdgBaseDirs::findResourceFile("config", QStringLiteral("akonadi/mysql-local.conf"));
|
||||||
|
const QString actualConfig = StandardDirs::saveDir("data") + QLatin1String("/mysql.conf");
|
||||||
|
if (globalConfig.isEmpty()) {
|
||||||
|
Index: akonadi-17.04.0/src/server/storage/dbconfigpostgresql.cpp
|
||||||
|
===================================================================
|
||||||
|
--- akonadi-17.04.0.orig/src/server/storage/dbconfigpostgresql.cpp
|
||||||
|
+++ akonadi-17.04.0/src/server/storage/dbconfigpostgresql.cpp
|
||||||
|
@@ -58,7 +58,6 @@ bool DbConfigPostgresql::init(QSettings
|
||||||
|
// determine default settings depending on the driver
|
||||||
|
QString defaultHostName;
|
||||||
|
QString defaultOptions;
|
||||||
|
- QString defaultServerPath;
|
||||||
|
QString defaultInitDbPath;
|
||||||
|
QString defaultPgData;
|
||||||
|
|
||||||
|
@@ -70,35 +69,7 @@ bool DbConfigPostgresql::init(QSettings
|
||||||
|
|
||||||
|
mInternalServer = settings.value(QStringLiteral("QPSQL/StartServer"), defaultInternalServer).toBool();
|
||||||
|
if (mInternalServer) {
|
||||||
|
- QStringList postgresSearchPath;
|
||||||
|
-
|
||||||
|
-#ifdef POSTGRES_PATH
|
||||||
|
- const QString dir(QStringLiteral(POSTGRES_PATH));
|
||||||
|
- if (QDir(dir).exists()) {
|
||||||
|
- postgresSearchPath << QStringLiteral(POSTGRES_PATH);
|
||||||
|
- }
|
||||||
|
-#endif
|
||||||
|
- postgresSearchPath << QStringLiteral("/usr/sbin")
|
||||||
|
- << QStringLiteral("/usr/local/sbin");
|
||||||
|
- // Locale all versions in /usr/lib/postgresql (i.e. /usr/lib/postgresql/X.Y) in reversed
|
||||||
|
- // sorted order, so we search from the newest one to the oldest.
|
||||||
|
- QStringList postgresVersionedSearchPaths;
|
||||||
|
- QDir versionedDir(QStringLiteral("/usr/lib/postgresql"));
|
||||||
|
- if (versionedDir.exists()) {
|
||||||
|
- const auto versionedDirs = versionedDir.entryInfoList(QDir::Dirs | QDir::NoDotAndDotDot, QDir::Name | QDir::Reversed);
|
||||||
|
- for (const auto &path : versionedDirs) {
|
||||||
|
- // Don't break once PostgreSQL 10 is released, but something more future-proof will be needed
|
||||||
|
- if (path.fileName().startsWith(QLatin1String("10."))) {
|
||||||
|
- postgresVersionedSearchPaths.prepend(path.absoluteFilePath() + QStringLiteral("/bin"));
|
||||||
|
- } else {
|
||||||
|
- postgresVersionedSearchPaths.append(path.absoluteFilePath() + QStringLiteral("/bin"));
|
||||||
|
- }
|
||||||
|
- }
|
||||||
|
- }
|
||||||
|
- postgresSearchPath.append(postgresVersionedSearchPaths);
|
||||||
|
-
|
||||||
|
- defaultServerPath = XdgBaseDirs::findExecutableFile(QStringLiteral("pg_ctl"), postgresSearchPath);
|
||||||
|
- defaultInitDbPath = XdgBaseDirs::findExecutableFile(QStringLiteral("initdb"), postgresSearchPath);
|
||||||
|
+ defaultInitDbPath = QStringLiteral(NIXPKGS_POSTGRES_INITDB);
|
||||||
|
defaultHostName = Utils::preferredSocketDirectory(StandardDirs::saveDir("data", QStringLiteral("db_misc")));
|
||||||
|
defaultPgData = StandardDirs::saveDir("data", QStringLiteral("db_data"));
|
||||||
|
}
|
||||||
|
@@ -118,10 +89,7 @@ bool DbConfigPostgresql::init(QSettings
|
||||||
|
mUserName = settings.value(QStringLiteral("User")).toString();
|
||||||
|
mPassword = settings.value(QStringLiteral("Password")).toString();
|
||||||
|
mConnectionOptions = settings.value(QStringLiteral("Options"), defaultOptions).toString();
|
||||||
|
- mServerPath = settings.value(QStringLiteral("ServerPath"), defaultServerPath).toString();
|
||||||
|
- if (mInternalServer && mServerPath.isEmpty()) {
|
||||||
|
- mServerPath = defaultServerPath;
|
||||||
|
- }
|
||||||
|
+ mServerPath = QStringLiteral(NIXPKGS_POSTGRES_PG_CTL);
|
||||||
|
qCDebug(AKONADISERVER_LOG) << "Found pg_ctl:" << mServerPath;
|
||||||
|
mInitDbPath = settings.value(QStringLiteral("InitDbPath"), defaultInitDbPath).toString();
|
||||||
|
if (mInternalServer && mInitDbPath.isEmpty()) {
|
||||||
|
@@ -142,7 +110,6 @@ bool DbConfigPostgresql::init(QSettings
|
||||||
|
settings.setValue(QStringLiteral("Port"), mHostPort);
|
||||||
|
}
|
||||||
|
settings.setValue(QStringLiteral("Options"), mConnectionOptions);
|
||||||
|
- settings.setValue(QStringLiteral("ServerPath"), mServerPath);
|
||||||
|
settings.setValue(QStringLiteral("InitDbPath"), mInitDbPath);
|
||||||
|
settings.setValue(QStringLiteral("StartServer"), mInternalServer);
|
||||||
|
settings.endGroup();
|
||||||
|
Index: akonadi-17.04.0/src/akonadicontrol/agentprocessinstance.cpp
|
||||||
|
===================================================================
|
||||||
|
--- akonadi-17.04.0.orig/src/akonadicontrol/agentprocessinstance.cpp
|
||||||
|
+++ akonadi-17.04.0/src/akonadicontrol/agentprocessinstance.cpp
|
||||||
|
@@ -62,7 +62,7 @@ bool AgentProcessInstance::start(const A
|
||||||
|
} else {
|
||||||
|
Q_ASSERT(agentInfo.launchMethod == AgentType::Launcher);
|
||||||
|
const QStringList arguments = QStringList() << executable << identifier();
|
||||||
|
- const QString agentLauncherExec = XdgBaseDirs::findExecutableFile(QStringLiteral("akonadi_agent_launcher"));
|
||||||
|
+ const QString agentLauncherExec = QStringLiteral(NIX_OUT "/bin/akonadi_agent_launcher");
|
||||||
|
mController->start(agentLauncherExec, arguments);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
Index: akonadi-17.04.0/src/akonadicontrol/agentmanager.cpp
|
||||||
|
===================================================================
|
||||||
|
--- akonadi-17.04.0.orig/src/akonadicontrol/agentmanager.cpp
|
||||||
|
+++ akonadi-17.04.0/src/akonadicontrol/agentmanager.cpp
|
||||||
|
@@ -102,12 +102,12 @@ AgentManager::AgentManager(bool verbose,
|
||||||
|
mStorageController = new Akonadi::ProcessControl;
|
||||||
|
mStorageController->setShutdownTimeout(15 * 1000); // the server needs more time for shutdown if we are using an internal mysqld
|
||||||
|
connect(mStorageController, &Akonadi::ProcessControl::unableToStart, this, &AgentManager::serverFailure);
|
||||||
|
- mStorageController->start(QStringLiteral("akonadiserver"), serviceArgs, Akonadi::ProcessControl::RestartOnCrash);
|
||||||
|
+ mStorageController->start(QStringLiteral(NIX_OUT "/bin/akonadiserver"), serviceArgs, Akonadi::ProcessControl::RestartOnCrash);
|
||||||
|
|
||||||
|
if (mAgentServerEnabled) {
|
||||||
|
mAgentServer = new Akonadi::ProcessControl;
|
||||||
|
connect(mAgentServer, &Akonadi::ProcessControl::unableToStart, this, &AgentManager::agentServerFailure);
|
||||||
|
- mAgentServer->start(QStringLiteral("akonadi_agent_server"), serviceArgs, Akonadi::ProcessControl::RestartOnCrash);
|
||||||
|
+ mAgentServer->start(QStringLiteral(NIX_OUT "/bin/akonadi_agent_server"), serviceArgs, Akonadi::ProcessControl::RestartOnCrash);
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifndef QT_NO_DEBUG
|
14
pkgs/applications/kde/akonadi/akonadi-timestamps.patch
Normal file
14
pkgs/applications/kde/akonadi/akonadi-timestamps.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Index: akonadi-17.04.0/src/server/storage/dbconfigmysql.cpp
|
||||||
|
===================================================================
|
||||||
|
--- akonadi-17.04.0.orig/src/server/storage/dbconfigmysql.cpp
|
||||||
|
+++ akonadi-17.04.0/src/server/storage/dbconfigmysql.cpp
|
||||||
|
@@ -229,8 +229,7 @@ bool DbConfigMysql::startInternalServer(
|
||||||
|
bool confUpdate = false;
|
||||||
|
QFile actualFile(actualConfig);
|
||||||
|
// update conf only if either global (or local) is newer than actual
|
||||||
|
- if ((QFileInfo(globalConfig).lastModified() > QFileInfo(actualFile).lastModified()) ||
|
||||||
|
- (QFileInfo(localConfig).lastModified() > QFileInfo(actualFile).lastModified())) {
|
||||||
|
+ if (true) {
|
||||||
|
QFile globalFile(globalConfig);
|
||||||
|
QFile localFile(localConfig);
|
||||||
|
if (globalFile.open(QFile::ReadOnly) && actualFile.open(QFile::WriteOnly)) {
|
36
pkgs/applications/kde/akonadi/default.nix
Normal file
36
pkgs/applications/kde/akonadi/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
mkDerivation, copyPathsToStore, lib,
|
||||||
|
extra-cmake-modules,
|
||||||
|
kcompletion, kconfigwidgets, kdbusaddons, kdesignerplugin, kiconthemes,
|
||||||
|
kio,
|
||||||
|
boost, kitemmodels,
|
||||||
|
mysql
|
||||||
|
}:
|
||||||
|
|
||||||
|
mkDerivation {
|
||||||
|
name = "akonadi";
|
||||||
|
meta = {
|
||||||
|
license = [ lib.licenses.lgpl21 ];
|
||||||
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
|
};
|
||||||
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||||
|
nativeBuildInputs = [ extra-cmake-modules ];
|
||||||
|
buildInputs = [
|
||||||
|
kcompletion kconfigwidgets kdbusaddons kdesignerplugin kiconthemes kio
|
||||||
|
];
|
||||||
|
propagatedBuildInputs = [ boost kitemmodels ];
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DMYSQLD_EXECUTABLE=${lib.getBin mysql}/bin/mysqld"
|
||||||
|
];
|
||||||
|
NIX_CFLAGS_COMPILE = [
|
||||||
|
''-DNIXPKGS_MYSQL_MYSQLD="${lib.getBin mysql}/bin/mysqld"''
|
||||||
|
''-DNIXPKGS_MYSQL_MYSQLADMIN="${lib.getBin mysql}/bin/mysqladmin"''
|
||||||
|
''-DNIXPKGS_MYSQL_MYSQL_INSTALL_DB="${lib.getBin mysql}/bin/mysql_install_db"''
|
||||||
|
''-DNIXPKGS_MYSQL_MYSQLCHECK="${lib.getBin mysql}/bin/mysqlcheck"''
|
||||||
|
''-DNIXPKGS_POSTGRES_PG_CTL=""''
|
||||||
|
''-DNIXPKGS_POSTGRES_INITDB=""''
|
||||||
|
];
|
||||||
|
preConfigure = ''
|
||||||
|
NIX_CFLAGS_COMPILE+=" -DNIX_OUT=\"$out\""
|
||||||
|
'';
|
||||||
|
}
|
2
pkgs/applications/kde/akonadi/series
Normal file
2
pkgs/applications/kde/akonadi/series
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
akonadi-paths.patch
|
||||||
|
akonadi-timestamps.patch
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, config, kdeWrapper,
|
mkDerivation, lib, config, makeWrapper,
|
||||||
|
|
||||||
extra-cmake-modules, kdoctools, makeWrapper,
|
extra-cmake-modules, kdoctools,
|
||||||
|
|
||||||
karchive, kconfig, kcrash, kdbusaddons, ki18n, kiconthemes, khtml, kio,
|
karchive, kconfig, kcrash, kdbusaddons, ki18n, kiconthemes, kitemmodels,
|
||||||
kservice, kpty, kwidgetsaddons, libarchive, kitemmodels,
|
khtml, kio, kparts, kpty, kservice, kwidgetsaddons, libarchive,
|
||||||
|
|
||||||
# Archive tools
|
# Archive tools
|
||||||
p7zip, unzipNLS, zip,
|
p7zip, unzipNLS, zip,
|
||||||
@ -13,35 +13,25 @@
|
|||||||
unfreeEnableUnrar ? false, unrar,
|
unfreeEnableUnrar ? false, unrar,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "ark";
|
||||||
kdeApp {
|
nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
|
||||||
name = "ark";
|
propagatedBuildInputs = [
|
||||||
nativeBuildInputs = [
|
karchive kconfig kcrash kdbusaddons khtml ki18n kiconthemes kio kitemmodels
|
||||||
extra-cmake-modules kdoctools makeWrapper
|
kparts kpty kservice kwidgetsaddons libarchive
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = [
|
outputs = [ "out" "dev" ];
|
||||||
khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice
|
postFixup =
|
||||||
kpty kwidgetsaddons libarchive kitemmodels
|
let
|
||||||
];
|
PATH =
|
||||||
postInstall =
|
lib.makeBinPath
|
||||||
let
|
([ p7zip unzipNLS zip ] ++ lib.optional unfreeEnableUnrar unrar);
|
||||||
PATH =
|
in ''
|
||||||
lib.makeBinPath
|
wrapProgram "$out/bin/ark" --prefix PATH: "${PATH}"
|
||||||
([ p7zip unzipNLS zip ] ++ lib.optional unfreeEnableUnrar unrar);
|
'';
|
||||||
in ''
|
meta = {
|
||||||
wrapProgram "$out/bin/ark" \
|
license = with lib.licenses;
|
||||||
--prefix PATH : "${PATH}"
|
[ gpl2 lgpl3 ] ++ lib.optional unfreeEnableUnrar unfree;
|
||||||
'';
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
meta = {
|
};
|
||||||
license = with lib.licenses;
|
|
||||||
[ gpl2 lgpl3 ] ++ lib.optional unfreeEnableUnrar unfree;
|
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper
|
|
||||||
{
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/ark" ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
baloo, kconfig, kdelibs4support, kfilemetadata, ki18n, kio, kservice
|
baloo, kconfig, kdelibs4support, kfilemetadata, ki18n, kio, kservice
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "baloo-widgets";
|
name = "baloo-widgets";
|
||||||
meta = {
|
meta = {
|
||||||
license = [ lib.licenses.lgpl21 ];
|
license = [ lib.licenses.lgpl21 ];
|
||||||
@ -14,4 +14,5 @@ kdeApp {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
baloo kconfig kdelibs4support kfilemetadata ki18n kio kservice
|
baloo kconfig kdelibs4support kfilemetadata ki18n kio kservice
|
||||||
];
|
];
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ kdeDerivation, lib, debug, srcs }:
|
{ mkDerivation, lib, srcs }:
|
||||||
|
|
||||||
args:
|
args:
|
||||||
|
|
||||||
@ -7,14 +7,11 @@ let
|
|||||||
sname = args.sname or name;
|
sname = args.sname or name;
|
||||||
inherit (srcs."${sname}") src version;
|
inherit (srcs."${sname}") src version;
|
||||||
in
|
in
|
||||||
kdeDerivation (args // {
|
mkDerivation (args // {
|
||||||
name = "${name}-${version}";
|
name = "${name}-${version}";
|
||||||
inherit src;
|
inherit src;
|
||||||
|
|
||||||
cmakeFlags =
|
outputs = args.outputs or [ "out" "dev" ];
|
||||||
(args.cmakeFlags or [])
|
|
||||||
++ [ "-DBUILD_TESTING=OFF" ]
|
|
||||||
++ lib.optional debug "-DCMAKE_BUILD_TYPE=Debug";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
|
@ -18,7 +18,7 @@ still shows most of the available features is in `./gwenview.nix`.
|
|||||||
# Updates
|
# Updates
|
||||||
|
|
||||||
1. Update the URL in `./fetch.sh`.
|
1. Update the URL in `./fetch.sh`.
|
||||||
2. Run `./maintainers/scripts/fetch-kde-qt.sh pkgs/desktops/kde-5/applications`
|
2. Run `./maintainers/scripts/fetch-kde-qt.sh pkgs/applications/kde`
|
||||||
from the top of the Nixpkgs tree.
|
from the top of the Nixpkgs tree.
|
||||||
3. Use `nox-review wip` to check that everything builds.
|
3. Use `nox-review wip` to check that everything builds.
|
||||||
4. Commit the changes and open a pull request.
|
4. Commit the changes and open a pull request.
|
||||||
@ -27,9 +27,7 @@ still shows most of the available features is in `./gwenview.nix`.
|
|||||||
|
|
||||||
{
|
{
|
||||||
stdenv, lib, libsForQt5, fetchurl, recurseIntoAttrs,
|
stdenv, lib, libsForQt5, fetchurl, recurseIntoAttrs,
|
||||||
kdeDerivation, plasma5,
|
plasma5, attica, phonon,
|
||||||
attica, phonon,
|
|
||||||
debug ? false,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -42,14 +40,15 @@ let
|
|||||||
packages = self: with self;
|
packages = self: with self;
|
||||||
let
|
let
|
||||||
callPackage = self.newScope {
|
callPackage = self.newScope {
|
||||||
kdeApp = import ./build-support/application.nix {
|
mkDerivation = import ./build-support/application.nix {
|
||||||
inherit lib kdeDerivation;
|
inherit lib;
|
||||||
inherit debug srcs;
|
inherit srcs;
|
||||||
|
mkDerivation = libsForQt5.callPackage ({ mkDerivation }: mkDerivation) {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
kdelibs = callPackage ./kdelibs { inherit attica phonon; };
|
kdelibs = callPackage ./kdelibs { inherit attica phonon; };
|
||||||
akonadi = callPackage ./akonadi.nix {};
|
akonadi = callPackage ./akonadi {};
|
||||||
akonadi-contacts = callPackage ./akonadi-contacts.nix {};
|
akonadi-contacts = callPackage ./akonadi-contacts.nix {};
|
||||||
akonadi-mime = callPackage ./akonadi-mime.nix {};
|
akonadi-mime = callPackage ./akonadi-mime.nix {};
|
||||||
ark = callPackage ./ark/default.nix {};
|
ark = callPackage ./ark/default.nix {};
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
dolphin, kdelibs4support, ki18n, kio, kxmlgui
|
dolphin, kdelibs4support, ki18n, kio, kxmlgui
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "dolphin-plugins";
|
name = "dolphin-plugins";
|
||||||
meta = {
|
meta = {
|
||||||
license = [ lib.licenses.gpl2 ];
|
license = [ lib.licenses.gpl2 ];
|
||||||
@ -12,6 +12,6 @@ kdeApp {
|
|||||||
};
|
};
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
dolphin.unwrapped kdelibs4support ki18n kio kxmlgui
|
dolphin kdelibs4support ki18n kio kxmlgui
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -1,32 +1,24 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools, makeQtWrapper,
|
extra-cmake-modules, kdoctools,
|
||||||
baloo, baloo-widgets, dolphin-plugins, kactivities, kbookmarks, kcmutils,
|
baloo, baloo-widgets, dolphin-plugins, kactivities, kbookmarks, kcmutils,
|
||||||
kcompletion, kconfig, kcoreaddons, kdelibs4support, kdbusaddons,
|
kcompletion, kconfig, kcoreaddons, kdelibs4support, kdbusaddons,
|
||||||
kfilemetadata, ki18n, kiconthemes, kinit, kio, knewstuff, knotifications,
|
kfilemetadata, ki18n, kiconthemes, kinit, kio, knewstuff, knotifications,
|
||||||
konsole, kparts, ktexteditor, kwindowsystem, phonon, solid
|
konsole, kparts, ktexteditor, kwindowsystem, phonon, solid
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "dolphin";
|
||||||
kdeApp {
|
meta = {
|
||||||
name = "dolphin";
|
license = with lib.licenses; [ gpl2 fdl12 ];
|
||||||
meta = {
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
license = with lib.licenses; [ gpl2 fdl12 ];
|
};
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
};
|
propagatedBuildInputs = [
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
baloo baloo-widgets kactivities kbookmarks kcmutils kcompletion kconfig
|
||||||
propagatedBuildInputs = [
|
kcoreaddons kdelibs4support kdbusaddons kfilemetadata ki18n kiconthemes
|
||||||
baloo baloo-widgets kactivities kbookmarks kcmutils kcompletion kconfig
|
kinit kio knewstuff knotifications kparts ktexteditor kwindowsystem
|
||||||
kcoreaddons kdelibs4support kdbusaddons kfilemetadata ki18n kiconthemes
|
phonon solid
|
||||||
kinit kio knewstuff knotifications kparts ktexteditor kwindowsystem
|
];
|
||||||
phonon solid
|
outputs = [ "out" "dev" ];
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper
|
|
||||||
{
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/dolphin" ];
|
|
||||||
paths = [ dolphin-plugins konsole.unwrapped ];
|
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
WGET_ARGS=( http://download.kde.org/stable/applications/17.04.1/ -A '*.tar.xz' )
|
WGET_ARGS=( https://download.kde.org/stable/applications/17.04.2/ -A '*.tar.xz' )
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules,
|
extra-cmake-modules,
|
||||||
ffmpeg, kio
|
ffmpeg, kio
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "ffmpegthumbs";
|
name = "ffmpegthumbs";
|
||||||
meta = {
|
meta = {
|
||||||
license = with lib.licenses; [ gpl2 bsd3 ];
|
license = with lib.licenses; [ gpl2 bsd3 ];
|
||||||
|
@ -1,24 +1,17 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kio, kparts, kxmlgui, qtscript, solid
|
kio, kparts, kxmlgui, qtscript, solid
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "filelight";
|
||||||
kdeApp {
|
meta = {
|
||||||
name = "filelight";
|
license = with lib.licenses; [ gpl2 ];
|
||||||
meta = {
|
maintainers = with lib.maintainers; [ fridh vcunat ];
|
||||||
license = with lib.licenses; [ gpl2 ];
|
};
|
||||||
maintainers = with lib.maintainers; [ fridh vcunat ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
};
|
propagatedBuildInputs = [
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
kio kparts kxmlgui qtscript solid
|
||||||
propagatedBuildInputs = [
|
];
|
||||||
kio kparts kxmlgui qtscript solid
|
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/filelight" ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,27 +1,21 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
baloo, exiv2, kactivities, kdelibs4support, kio, kipi-plugins, lcms2,
|
exiv2, lcms2,
|
||||||
libkdcraw, libkipi, phonon, qtimageformats, qtsvg, qtx11extras
|
baloo, kactivities, kdelibs4support, kio, kipi-plugins, libkdcraw, libkipi,
|
||||||
|
phonon, qtimageformats, qtsvg, qtx11extras
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "gwenview";
|
||||||
kdeApp {
|
meta = {
|
||||||
name = "gwenview";
|
license = with lib.licenses; [ gpl2 fdl12 ];
|
||||||
meta = {
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
license = with lib.licenses; [ gpl2 fdl12 ];
|
};
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
};
|
buildInputs = [
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
baloo exiv2 kactivities kdelibs4support kio libkdcraw lcms2 libkipi phonon
|
||||||
propagatedBuildInputs = [
|
qtimageformats qtsvg qtx11extras
|
||||||
baloo kactivities kdelibs4support kio exiv2 lcms2 libkdcraw
|
];
|
||||||
libkipi phonon qtimageformats qtsvg qtx11extras
|
propagatedUserEnvPkgs = [ kipi-plugins ];
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/gwenview" ];
|
|
||||||
paths = [ kipi-plugins ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,41 +1,41 @@
|
|||||||
{ kdeApp, lib, kdeWrapper, extra-cmake-modules
|
{ mkDerivation, lib
|
||||||
|
, extra-cmake-modules, kdoctools, makeWrapper
|
||||||
, qtwebkit
|
, qtwebkit
|
||||||
, libkcddb, kcmutils, kdoctools, kfilemetadata, knewstuff, knotifyconfig, solid, kxmlgui
|
, libkcddb, kcmutils, kfilemetadata, knewstuff, knotifyconfig, solid, kxmlgui
|
||||||
, flac, lame, libmad, libmpcdec, libvorbis
|
, flac, lame, libmad, libmpcdec, libvorbis
|
||||||
, libsamplerate, libsndfile, taglib
|
, libsamplerate, libsndfile, taglib
|
||||||
, cdparanoia, cdrdao, cdrtools, dvdplusrwtools, libburn, libdvdcss, libdvdread, vcdimager
|
, cdparanoia, cdrdao, cdrtools, dvdplusrwtools, libburn, libdvdcss, libdvdread, vcdimager
|
||||||
, ffmpeg, libmusicbrainz2, normalize, sox, transcode
|
, ffmpeg, libmusicbrainz2, normalize, sox, transcode
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "k3b";
|
||||||
kdeApp {
|
meta = with lib; {
|
||||||
name = "k3b";
|
license = with licenses; [ gpl2Plus ];
|
||||||
meta = with lib; {
|
maintainers = with maintainers; [ sander phreedom ];
|
||||||
license = with licenses; [ gpl2Plus ];
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ sander phreedom ];
|
};
|
||||||
platforms = platforms.linux;
|
nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
|
||||||
};
|
propagatedBuildInputs = [
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
# qt
|
||||||
propagatedBuildInputs = [
|
qtwebkit
|
||||||
# qt
|
# kde
|
||||||
qtwebkit
|
libkcddb kcmutils kfilemetadata knewstuff knotifyconfig solid kxmlgui
|
||||||
# kde
|
# formats
|
||||||
libkcddb kcmutils kfilemetadata knewstuff knotifyconfig solid kxmlgui
|
flac lame libmad libmpcdec libvorbis
|
||||||
# formats
|
# sound utilities
|
||||||
flac lame libmad libmpcdec libvorbis
|
libsamplerate libsndfile taglib
|
||||||
# sound utilities
|
# cd/dvd
|
||||||
libsamplerate libsndfile taglib
|
cdparanoia libdvdcss libdvdread
|
||||||
# cd/dvd
|
# others
|
||||||
cdparanoia libdvdcss libdvdread
|
ffmpeg libmusicbrainz2
|
||||||
# others
|
];
|
||||||
ffmpeg libmusicbrainz2
|
postFixup =
|
||||||
];
|
let k3bPath = lib.makeBinPath [
|
||||||
enableParallelBuilding = true;
|
cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode
|
||||||
};
|
vcdimager
|
||||||
|
];
|
||||||
in kdeWrapper {
|
in ''
|
||||||
inherit unwrapped;
|
wrapProgram "$out/bin/k3b" --prefix PATH : "${k3bPath}"
|
||||||
targets = [ "bin/k3b" ];
|
'';
|
||||||
paths = [ cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode vcdimager ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kactivities, kconfig, kcrash, kdbusaddons, kguiaddons, kiconthemes, ki18n,
|
kactivities, kconfig, kcrash, kdbusaddons, kguiaddons, kiconthemes, ki18n,
|
||||||
kinit, kio, kitemmodels, kjobwidgets, knewstuff, knotifications, konsole,
|
kinit, kio, kitemmodels, kjobwidgets, knewstuff, knotifications, konsole,
|
||||||
@ -7,26 +7,19 @@
|
|||||||
plasma-framework, qtscript, threadweaver
|
plasma-framework, qtscript, threadweaver
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "kate";
|
||||||
kdeApp {
|
meta = {
|
||||||
name = "kate";
|
license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ];
|
||||||
meta = {
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ];
|
};
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
};
|
buildInputs = [ libgit2 ];
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [
|
kactivities ki18n kio ktexteditor kwindowsystem plasma-framework
|
||||||
kactivities ki18n kio ktexteditor kwindowsystem plasma-framework
|
qtscript kconfig kcrash kguiaddons kiconthemes kinit kjobwidgets kparts
|
||||||
qtscript kconfig kcrash kguiaddons kiconthemes kinit kjobwidgets kparts
|
kxmlgui kdbusaddons kwallet kitemmodels knotifications threadweaver
|
||||||
kxmlgui kdbusaddons kwallet kitemmodels knotifications threadweaver
|
knewstuff
|
||||||
knewstuff libgit2
|
];
|
||||||
];
|
propagatedUserEnvPkgs = [ konsole ];
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper
|
|
||||||
{
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/kate" "bin/kwrite" ];
|
|
||||||
paths = [ konsole.unwrapped ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,28 +1,17 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kio, ki18n,
|
kio, ki18n,
|
||||||
perl, python, php
|
perl, python, php
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeWrapper {
|
mkDerivation {
|
||||||
unwrapped = kdeApp {
|
name = "kcachegrind";
|
||||||
name = "kcachegrind";
|
meta = {
|
||||||
meta = {
|
license = with lib.licenses; [ gpl2 ];
|
||||||
license = with lib.licenses; [ gpl2 ];
|
maintainers = with lib.maintainers; [ orivej ];
|
||||||
maintainers = with lib.maintainers; [ orivej ];
|
|
||||||
};
|
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
||||||
buildInputs = [ perl python php kio ki18n ];
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
};
|
};
|
||||||
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
targets = [
|
propagatedBuildInputs = [ kio ];
|
||||||
"bin/kcachegrind"
|
buildInputs = [ perl python php ki18n ];
|
||||||
"bin/dprof2calltree" # perl
|
|
||||||
"bin/hotshot2calltree" # python
|
|
||||||
"bin/memprof2calltree" # perl
|
|
||||||
"bin/op2calltree" # perl
|
|
||||||
"bin/pprof2calltree" # php
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
@ -1,24 +1,18 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kconfig, kconfigwidgets, kguiaddons, kinit, knotifications, gmp
|
kconfig, kconfigwidgets, kguiaddons, kinit, knotifications, gmp
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "kcalc";
|
||||||
kdeApp {
|
meta = {
|
||||||
name = "kcalc";
|
license = with lib.licenses; [ gpl2 ];
|
||||||
meta = {
|
maintainers = [ lib.maintainers.fridh ];
|
||||||
license = with lib.licenses; [ gpl2 ];
|
};
|
||||||
maintainers = [ lib.maintainers.fridh ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
};
|
buildInputs = [ gmp ];
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [
|
kconfig kconfigwidgets kguiaddons kinit knotifications
|
||||||
gmp kconfig kconfigwidgets kguiaddons kinit knotifications
|
];
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/kcalc" ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,16 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, ki18n, kwidgetsaddons, kxmlgui
|
extra-cmake-modules,
|
||||||
|
ki18n, kwidgetsaddons, kxmlgui
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "kcolorchooser";
|
||||||
kdeApp {
|
meta = {
|
||||||
name = "kcolorchooser";
|
license = with lib.licenses; [ mit ];
|
||||||
meta = {
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
license = with lib.licenses; [ mit ];
|
};
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
nativeBuildInputs = [ extra-cmake-modules ];
|
||||||
};
|
buildInputs = [ ki18n ];
|
||||||
nativeBuildInputs = [ extra-cmake-modules ];
|
propagatedBuildInputs = [ kwidgetsaddons kxmlgui ];
|
||||||
propagatedBuildInputs = [ ki18n kwidgetsaddons kxmlgui ];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/kcolorchooser" ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, ki18n,
|
extra-cmake-modules,
|
||||||
kcoreaddons, kconfig, kcodecs
|
kcoreaddons, kconfig, kcodecs, ki18n, qtbase,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "kcontacts";
|
name = "kcontacts";
|
||||||
meta = {
|
meta = {
|
||||||
license = [ lib.licenses.lgpl21 ];
|
license = [ lib.licenses.lgpl21 ];
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ extra-cmake-modules ki18n ];
|
nativeBuildInputs = [ extra-cmake-modules ];
|
||||||
buildInputs = [ kcoreaddons kconfig kcodecs ];
|
buildInputs = [ kcoreaddons kconfig kcodecs ki18n qtbase ];
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
name: args:
|
name: args:
|
||||||
|
|
||||||
{ kdeApp, automoc4, cmake, gettext, kdelibs, perl }:
|
{ mkDerivation, automoc4, cmake, gettext, kdelibs, perl }:
|
||||||
|
|
||||||
kdeApp (args // {
|
mkDerivation (args // {
|
||||||
sname = "kde-l10n-${name}";
|
sname = "kde-l10n-${name}";
|
||||||
name = "kde-l10n-${name}-qt4";
|
name = "kde-l10n-${name}-qt4";
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
name: args:
|
name: args:
|
||||||
|
|
||||||
{ kdeApp, cmake, extra-cmake-modules, gettext, kdoctools }:
|
{ mkDerivation, cmake, extra-cmake-modules, gettext, kdoctools }:
|
||||||
|
|
||||||
kdeApp (args // {
|
mkDerivation (args // {
|
||||||
sname = "kde-l10n-${name}";
|
sname = "kde-l10n-${name}";
|
||||||
name = "kde-l10n-${name}-qt5";
|
name = "kde-l10n-${name}-qt5";
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules,
|
extra-cmake-modules,
|
||||||
kio
|
kio
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "kdegraphics-mobipocket";
|
name = "kdegraphics-mobipocket";
|
||||||
meta = {
|
meta = {
|
||||||
license = [ lib.licenses.gpl2Plus ];
|
license = [ lib.licenses.gpl2Plus ];
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kio, libkexiv2, libkdcraw
|
extra-cmake-modules, kio, libkexiv2, libkdcraw
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "kdegraphics-thumbnailers";
|
name = "kdegraphics-thumbnailers";
|
||||||
meta = {
|
meta = {
|
||||||
license = [ lib.licenses.lgpl21 ];
|
license = [ lib.licenses.lgpl21 ];
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib,
|
mkDerivation, lib,
|
||||||
automoc4, bison, cmake, flex, libxslt, perl, pkgconfig, shared_mime_info,
|
automoc4, bison, cmake, flex, libxslt, perl, pkgconfig, shared_mime_info,
|
||||||
attica, attr, avahi, docbook_xml_dtd_42, docbook_xsl, giflib, ilmbase,
|
attica, attr, avahi, docbook_xml_dtd_42, docbook_xsl, giflib, ilmbase,
|
||||||
libdbusmenu_qt, libjpeg, libxml2, phonon, polkit_qt4, qca2, qt4,
|
libdbusmenu_qt, libjpeg, libxml2, phonon, polkit_qt4, qca2, qt4,
|
||||||
shared_desktop_ontologies, soprano, strigi, udev, xz, pcre, fetchpatch
|
shared_desktop_ontologies, soprano, strigi, udev, xz, pcre, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "kdelibs";
|
name = "kdelibs";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kcoreaddons, ki18n, kio, kwidgetsaddons, samba
|
kcoreaddons, ki18n, kio, kwidgetsaddons, samba
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "kdenetwork-filesharing";
|
name = "kdenetwork-filesharing";
|
||||||
meta = {
|
meta = {
|
||||||
license = [ lib.licenses.gpl2 lib.licenses.lgpl21 ];
|
license = [ lib.licenses.gpl2 lib.licenses.lgpl21 ];
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ kdeApp
|
{ mkDerivation
|
||||||
, kdeWrapper
|
|
||||||
, lib
|
, lib
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
@ -31,8 +30,7 @@
|
|||||||
, qtquickcontrols
|
, qtquickcontrols
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped = kdeApp {
|
|
||||||
name = "kdenlive";
|
name = "kdenlive";
|
||||||
patches = [
|
patches = [
|
||||||
./kdenlive-cmake-concurrent-module.patch
|
./kdenlive-cmake-concurrent-module.patch
|
||||||
@ -42,13 +40,14 @@ unwrapped = kdeApp {
|
|||||||
kdoctools
|
kdoctools
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtscript
|
|
||||||
kconfig
|
kconfig
|
||||||
kcrash
|
kcrash
|
||||||
|
kdbusaddons
|
||||||
|
kfilemetadata
|
||||||
kguiaddons
|
kguiaddons
|
||||||
|
ki18n
|
||||||
kiconthemes
|
kiconthemes
|
||||||
kinit
|
kinit
|
||||||
kdbusaddons
|
|
||||||
knotifications
|
knotifications
|
||||||
knewstuff
|
knewstuff
|
||||||
karchive
|
karchive
|
||||||
@ -56,30 +55,19 @@ unwrapped = kdeApp {
|
|||||||
kplotting
|
kplotting
|
||||||
ktextwidgets
|
ktextwidgets
|
||||||
mlt
|
mlt
|
||||||
|
phonon-backend-gstreamer
|
||||||
|
qtquickcontrols
|
||||||
|
qtscript
|
||||||
shared_mime_info
|
shared_mime_info
|
||||||
libv4l
|
libv4l
|
||||||
ffmpeg
|
ffmpeg
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = [
|
postPatch =
|
||||||
kactivities
|
# Module Qt5::Concurrent must be included in `find_package` before it is used.
|
||||||
ki18n
|
''
|
||||||
kio
|
sed -i CMakeLists.txt -e '/find_package(Qt5 REQUIRED/ s|)| Concurrent)|'
|
||||||
kio-extras
|
'';
|
||||||
kwindowsystem
|
|
||||||
kfilemetadata
|
|
||||||
plasma-framework
|
|
||||||
phonon-backend-gstreamer
|
|
||||||
qtquickcontrols
|
|
||||||
];
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
meta = {
|
meta = {
|
||||||
license = with lib.licenses; [ gpl2Plus ];
|
license = with lib.licenses; [ gpl2Plus ];
|
||||||
};
|
};
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper
|
|
||||||
{
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/kdenlive" ];
|
|
||||||
paths = [ kinit ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,24 +1,15 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kcmutils
|
kcmutils
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "kdf";
|
||||||
kdeApp {
|
meta = {
|
||||||
name = "kdf";
|
license = with lib.licenses; [ gpl2 ];
|
||||||
meta = {
|
maintainers = [ lib.maintainers.peterhoeg ];
|
||||||
license = with lib.licenses; [ gpl2 ];
|
};
|
||||||
maintainers = [ lib.maintainers.peterhoeg ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
};
|
propagatedBuildInputs = [ kcmutils ];
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
kcmutils
|
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/kdf" ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,22 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, makeQtWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools, ki18n,
|
extra-cmake-modules, kdoctools, ki18n, makeWrapper,
|
||||||
akonadi-contacts, gnupg1, gpgme, karchive, kcodecs, kcontacts, kcoreaddons, kcrash,
|
akonadi-contacts, gnupg1, gpgme, karchive, kcodecs, kcontacts, kcoreaddons,
|
||||||
kdbusaddons, kiconthemes, kjobwidgets, kio, knotifications, kservice,
|
kcrash, kdbusaddons, kiconthemes, kjobwidgets, kio, knotifications, kservice,
|
||||||
ktextwidgets, kxmlgui, kwidgetsaddons, kwindowsystem
|
ktextwidgets, kxmlgui, kwidgetsaddons, kwindowsystem
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "kgpg";
|
name = "kgpg";
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ki18n ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
|
||||||
buildInputs = [
|
buildInputs = [ gnupg1 gpgme ki18n ];
|
||||||
akonadi-contacts gnupg1 gpgme karchive kcodecs kcontacts kcoreaddons kcrash kdbusaddons
|
propagatedBuildInputs = [
|
||||||
|
akonadi-contacts karchive kcodecs kcontacts kcoreaddons kcrash kdbusaddons
|
||||||
kiconthemes kjobwidgets kio knotifications kservice ktextwidgets kxmlgui
|
kiconthemes kjobwidgets kio knotifications kservice ktextwidgets kxmlgui
|
||||||
kwidgetsaddons kwindowsystem makeQtWrapper
|
kwidgetsaddons kwindowsystem
|
||||||
];
|
];
|
||||||
postInstall = ''
|
postFixup = ''
|
||||||
wrapQtProgram $out/bin/kgpg --suffix PATH : ${lib.makeBinPath [ gnupg1 ]}
|
wrapProgram "$out/bin/kgpg" --prefix PATH : "${lib.makeBinPath [ gnupg1 ]}"
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
license = [ lib.licenses.gpl2 ];
|
license = [ lib.licenses.gpl2 ];
|
||||||
|
@ -1,22 +1,16 @@
|
|||||||
{
|
{
|
||||||
kdeApp, kdeWrapper,
|
mkDerivation,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
grantlee, kconfig, kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils,
|
grantlee, kconfig, kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils,
|
||||||
kdelibs4support, khtml, kservice, xapian
|
kdelibs4support, khtml, kservice, xapian
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "khelpcenter";
|
||||||
kdeApp {
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
name = "khelpcenter";
|
buildInputs = [ ki18n xapian ];
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
propagatedBuildInputs = [
|
||||||
buildInputs = [
|
grantlee kdelibs4support khtml kconfig kcoreaddons kdbusaddons
|
||||||
grantlee kdelibs4support khtml ki18n kconfig kcoreaddons kdbusaddons
|
kinit kcmutils kservice
|
||||||
kinit kcmutils kservice xapian
|
];
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/khelpcenter" ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,26 +1,19 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper
|
mkDerivation, lib,
|
||||||
, extra-cmake-modules, kdoctools, kparts
|
extra-cmake-modules, kdoctools,
|
||||||
, qtsvg, qtxmlpatterns, ktexteditor, boost
|
kparts, qtsvg, qtxmlpatterns, ktexteditor, boost
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "kig";
|
||||||
kdeApp {
|
meta = {
|
||||||
name = "kig";
|
license = with lib.licenses; [ gpl2 ];
|
||||||
meta = {
|
maintainers = with lib.maintainers; [ raskin ];
|
||||||
license = with lib.licenses; [ gpl2 ];
|
};
|
||||||
maintainers = with lib.maintainers; [ raskin ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
};
|
buildInputs = [ boost ];
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
propagatedBuildInputs = [
|
||||||
buildInputs = [
|
kparts qtsvg qtxmlpatterns ktexteditor
|
||||||
kparts qtsvg qtxmlpatterns ktexteditor boost
|
];
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/kig" ];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, extra-cmake-modules, kdoctools, shared_mime_info,
|
mkDerivation, lib, extra-cmake-modules, kdoctools, shared_mime_info,
|
||||||
exiv2, kactivities, karchive, kbookmarks, kconfig, kconfigwidgets,
|
exiv2, kactivities, karchive, kbookmarks, kconfig, kconfigwidgets,
|
||||||
kcoreaddons, kdbusaddons, kguiaddons, kdnssd, kiconthemes, ki18n, kio, khtml,
|
kcoreaddons, kdbusaddons, kguiaddons, kdnssd, kiconthemes, ki18n, kio, khtml,
|
||||||
kdelibs4support, kpty, libmtp, libssh, openexr, ilmbase, openslp, phonon,
|
kdelibs4support, kpty, libmtp, libssh, openexr, ilmbase, openslp, phonon,
|
||||||
qtsvg, samba, solid
|
qtsvg, samba, solid
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "kio-extras";
|
name = "kio-extras";
|
||||||
meta = {
|
meta = {
|
||||||
license = with lib.licenses; [ gpl2 lgpl21 ];
|
license = with lib.licenses; [ gpl2 lgpl21 ];
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, ki18n,
|
extra-cmake-modules, ki18n,
|
||||||
kcodecs
|
kcodecs, qtbase,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "kmime";
|
name = "kmime";
|
||||||
meta = {
|
meta = {
|
||||||
license = [ lib.licenses.lgpl21 ];
|
license = [ lib.licenses.lgpl21 ];
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ extra-cmake-modules ki18n ];
|
nativeBuildInputs = [ extra-cmake-modules ki18n ];
|
||||||
buildInputs = [ kcodecs ];
|
buildInputs = [ kcodecs qtbase ];
|
||||||
}
|
}
|
||||||
|
@ -1,30 +1,23 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kglobalaccel, kxmlgui, kcoreaddons, kdelibs4support,
|
kglobalaccel, kxmlgui, kcoreaddons, kdelibs4support,
|
||||||
plasma-framework, libpulseaudio, alsaLib, libcanberra_kde
|
plasma-framework, libpulseaudio, alsaLib, libcanberra_kde
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "kmix";
|
||||||
kdeApp {
|
meta = {
|
||||||
name = "kmix";
|
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
|
||||||
meta = {
|
maintainers = [ lib.maintainers.rongcuid ];
|
||||||
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
|
};
|
||||||
maintainers = [ lib.maintainers.rongcuid ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
};
|
buildInputs = [ libpulseaudio alsaLib libcanberra_kde ];
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
propagatedBuildInputs = [
|
||||||
buildInputs = [ libpulseaudio alsaLib libcanberra_kde ];
|
kglobalaccel kxmlgui kcoreaddons kdelibs4support
|
||||||
propagatedBuildInputs = [
|
plasma-framework
|
||||||
kglobalaccel kxmlgui kcoreaddons kdelibs4support
|
];
|
||||||
plasma-framework
|
cmakeFlags = [
|
||||||
];
|
"-DKMIX_KF5_BUILD=1"
|
||||||
cmakeFlags = [
|
];
|
||||||
"-DKMIX_KF5_BUILD=1"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/kmix" ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,28 +1,17 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, kdeApp
|
, mkDerivation
|
||||||
, kdeWrapper
|
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, kdelibs4support
|
, kdelibs4support
|
||||||
, libkexiv2
|
, libkexiv2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "kolourpaint";
|
||||||
kdeApp {
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
name = "kolourpaint";
|
propagatedBuildInputs = [ kdelibs4support libkexiv2 ];
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
meta = {
|
||||||
propagatedBuildInputs = [
|
maintainers = [ lib.maintainers.fridh ];
|
||||||
kdelibs4support
|
license = with lib.licenses; [ gpl2 ];
|
||||||
libkexiv2
|
};
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
maintainers = [ lib.maintainers.fridh ];
|
|
||||||
license = with lib.licenses; [ gpl2 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = ["bin/kolourpaint"];
|
|
||||||
}
|
}
|
@ -1,21 +1,14 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kparts, ktexteditor, kwidgetsaddons, libkomparediff2
|
kparts, ktexteditor, kwidgetsaddons, libkomparediff2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "kompare";
|
||||||
kdeApp {
|
meta = { license = with lib.licenses; [ gpl2 ]; };
|
||||||
name = "kompare";
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
meta = { license = with lib.licenses; [ gpl2 ]; };
|
propagatedBuildInputs = [
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
kparts ktexteditor kwidgetsaddons libkomparediff2
|
||||||
propagatedBuildInputs = [
|
];
|
||||||
kparts ktexteditor kwidgetsaddons libkomparediff2
|
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/kompare" ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kguiaddons,
|
kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kguiaddons,
|
||||||
ki18n, kiconthemes, kinit, kdelibs4support, kio, knotifications,
|
ki18n, kiconthemes, kinit, kdelibs4support, kio, knotifications,
|
||||||
@ -7,24 +7,17 @@
|
|||||||
kwindowsystem, kxmlgui, qtscript
|
kwindowsystem, kxmlgui, qtscript
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "konsole";
|
||||||
kdeApp {
|
meta = {
|
||||||
name = "konsole";
|
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
|
||||||
meta = {
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
|
};
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
};
|
buildInputs = [ ki18n ];
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [
|
kbookmarks kcompletion kconfig kconfigwidgets kcoreaddons kdelibs4support
|
||||||
kdelibs4support ki18n kwindowsystem qtscript kbookmarks kcompletion
|
kguiaddons kiconthemes kinit kio knotifications knotifyconfig kparts kpty
|
||||||
kconfig kconfigwidgets kcoreaddons kguiaddons kiconthemes kinit kio
|
kservice ktextwidgets kwidgetsaddons kwindowsystem kxmlgui qtscript
|
||||||
knotifications knotifyconfig kparts kpty kservice ktextwidgets
|
];
|
||||||
kwidgetsaddons kxmlgui
|
|
||||||
];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/konsole" ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,16 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kdelibs4support, kdnssd, libvncserver, libXtst
|
kdelibs4support, kdnssd, libvncserver, libXtst
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "krfb";
|
||||||
kdeApp {
|
meta = {
|
||||||
name = "krfb";
|
license = with lib.licenses; [ gpl2 fdl12 ];
|
||||||
meta = {
|
maintainers = with lib.maintainers; [ jerith666 ];
|
||||||
license = with lib.licenses; [ gpl2 fdl12 ];
|
};
|
||||||
maintainers = with lib.maintainers; [ jerith666 ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
};
|
buildInputs = [ libvncserver libXtst ];
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
propagatedBuildInputs = [ kdelibs4support kdnssd ];
|
||||||
propagatedBuildInputs = [ kdelibs4support kdnssd libvncserver libXtst ];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/krfb" ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, kdeApp
|
, mkDerivation
|
||||||
, kdeWrapper
|
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, kdoctools
|
, kdoctools
|
||||||
, kauth
|
, kauth
|
||||||
@ -9,28 +8,19 @@
|
|||||||
, kcoreaddons
|
, kcoreaddons
|
||||||
, kdbusaddons
|
, kdbusaddons
|
||||||
, kdelibs4support
|
, kdelibs4support
|
||||||
|
, kwallet
|
||||||
, kxmlgui
|
, kxmlgui
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped = kdeApp {
|
name = "kwalletmanager";
|
||||||
name = "kwalletmanager";
|
meta = {
|
||||||
meta = {
|
license = with lib.licenses; [ gpl2 ];
|
||||||
license = with lib.licenses; [ gpl2 ];
|
maintainers = with lib.maintainers; [ fridh ];
|
||||||
maintainers = with lib.maintainers; [ fridh ];
|
|
||||||
};
|
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
kauth
|
|
||||||
kcmutils
|
|
||||||
kconfigwidgets
|
|
||||||
kcoreaddons
|
|
||||||
kdbusaddons
|
|
||||||
kdelibs4support
|
|
||||||
kxmlgui
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
in kdeWrapper {
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
inherit unwrapped;
|
buildInputs = [
|
||||||
targets = ["bin/kwalletmanager5"];
|
kauth kcmutils kconfigwidgets kcoreaddons kdbusaddons kdelibs4support
|
||||||
|
kwallet kxmlgui
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{ kdeApp, lib, extra-cmake-modules, qtbase, kdoctools
|
{ mkDerivation, lib, extra-cmake-modules, qtbase, kdoctools
|
||||||
, kcodecs, ki18n, kio, kwidgetsaddons
|
, kcodecs, ki18n, kio, kwidgetsaddons
|
||||||
, libmusicbrainz5 }:
|
, libmusicbrainz5 }:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "libkcddb";
|
name = "libkcddb";
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
license = with licenses; [ gpl2 lgpl21 bsd3 ];
|
license = with licenses; [ gpl2 lgpl21 bsd3 ];
|
||||||
@ -14,5 +14,4 @@ kdeApp {
|
|||||||
kcodecs ki18n kio kwidgetsaddons
|
kcodecs ki18n kio kwidgetsaddons
|
||||||
libmusicbrainz5
|
libmusicbrainz5
|
||||||
];
|
];
|
||||||
enableParallelBuilding = true;
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ kdeApp, lib, extra-cmake-modules, libraw, qtbase }:
|
{ mkDerivation, lib, extra-cmake-modules, libraw, qtbase }:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "libkdcraw";
|
name = "libkdcraw";
|
||||||
meta = {
|
meta = {
|
||||||
license = with lib.licenses; [ gpl2 lgpl21 bsd3 ];
|
license = with lib.licenses; [ gpl2 lgpl21 bsd3 ];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ kdeApp, lib, exiv2, extra-cmake-modules, qtbase }:
|
{ mkDerivation, lib, exiv2, extra-cmake-modules, qtbase }:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "libkexiv2";
|
name = "libkexiv2";
|
||||||
meta = {
|
meta = {
|
||||||
license = with lib.licenses; [ gpl2 lgpl21 bsd3 ];
|
license = with lib.licenses; [ gpl2 lgpl21 bsd3 ];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ kdeApp, lib, extra-cmake-modules, kconfig, ki18n, kservice, kxmlgui }:
|
{ mkDerivation, lib, extra-cmake-modules, kconfig, ki18n, kservice, kxmlgui }:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "libkipi";
|
name = "libkipi";
|
||||||
meta = {
|
meta = {
|
||||||
license = with lib.licenses; [ gpl2 lgpl21 bsd3 ];
|
license = with lib.licenses; [ gpl2 lgpl21 bsd3 ];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ kdeApp, lib, extra-cmake-modules, ki18n, kxmlgui, kcodecs, kio }:
|
{ mkDerivation, lib, extra-cmake-modules, ki18n, kxmlgui, kcodecs, kio }:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "libkomparediff2";
|
name = "libkomparediff2";
|
||||||
nativeBuildInputs = [ extra-cmake-modules ];
|
nativeBuildInputs = [ extra-cmake-modules ];
|
||||||
propagatedBuildInputs = [ kcodecs ki18n kxmlgui kio ];
|
propagatedBuildInputs = [ kcodecs ki18n kxmlgui kio ];
|
||||||
|
@ -1,28 +1,16 @@
|
|||||||
{ kdeApp, lib, kdeWrapper
|
{ mkDerivation, lib
|
||||||
, extra-cmake-modules, kdoctools
|
, extra-cmake-modules, kdoctools
|
||||||
, qtscript, qtsvg, qtquickcontrols, qtwebkit
|
, qtscript, qtsvg, qtquickcontrols, qtwebkit
|
||||||
, krunner, shared_mime_info, kparts, knewstuff
|
, krunner, shared_mime_info, kparts, knewstuff
|
||||||
, gpsd, perl
|
, gpsd, perl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "marble";
|
||||||
kdeApp {
|
meta.license = with lib.licenses; [ lgpl21 gpl3 ];
|
||||||
name = "marble";
|
nativeBuildInputs = [ extra-cmake-modules kdoctools perl ];
|
||||||
meta.license = with lib.licenses; [ lgpl21 gpl3 ];
|
propagatedBuildInputs = [
|
||||||
|
qtscript qtsvg qtquickcontrols qtwebkit shared_mime_info krunner kparts
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools perl ];
|
knewstuff gpsd
|
||||||
propagatedBuildInputs = [
|
];
|
||||||
qtscript qtsvg qtquickcontrols qtwebkit shared_mime_info
|
|
||||||
krunner kparts knewstuff
|
|
||||||
gpsd
|
|
||||||
];
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/marble-qt" "bin/marble" ];
|
|
||||||
paths = [ unwrapped ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,26 +1,18 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kconfig, kinit,
|
kconfig, kinit,
|
||||||
kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5
|
kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "okteta";
|
||||||
kdeApp {
|
meta = {
|
||||||
name = "okteta";
|
license = with lib.licenses; [ gpl2 ];
|
||||||
meta = {
|
maintainers = with lib.maintainers; [ peterhoeg ];
|
||||||
license = with lib.licenses; [ gpl2 ];
|
};
|
||||||
maintainers = with lib.maintainers; [ peterhoeg ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
};
|
propagatedBuildInputs = [
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
kconfig kinit kcmutils kconfigwidgets knewstuff kparts qca-qt5
|
||||||
propagatedBuildInputs = [
|
];
|
||||||
kconfig kinit
|
|
||||||
kcmutils kconfigwidgets knewstuff kparts qca-qt5
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
in kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/okteta" ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,31 +1,25 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
djvulibre, ebook_tools, kactivities, karchive, kbookmarks, kcompletion,
|
djvulibre, ebook_tools, kactivities, karchive, kbookmarks, kcompletion,
|
||||||
kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kdegraphics-mobipocket,
|
kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kdegraphics-mobipocket,
|
||||||
kiconthemes, kjs, khtml, kio, kparts, kpty, kwallet, kwindowsystem, libkexiv2,
|
kiconthemes, kjs, khtml, kio, kparts, kpty, kwallet, kwindowsystem, libkexiv2,
|
||||||
libspectre, poppler, qca-qt5, qtdeclarative, qtsvg, threadweaver
|
libspectre, phonon, poppler, qca-qt5, qtdeclarative, qtsvg, threadweaver
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped = kdeApp {
|
name = "okular";
|
||||||
name = "okular";
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
buildInputs = [
|
||||||
propagatedBuildInputs = [
|
djvulibre ebook_tools kactivities karchive kbookmarks kcompletion kconfig kconfigwidgets
|
||||||
djvulibre ebook_tools kactivities karchive kbookmarks kcompletion kconfig
|
kcoreaddons kdbusaddons kdegraphics-mobipocket kiconthemes kjs khtml kio
|
||||||
kconfigwidgets kcoreaddons kdbusaddons kdegraphics-mobipocket kiconthemes
|
kparts kpty kwallet kwindowsystem libkexiv2 libspectre phonon poppler
|
||||||
kjs khtml kio kparts kpty kwallet kwindowsystem libkexiv2 libspectre poppler
|
qca-qt5 qtdeclarative qtsvg threadweaver
|
||||||
qca-qt5 qtdeclarative qtsvg threadweaver
|
];
|
||||||
];
|
meta = {
|
||||||
meta = {
|
platforms = lib.platforms.linux;
|
||||||
platforms = lib.platforms.linux;
|
homepage = "http://www.kde.org";
|
||||||
homepage = "http://www.kde.org";
|
license = with lib.licenses; [ gpl2 lgpl21 fdl12 bsd3 ];
|
||||||
license = with lib.licenses; [ gpl2 lgpl21 fdl12 bsd3 ];
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/okular" ];
|
|
||||||
}
|
}
|
||||||
|
@ -1,20 +1,22 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, extra-cmake-modules,
|
mkDerivation, lib,
|
||||||
cups, kconfig, kconfigwidgets, kdbusaddons, kiconthemes, ki18n, kcmutils, kio,
|
extra-cmake-modules,
|
||||||
|
cups, ki18n,
|
||||||
|
kconfig, kconfigwidgets, kdbusaddons, kiconthemes, kcmutils, kio,
|
||||||
knotifications, kwidgetsaddons, kwindowsystem, kitemviews, plasma-framework,
|
knotifications, kwidgetsaddons, kwindowsystem, kitemviews, plasma-framework,
|
||||||
qtdeclarative
|
qtdeclarative
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kdeApp {
|
mkDerivation {
|
||||||
name = "print-manager";
|
name = "print-manager";
|
||||||
meta = {
|
meta = {
|
||||||
license = [ lib.licenses.gpl2 ];
|
license = [ lib.licenses.gpl2 ];
|
||||||
maintainers = [ lib.maintainers.ttuegel ];
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ extra-cmake-modules ];
|
nativeBuildInputs = [ extra-cmake-modules ];
|
||||||
|
buildInputs = [ cups ki18n ];
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
cups kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications
|
kconfig kconfigwidgets kdbusaddons kiconthemes kcmutils knotifications
|
||||||
kwidgetsaddons kitemviews ki18n kio kwindowsystem plasma-framework
|
kwidgetsaddons kitemviews kio kwindowsystem plasma-framework qtdeclarative
|
||||||
qtdeclarative
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -1,25 +1,20 @@
|
|||||||
{
|
{
|
||||||
kdeApp, lib, kdeWrapper,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules, kdoctools,
|
extra-cmake-modules, kdoctools,
|
||||||
kconfig, kcoreaddons, kdbusaddons, kdeclarative, ki18n, kio, kipi-plugins,
|
ki18n, xcb-util-cursor,
|
||||||
|
kconfig, kcoreaddons, kdbusaddons, kdeclarative, kio, kipi-plugins,
|
||||||
knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi,
|
knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi,
|
||||||
xcb-util-cursor
|
qtx11extras
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
mkDerivation {
|
||||||
unwrapped =
|
name = "spectacle";
|
||||||
kdeApp {
|
meta = with lib; { maintainers = with maintainers; [ ttuegel ]; };
|
||||||
name = "spectacle";
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
meta = with lib; { maintainers = with maintainers; [ ttuegel ]; };
|
buildInputs = [ ki18n xcb-util-cursor ];
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [
|
kconfig kcoreaddons kdbusaddons kdeclarative kio knotifications
|
||||||
kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications
|
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi qtx11extras
|
||||||
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi xcb-util-cursor
|
];
|
||||||
];
|
propagatedUserEnvPkgs = [ kipi-plugins ];
|
||||||
};
|
|
||||||
in
|
|
||||||
kdeWrapper {
|
|
||||||
inherit unwrapped;
|
|
||||||
targets = [ "bin/spectacle" ];
|
|
||||||
paths = [ kipi-plugins ];
|
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, qtbase, qtsvg, qtx11extras, makeQtWrapper, muparser, cmake }:
|
{ mkDerivation, lib, fetchFromGitHub, qtbase, qtsvg, qtx11extras, muparser, cmake }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
name = "albert-${version}";
|
name = "albert-${version}";
|
||||||
version = "0.11.3";
|
version = "0.11.3";
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0ddz6h1334b9kqy1lfi7qa21znm3l0b9h0d4s62llxdasv103jh5";
|
sha256 = "0ddz6h1334b9kqy1lfi7qa21znm3l0b9h0d4s62llxdasv103jh5";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake makeQtWrapper ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [ qtbase qtsvg qtx11extras muparser ];
|
buildInputs = [ qtbase qtsvg qtx11extras muparser ];
|
||||||
|
|
||||||
@ -31,11 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
rm "$out/lib"
|
rm "$out/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
fixupPhase = ''
|
meta = with lib; {
|
||||||
wrapQtProgram $out/bin/albert
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
homepage = https://albertlauncher.github.io/;
|
homepage = https://albertlauncher.github.io/;
|
||||||
description = "Desktop agnostic launcher";
|
description = "Desktop agnostic launcher";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, poppler_utils, pkgconfig, libpng
|
{ stdenv, fetchurl, fetchpatch, poppler_utils, pkgconfig, libpng
|
||||||
, imagemagick, libjpeg, fontconfig, podofo, qtbase, qmakeHook, icu, sqlite
|
, imagemagick, libjpeg, fontconfig, podofo, qtbase, qmake, icu, sqlite
|
||||||
, makeWrapper, unrarSupport ? false, chmlib, python2Packages, xz, libusb1, libmtp
|
, makeWrapper, unrarSupport ? false, chmlib, python2Packages, xz, libusb1, libmtp
|
||||||
, xdg_utils, makeDesktopItem, wrapGAppsHook
|
, xdg_utils, makeDesktopItem, wrapGAppsHook
|
||||||
}:
|
}:
|
||||||
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper pkgconfig qmakeHook ];
|
nativeBuildInputs = [ makeWrapper pkgconfig qmake ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
poppler_utils libpng imagemagick libjpeg
|
poppler_utils libpng imagemagick libjpeg
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget,
|
{ stdenv, fetchgit, qtbase, qtquick1, qmltermwidget,
|
||||||
qtquickcontrols, qtgraphicaleffects, qmakeHook }:
|
qtquickcontrols, qtgraphicaleffects, qmake }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ];
|
buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ];
|
||||||
nativeBuildInputs = [ makeQtWrapper qmakeHook ];
|
nativeBuildInputs = [ qmake ];
|
||||||
|
|
||||||
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||||
|
|
||||||
@ -25,8 +25,6 @@ stdenv.mkDerivation rec {
|
|||||||
mv $out/usr/share $out/share
|
mv $out/usr/share $out/share
|
||||||
mv $out/usr/bin $out/bin
|
mv $out/usr/bin $out/bin
|
||||||
rmdir $out/usr
|
rmdir $out/usr
|
||||||
|
|
||||||
wrapQtProgram $out/bin/cool-retro-term
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, cmake, python3, qtbase, makeQtWrapper, curaengine }:
|
{ mkDerivation, lib, fetchFromGitHub, cmake, python3, qtbase, curaengine }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
name = "cura-${version}";
|
name = "cura-${version}";
|
||||||
version = "2.4.0";
|
version = "2.4.0";
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ qtbase ];
|
buildInputs = [ qtbase ];
|
||||||
propagatedBuildInputs = with python3.pkgs; [ uranium zeroconf pyserial ];
|
propagatedBuildInputs = with python3.pkgs; [ uranium zeroconf pyserial ];
|
||||||
nativeBuildInputs = [ cmake python3.pkgs.wrapPython makeQtWrapper ];
|
nativeBuildInputs = [ cmake python3.pkgs.wrapPython ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_MODULE_PATH=${python3.pkgs.uranium}/share/cmake-${cmake.majorVersion}/Modules" ];
|
cmakeFlags = [ "-DCMAKE_MODULE_PATH=${python3.pkgs.uranium}/share/cmake-${cmake.majorVersion}/Modules" ];
|
||||||
|
|
||||||
@ -24,11 +24,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapPythonPrograms
|
wrapPythonPrograms
|
||||||
mv $out/bin/cura $out/bin/.cura-noqtpath
|
|
||||||
makeQtWrapper $out/bin/.cura-noqtpath $out/bin/cura
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "3D printer / slicing GUI built on top of the Uranium framework";
|
description = "3D printer / slicing GUI built on top of the Uranium framework";
|
||||||
homepage = "https://github.com/Ultimaker/Cura";
|
homepage = "https://github.com/Ultimaker/Cura";
|
||||||
license = licenses.agpl3;
|
license = licenses.agpl3;
|
||||||
|
@ -23,11 +23,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gnuradio-${version}";
|
name = "gnuradio-${version}";
|
||||||
version = "3.7.10.1";
|
version = "3.7.11";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://gnuradio.org/releases/gnuradio/${name}.tar.gz";
|
url = "https://gnuradio.org/releases/gnuradio/${name}.tar.gz";
|
||||||
sha256 = "0ds9mcw8hgm03f82jvp3j4mm02ha6zvsl77lp13jzqmbqifbdmv3";
|
sha256 = "1m2jf8lafr6pr2dlm40nbvr6az8gwjfkzpbs4fxzv3l5hcqvmnc7";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
|
|||||||
environments to support both wireless communications research and
|
environments to support both wireless communications research and
|
||||||
real-world radio systems.
|
real-world radio systems.
|
||||||
'';
|
'';
|
||||||
homepage = http://www.gnuradio.org;
|
homepage = https://www.gnuradio.org;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ bjornfor fpletz ];
|
maintainers = with maintainers; [ bjornfor fpletz ];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv, fetchurl
|
||||||
, qtbase, qtsvg, qtserialport, qtwebkit, qtmultimedia, qttools, qtconnectivity
|
, qtbase, qtsvg, qtserialport, qtwebkit, qtmultimedia, qttools, qtconnectivity
|
||||||
, yacc, flex, zlib, config, qmakeHook, makeQtWrapper
|
, yacc, flex, zlib, config, qmake, makeWrapper
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "golden-cheetah-${version}";
|
name = "golden-cheetah-${version}";
|
||||||
@ -10,11 +10,11 @@ stdenv.mkDerivation rec {
|
|||||||
url = "https://github.com/GoldenCheetah/GoldenCheetah/archive/V${version}.tar.gz";
|
url = "https://github.com/GoldenCheetah/GoldenCheetah/archive/V${version}.tar.gz";
|
||||||
sha256 = "0fiz2pj155cd357kph50lc6rjyzwp045glfv4y68qls9j7m9ayaf";
|
sha256 = "0fiz2pj155cd357kph50lc6rjyzwp045glfv4y68qls9j7m9ayaf";
|
||||||
};
|
};
|
||||||
qtInputs = [
|
buildInputs = [
|
||||||
qtbase qtsvg qtserialport qtwebkit qtmultimedia qttools yacc flex zlib
|
qtbase qtsvg qtserialport qtwebkit qtmultimedia qttools zlib
|
||||||
qtconnectivity
|
qtconnectivity
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ makeQtWrapper qmakeHook ] ++ qtInputs;
|
nativeBuildInputs = [ flex makeWrapper qmake yacc ];
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
cp src/gcconfig.pri.in src/gcconfig.pri
|
cp src/gcconfig.pri.in src/gcconfig.pri
|
||||||
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
|
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
|
||||||
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp src/GoldenCheetah $out/bin
|
cp src/GoldenCheetah $out/bin
|
||||||
wrapQtProgram $out/bin/GoldenCheetah --set LD_LIBRARY_PATH "${zlib.out}/lib"
|
wrapProgram $out/bin/GoldenCheetah --set LD_LIBRARY_PATH "${zlib.out}/lib"
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libXtst, libvorbis, hunspell
|
{ stdenv, fetchurl, pkgconfig, libXtst, libvorbis, hunspell
|
||||||
, libao, ffmpeg, libeb, lzo, xz, libtiff
|
, libao, ffmpeg, libeb, lzo, xz, libtiff
|
||||||
, qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmakeHook }:
|
, qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmake }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "goldendict-1.5.0.rc2";
|
name = "goldendict-1.5.0.rc2";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/goldendict/goldendict/archive/1.5.0-RC2.tar.gz";
|
url = "https://github.com/goldendict/goldendict/archive/1.5.0-RC2.tar.gz";
|
||||||
@ -9,10 +10,12 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig qtbase qtsvg qtwebkit qtx11extras qttools libXtst libvorbis hunspell libao ffmpeg libeb
|
pkgconfig qtbase qtsvg qtwebkit qtx11extras qttools
|
||||||
lzo xz libtiff qmakeHook
|
libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ qmake ];
|
||||||
|
|
||||||
qmakeFlags = [ "CONFIG+=zim_support" ];
|
qmakeFlags = [ "CONFIG+=zim_support" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user