Merge branch 'master' of github.com:NixOS/nixpkgs
This commit is contained in:
commit
2b05a35e08
240 changed files with 4546 additions and 2715 deletions
|
@ -55,20 +55,7 @@
|
||||||
<title>Rebar3</title>
|
<title>Rebar3</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
By default, Rebar3 wants to manage its own dependencies. This is perfectly acceptable in the normal, non-Nix setup, but in the Nix world, it is not. To rectify this, we provide two versions of Rebar3:
|
We provide a version of Rebar3, which is the normal, unmodified Rebar3, under <literal>rebar3</literal>. We also provide a helper to fetch Rebar3 dependencies from a lockfile under <literal>fetchRebar3Deps</literal>.
|
||||||
<itemizedlist>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
<literal>rebar3</literal>: patched to remove the ability to download anything. When not running it via <literal>nix-shell</literal> or <literal>nix-build</literal>, it's probably not going to work as desired.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
<literal>rebar3-open</literal>: the normal, unmodified Rebar3. It should work exactly as would any other version of Rebar3. Any Erlang package should rely on <literal>rebar3</literal> instead. See <xref
|
|
||||||
linkend="rebar3-packages"/>.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</itemizedlist>
|
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -5904,6 +5904,12 @@
|
||||||
githubId = 819413;
|
githubId = 819413;
|
||||||
name = "Benedict Aas";
|
name = "Benedict Aas";
|
||||||
};
|
};
|
||||||
|
shyim = {
|
||||||
|
email = "s.sayakci@gmail.com";
|
||||||
|
github = "shyim";
|
||||||
|
githubId = 6224096;
|
||||||
|
name = "Soner Sayakci";
|
||||||
|
};
|
||||||
siddharthist = {
|
siddharthist = {
|
||||||
email = "langston.barrett@gmail.com";
|
email = "langston.barrett@gmail.com";
|
||||||
github = "langston-barrett";
|
github = "langston-barrett";
|
||||||
|
|
|
@ -68,3 +68,4 @@ say,,,,,
|
||||||
std__debug,std._debug,,,,
|
std__debug,std._debug,,,,
|
||||||
std_normalize,std.normalize,,,,
|
std_normalize,std.normalize,,,,
|
||||||
stdlib,,,,,vyp
|
stdlib,,,,,vyp
|
||||||
|
pulseaudio,,,,,doronbehar
|
||||||
|
|
|
|
@ -8,8 +8,8 @@
|
||||||
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
||||||
</refmeta>
|
</refmeta>
|
||||||
<refnamediv>
|
<refnamediv>
|
||||||
<refname><filename>configuration.nix</filename>
|
<refname><filename>configuration.nix</filename></refname>
|
||||||
</refname><refpurpose>NixOS system configuration specification</refpurpose>
|
<refpurpose>NixOS system configuration specification</refpurpose>
|
||||||
</refnamediv>
|
</refnamediv>
|
||||||
<refsection>
|
<refsection>
|
||||||
<title>Description</title>
|
<title>Description</title>
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
||||||
</refmeta>
|
</refmeta>
|
||||||
<refnamediv>
|
<refnamediv>
|
||||||
<refname><command>nixos-build-vms</command>
|
<refname><command>nixos-build-vms</command></refname>
|
||||||
</refname><refpurpose>build a network of virtual machines from a network of NixOS configurations</refpurpose>
|
<refpurpose>build a network of virtual machines from a network of NixOS configurations</refpurpose>
|
||||||
</refnamediv>
|
</refnamediv>
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
<cmdsynopsis>
|
<cmdsynopsis>
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
||||||
</refmeta>
|
</refmeta>
|
||||||
<refnamediv>
|
<refnamediv>
|
||||||
<refname><command>nixos-enter</command>
|
<refname><command>nixos-enter</command></refname>
|
||||||
</refname><refpurpose>run a command in a NixOS chroot environment</refpurpose>
|
<refpurpose>run a command in a NixOS chroot environment</refpurpose>
|
||||||
</refnamediv>
|
</refnamediv>
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
<cmdsynopsis>
|
<cmdsynopsis>
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
||||||
</refmeta>
|
</refmeta>
|
||||||
<refnamediv>
|
<refnamediv>
|
||||||
<refname><command>nixos-generate-config</command>
|
<refname><command>nixos-generate-config</command></refname>
|
||||||
</refname><refpurpose>generate NixOS configuration modules</refpurpose>
|
<refpurpose>generate NixOS configuration modules</refpurpose>
|
||||||
</refnamediv>
|
</refnamediv>
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
<cmdsynopsis>
|
<cmdsynopsis>
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
||||||
</refmeta>
|
</refmeta>
|
||||||
<refnamediv>
|
<refnamediv>
|
||||||
<refname><command>nixos-install</command>
|
<refname><command>nixos-install</command></refname>
|
||||||
</refname><refpurpose>install bootloader and NixOS</refpurpose>
|
<refpurpose>install bootloader and NixOS</refpurpose>
|
||||||
</refnamediv>
|
</refnamediv>
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
<cmdsynopsis>
|
<cmdsynopsis>
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
||||||
</refmeta>
|
</refmeta>
|
||||||
<refnamediv>
|
<refnamediv>
|
||||||
<refname><command>nixos-option</command>
|
<refname><command>nixos-option</command></refname>
|
||||||
</refname><refpurpose>inspect a NixOS configuration</refpurpose>
|
<refpurpose>inspect a NixOS configuration</refpurpose>
|
||||||
</refnamediv>
|
</refnamediv>
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
<cmdsynopsis>
|
<cmdsynopsis>
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
</refmeta>
|
</refmeta>
|
||||||
|
|
||||||
<refnamediv>
|
<refnamediv>
|
||||||
<refname><command>nixos-rebuild</command>
|
<refname><command>nixos-rebuild</command></refname>
|
||||||
</refname><refpurpose>reconfigure a NixOS machine</refpurpose>
|
<refpurpose>reconfigure a NixOS machine</refpurpose>
|
||||||
</refnamediv>
|
</refnamediv>
|
||||||
|
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
<refmiscinfo class="source">NixOS</refmiscinfo>
|
<refmiscinfo class="source">NixOS</refmiscinfo>
|
||||||
</refmeta>
|
</refmeta>
|
||||||
<refnamediv>
|
<refnamediv>
|
||||||
<refname><command>nixos-version</command>
|
<refname><command>nixos-version</command></refname>
|
||||||
</refname><refpurpose>show the NixOS version</refpurpose>
|
<refpurpose>show the NixOS version</refpurpose>
|
||||||
</refnamediv>
|
</refnamediv>
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
<cmdsynopsis>
|
<cmdsynopsis>
|
||||||
|
|
|
@ -512,6 +512,12 @@
|
||||||
is set to <literal>/var/lib/gitlab/state</literal>, <literal>gitlab</literal> and all parent directories
|
is set to <literal>/var/lib/gitlab/state</literal>, <literal>gitlab</literal> and all parent directories
|
||||||
must be owned by either <literal>root</literal> or the user specified in <option>services.gitlab.user</option>.
|
must be owned by either <literal>root</literal> or the user specified in <option>services.gitlab.user</option>.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
The <option>networking.useDHCP</option> option is unsupported in combination with
|
||||||
|
<option>networking.useNetworkd</option> in anticipation of defaulting to it by default.
|
||||||
|
It has to be set to <literal>false</literal> and enabled per
|
||||||
|
interface with <option>networking.interfaces.<name>.useDHCP = true;</option>
|
||||||
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
|
@ -519,6 +525,11 @@
|
||||||
Please use the fork <literal>cawbird</literal> instead which has been adapted to the API changes and is still maintained.
|
Please use the fork <literal>cawbird</literal> instead which has been adapted to the API changes and is still maintained.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The <literal>nodejs-11_x</literal> package has been removed as it's EOLed by upstream.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,14 @@
|
||||||
Postgresql for NixOS service now defaults to v11.
|
Postgresql for NixOS service now defaults to v11.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The graphical installer image starts the graphical session automatically.
|
||||||
|
Before you'd be greeted by a tty and asked to enter <command>systemctl start display-manager</command>.
|
||||||
|
It is now possible to disable the display-manager from running by selecting the <literal>Disable display-manager</literal>
|
||||||
|
quirk in the boot menu.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -180,9 +180,17 @@ let format' = format; in let
|
||||||
export NIX_STATE_DIR=$TMPDIR/state
|
export NIX_STATE_DIR=$TMPDIR/state
|
||||||
nix-store --load-db < ${closureInfo}/registration
|
nix-store --load-db < ${closureInfo}/registration
|
||||||
|
|
||||||
echo "running nixos-install..."
|
mkdir -m 0755 -p "$root/etc"
|
||||||
nixos-install --root $root --no-bootloader --no-root-passwd \
|
touch "$root/etc/NIXOS"
|
||||||
--system ${config.system.build.toplevel} --channel ${channelSources} --substituters ""
|
|
||||||
|
echo "copying system..."
|
||||||
|
nix-env --store "$root" --substituters "auto?trusted=1" \
|
||||||
|
-p "$root/nix/var/nix/profiles/system" --set "${config.system.build.toplevel}" --quiet
|
||||||
|
|
||||||
|
echo "copying channel..."
|
||||||
|
mkdir -p "$root/nix/var/nix/profiles/per-user/root"
|
||||||
|
nix-env --store "$root" --substituters "auto?trusted=1" \
|
||||||
|
-p "$root/nix/var/nix/profiles/per-user/root/channels" --set "${channelSources}" --quiet
|
||||||
|
|
||||||
echo "copying staging root to image..."
|
echo "copying staging root to image..."
|
||||||
cptofs -p ${optionalString (partitionTableType != "none") "-P ${rootPartition}"} -t ${fsType} -i $diskImage $root/* /
|
cptofs -p ${optionalString (partitionTableType != "none") "-P ${rootPartition}"} -t ${fsType} -i $diskImage $root/* /
|
||||||
|
|
|
@ -78,9 +78,7 @@ in
|
||||||
# We're trying to use the same syntax for PAM variables and env variables.
|
# We're trying to use the same syntax for PAM variables and env variables.
|
||||||
# That means we need to map the env variables that people might use to their
|
# That means we need to map the env variables that people might use to their
|
||||||
# equivalent PAM variable.
|
# equivalent PAM variable.
|
||||||
# Note: PAM_USER is a PAM_ITEM, HOME is an environment variable, they have
|
replaceEnvVars = replaceStrings ["$HOME" "$USER"] ["@{HOME}" "@{PAM_USER}"];
|
||||||
# different syntax.
|
|
||||||
replaceEnvVars = replaceStrings ["$HOME" "$USER"] ["\${HOME}" "@{PAM_USER}"];
|
|
||||||
|
|
||||||
pamVariable = n: v:
|
pamVariable = n: v:
|
||||||
''${n} DEFAULT="${concatStringsSep ":" (map replaceEnvVars (toList v))}"'';
|
''${n} DEFAULT="${concatStringsSep ":" (map replaceEnvVars (toList v))}"'';
|
||||||
|
|
|
@ -25,9 +25,6 @@ with lib;
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# Don't start the X server by default.
|
|
||||||
autorun = mkForce false;
|
|
||||||
|
|
||||||
# Automatically login as nixos.
|
# Automatically login as nixos.
|
||||||
displayManager.slim = {
|
displayManager.slim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -24,7 +24,7 @@ let
|
||||||
# Name appended to menuentry defaults to params if no specific name given.
|
# Name appended to menuentry defaults to params if no specific name given.
|
||||||
option.name or (if option ? params then "(${option.params})" else "")
|
option.name or (if option ? params then "(${option.params})" else "")
|
||||||
}' ${if option ? class then " --class ${option.class}" else ""} {
|
}' ${if option ? class then " --class ${option.class}" else ""} {
|
||||||
linux ${defaults.image} ${defaults.params} ${
|
linux ${defaults.image} \''${isoboot} ${defaults.params} ${
|
||||||
option.params or ""
|
option.params or ""
|
||||||
}
|
}
|
||||||
initrd ${defaults.initrd}
|
initrd ${defaults.initrd}
|
||||||
|
@ -268,6 +268,12 @@ let
|
||||||
set timeout=10
|
set timeout=10
|
||||||
${grubMenuCfg}
|
${grubMenuCfg}
|
||||||
|
|
||||||
|
# If the parameter iso_path is set, append the findiso parameter to the kernel
|
||||||
|
# line. We need this to allow the nixos iso to be booted from grub directly.
|
||||||
|
if [ \''${iso_path} ] ; then
|
||||||
|
set isoboot="findiso=\''${iso_path}"
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Menu entries
|
# Menu entries
|
||||||
#
|
#
|
||||||
|
@ -284,6 +290,14 @@ let
|
||||||
${buildMenuAdditionalParamsGrub2 config "video=1920x1080@60"}
|
${buildMenuAdditionalParamsGrub2 config "video=1920x1080@60"}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# If we boot into a graphical environment where X is autoran
|
||||||
|
# and always crashes, it makes the media unusable. Allow the user
|
||||||
|
# to disable this.
|
||||||
|
submenu "Disable display-manager" --class quirk-disable-displaymanager {
|
||||||
|
${grubMenuCfg}
|
||||||
|
${buildMenuAdditionalParamsGrub2 config "systemd.mask=display-manager.service"}
|
||||||
|
}
|
||||||
|
|
||||||
# Some laptop and convertibles have the panel installed in an
|
# Some laptop and convertibles have the panel installed in an
|
||||||
# inconvenient way, rotated away from the keyboard.
|
# inconvenient way, rotated away from the keyboard.
|
||||||
# Those entries makes it easier to use the installer.
|
# Those entries makes it easier to use the installer.
|
||||||
|
@ -616,6 +630,9 @@ in
|
||||||
{ source = "${efiDir}/EFI";
|
{ source = "${efiDir}/EFI";
|
||||||
target = "/EFI";
|
target = "/EFI";
|
||||||
}
|
}
|
||||||
|
{ source = pkgs.writeText "loopback.cfg" "source /EFI/boot/grub.cfg";
|
||||||
|
target = "/boot/grub/loopback.cfg";
|
||||||
|
}
|
||||||
] ++ optionals (config.boot.loader.grub.memtest86.enable && canx86BiosBoot) [
|
] ++ optionals (config.boot.loader.grub.memtest86.enable && canx86BiosBoot) [
|
||||||
{ source = "${pkgs.memtest86plus}/memtest.bin";
|
{ source = "${pkgs.memtest86plus}/memtest.bin";
|
||||||
target = "/boot/memtest.bin";
|
target = "/boot/memtest.bin";
|
||||||
|
|
|
@ -563,6 +563,24 @@ $fsAndSwap
|
||||||
${\join "", (map { " $_\n" } (uniq @attrs))}}
|
${\join "", (map { " $_\n" } (uniq @attrs))}}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
sub generateNetworkingDhcpConfig {
|
||||||
|
my $config = <<EOF;
|
||||||
|
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||||
|
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||||
|
# replicates the default behaviour.
|
||||||
|
networking.useDHCP = false;
|
||||||
|
EOF
|
||||||
|
|
||||||
|
foreach my $path (glob "/sys/class/net/*") {
|
||||||
|
my $dev = basename($path);
|
||||||
|
if ($dev ne "lo") {
|
||||||
|
$config .= " networking.interfaces.$dev.useDHCP = true;\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if ($showHardwareConfig) {
|
if ($showHardwareConfig) {
|
||||||
print STDOUT $hwConfig;
|
print STDOUT $hwConfig;
|
||||||
|
@ -606,6 +624,8 @@ EOF
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my $networkingDhcpConfig = generateNetworkingDhcpConfig();
|
||||||
|
|
||||||
write_file($fn, <<EOF);
|
write_file($fn, <<EOF);
|
||||||
@configuration@
|
@configuration@
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -96,6 +96,7 @@ in
|
||||||
# networking.hostName = "nixos"; # Define your hostname.
|
# networking.hostName = "nixos"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
|
$networkingDhcpConfig
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password\@proxy:port/";
|
# networking.proxy.default = "http://user:password\@proxy:port/";
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
|
|
|
@ -328,7 +328,7 @@
|
||||||
qemu-libvirtd = 301;
|
qemu-libvirtd = 301;
|
||||||
# kvm = 302; # unused
|
# kvm = 302; # unused
|
||||||
# render = 303; # unused
|
# render = 303; # unused
|
||||||
zeronet = 304;
|
# zeronet = 304; # removed 2019-01-03
|
||||||
lirc = 305;
|
lirc = 305;
|
||||||
lidarr = 306;
|
lidarr = 306;
|
||||||
slurm = 307;
|
slurm = 307;
|
||||||
|
@ -629,7 +629,7 @@
|
||||||
qemu-libvirtd = 301;
|
qemu-libvirtd = 301;
|
||||||
kvm = 302; # default udev rules from systemd requires these
|
kvm = 302; # default udev rules from systemd requires these
|
||||||
render = 303; # default udev rules from systemd requires these
|
render = 303; # default udev rules from systemd requires these
|
||||||
zeronet = 304;
|
# zeronet = 304; # removed 2019-01-03
|
||||||
lirc = 305;
|
lirc = 305;
|
||||||
lidarr = 306;
|
lidarr = 306;
|
||||||
slurm = 307;
|
slurm = 307;
|
||||||
|
|
|
@ -98,7 +98,6 @@
|
||||||
./programs/autojump.nix
|
./programs/autojump.nix
|
||||||
./programs/bash/bash.nix
|
./programs/bash/bash.nix
|
||||||
./programs/bcc.nix
|
./programs/bcc.nix
|
||||||
./programs/blcr.nix
|
|
||||||
./programs/browserpass.nix
|
./programs/browserpass.nix
|
||||||
./programs/captive-browser.nix
|
./programs/captive-browser.nix
|
||||||
./programs/ccache.nix
|
./programs/ccache.nix
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
{ config, lib, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
inherit (lib) mkOption mkIf;
|
|
||||||
cfg = config.environment.blcr;
|
|
||||||
blcrPkg = config.boot.kernelPackages.blcr;
|
|
||||||
in
|
|
||||||
|
|
||||||
{
|
|
||||||
###### interface
|
|
||||||
|
|
||||||
options = {
|
|
||||||
environment.blcr.enable = mkOption {
|
|
||||||
default = false;
|
|
||||||
description =
|
|
||||||
"Whether to enable support for the BLCR checkpointing tool.";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
###### implementation
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
boot.kernelModules = [ "blcr" "blcr_imports" ];
|
|
||||||
boot.extraModulePackages = [ blcrPkg ];
|
|
||||||
environment.systemPackages = [ blcrPkg ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -275,6 +275,9 @@ with lib;
|
||||||
(mkRenamedOptionModule [ "networking" "extraResolvconfConf" ] [ "networking" "resolvconf" "extraConfig" ])
|
(mkRenamedOptionModule [ "networking" "extraResolvconfConf" ] [ "networking" "resolvconf" "extraConfig" ])
|
||||||
(mkRenamedOptionModule [ "networking" "resolvconfOptions" ] [ "networking" "resolvconf" "extraOptions" ])
|
(mkRenamedOptionModule [ "networking" "resolvconfOptions" ] [ "networking" "resolvconf" "extraOptions" ])
|
||||||
|
|
||||||
|
# BLCR
|
||||||
|
(mkRemovedOptionModule [ "environment.blcr.enable" ] "The BLCR module has been removed")
|
||||||
|
|
||||||
# Redis
|
# Redis
|
||||||
(mkRemovedOptionModule [ "services" "redis" "user" ] "The redis module now is hardcoded to the redis user.")
|
(mkRemovedOptionModule [ "services" "redis" "user" ] "The redis module now is hardcoded to the redis user.")
|
||||||
(mkRemovedOptionModule [ "services" "redis" "dbpath" ] "The redis module now uses /var/lib/redis as data directory.")
|
(mkRemovedOptionModule [ "services" "redis" "dbpath" ] "The redis module now uses /var/lib/redis as data directory.")
|
||||||
|
|
|
@ -67,6 +67,7 @@ in
|
||||||
users.users = optional (cfg.user == "memcached") {
|
users.users = optional (cfg.user == "memcached") {
|
||||||
name = "memcached";
|
name = "memcached";
|
||||||
description = "Memcached server user";
|
description = "Memcached server user";
|
||||||
|
isSystemUser = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [ memcached ];
|
environment.systemPackages = [ memcached ];
|
||||||
|
|
|
@ -126,6 +126,8 @@ let
|
||||||
'';
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
Path to YAML file that contains tracing configuration.
|
Path to YAML file that contains tracing configuration.
|
||||||
|
|
||||||
|
See format details: <link xlink:href="https://thanos.io/tracing.md/#configuration"/>
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -141,6 +143,8 @@ let
|
||||||
<option>tracing.config-file</option> will default to its path.
|
<option>tracing.config-file</option> will default to its path.
|
||||||
|
|
||||||
If <option>tracing.config-file</option> is set this option has no effect.
|
If <option>tracing.config-file</option> is set this option has no effect.
|
||||||
|
|
||||||
|
See format details: <link xlink:href="https://thanos.io/tracing.md/#configuration"/>
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -187,6 +191,8 @@ let
|
||||||
'';
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
Path to YAML file that contains object store configuration.
|
Path to YAML file that contains object store configuration.
|
||||||
|
|
||||||
|
See format details: <link xlink:href="https://thanos.io/storage.md/#configuration"/>
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -202,6 +208,8 @@ let
|
||||||
<option>objstore.config-file</option> will default to its path.
|
<option>objstore.config-file</option> will default to its path.
|
||||||
|
|
||||||
If <option>objstore.config-file</option> is set this option has no effect.
|
If <option>objstore.config-file</option> is set this option has no effect.
|
||||||
|
|
||||||
|
See format details: <link xlink:href="https://thanos.io/storage.md/#configuration"/>
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -276,6 +284,24 @@ let
|
||||||
block-sync-concurrency = mkParamDef types.int 20 ''
|
block-sync-concurrency = mkParamDef types.int 20 ''
|
||||||
Number of goroutines to use when syncing blocks from object storage.
|
Number of goroutines to use when syncing blocks from object storage.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
min-time = mkParamDef types.str "0000-01-01T00:00:00Z" ''
|
||||||
|
Start of time range limit to serve.
|
||||||
|
|
||||||
|
Thanos Store serves only metrics, which happened later than this
|
||||||
|
value. Option can be a constant time in RFC3339 format or time duration
|
||||||
|
relative to current time, such as -1d or 2h45m. Valid duration units are
|
||||||
|
ms, s, m, h, d, w, y.
|
||||||
|
'';
|
||||||
|
|
||||||
|
max-time = mkParamDef types.str "9999-12-31T23:59:59Z" ''
|
||||||
|
End of time range limit to serve.
|
||||||
|
|
||||||
|
Thanos Store serves only blocks, which happened eariler than this
|
||||||
|
value. Option can be a constant time in RFC3339 format or time duration
|
||||||
|
relative to current time, such as -1d or 2h45m. Valid duration units are
|
||||||
|
ms, s, m, h, d, w, y.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
query = params.common cfg.query // {
|
query = params.common cfg.query // {
|
||||||
|
@ -560,6 +586,14 @@ let
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
downsampling.disable = mkFlagParam ''
|
||||||
|
Disables downsampling.
|
||||||
|
|
||||||
|
This is not recommended as querying long time ranges without
|
||||||
|
non-downsampled data is not efficient and useful e.g it is not possible
|
||||||
|
to render all samples for a human eye anyway
|
||||||
|
'';
|
||||||
|
|
||||||
block-sync-concurrency = mkParamDef types.int 20 ''
|
block-sync-concurrency = mkParamDef types.int 20 ''
|
||||||
Number of goroutines to use when syncing block metadata from object storage.
|
Number of goroutines to use when syncing block metadata from object storage.
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,44 +1,39 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
inherit (lib) generators literalExample mkEnableOption mkIf mkOption recursiveUpdate types;
|
||||||
cfg = config.services.zeronet;
|
cfg = config.services.zeronet;
|
||||||
|
dataDir = "/var/lib/zeronet";
|
||||||
|
configFile = pkgs.writeText "zeronet.conf" (generators.toINI {} (recursiveUpdate defaultSettings cfg.settings));
|
||||||
|
|
||||||
zConfFile = pkgs.writeTextFile {
|
defaultSettings = {
|
||||||
name = "zeronet.conf";
|
global = {
|
||||||
|
data_dir = dataDir;
|
||||||
text = ''
|
log_dir = dataDir;
|
||||||
[global]
|
ui_port = cfg.port;
|
||||||
data_dir = ${cfg.dataDir}
|
fileserver_port = cfg.fileserverPort;
|
||||||
log_dir = ${cfg.logDir}
|
tor = if !cfg.tor then "disable" else if cfg.torAlways then "always" else "enable";
|
||||||
'' + lib.optionalString (cfg.port != null) ''
|
};
|
||||||
ui_port = ${toString cfg.port}
|
|
||||||
'' + lib.optionalString (cfg.fileserverPort != null) ''
|
|
||||||
fileserver_port = ${toString cfg.fileserverPort}
|
|
||||||
'' + lib.optionalString (cfg.torAlways) ''
|
|
||||||
tor = always
|
|
||||||
'' + cfg.extraConfig;
|
|
||||||
};
|
};
|
||||||
in with lib; {
|
in with lib; {
|
||||||
options.services.zeronet = {
|
options.services.zeronet = {
|
||||||
enable = mkEnableOption "zeronet";
|
enable = mkEnableOption "zeronet";
|
||||||
|
|
||||||
dataDir = mkOption {
|
settings = mkOption {
|
||||||
type = types.path;
|
type = with types; attrsOf (oneOf [ str int bool (listOf str) ]);
|
||||||
default = "/var/lib/zeronet";
|
default = {};
|
||||||
example = "/home/okina/zeronet";
|
example = literalExample "global.tor = enable;";
|
||||||
description = "Path to the zeronet data directory.";
|
|
||||||
};
|
|
||||||
|
|
||||||
logDir = mkOption {
|
description = ''
|
||||||
type = types.path;
|
<filename>zeronet.conf</filename> configuration. Refer to
|
||||||
default = "/var/log/zeronet";
|
<link xlink:href="https://zeronet.readthedocs.io/en/latest/faq/#is-it-possible-to-use-a-configuration-file"/>
|
||||||
example = "/home/okina/zeronet/log";
|
for details on supported values;
|
||||||
description = "Path to the zeronet log directory.";
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
port = mkOption {
|
port = mkOption {
|
||||||
type = types.nullOr types.int;
|
type = types.int;
|
||||||
default = null;
|
default = 43110;
|
||||||
example = 43110;
|
example = 43110;
|
||||||
description = "Optional zeronet web UI port.";
|
description = "Optional zeronet web UI port.";
|
||||||
};
|
};
|
||||||
|
@ -63,22 +58,13 @@ in with lib; {
|
||||||
default = false;
|
default = false;
|
||||||
description = "Use TOR for all zeronet traffic.";
|
description = "Use TOR for all zeronet traffic.";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = mkOption {
|
|
||||||
type = types.lines;
|
|
||||||
default = "";
|
|
||||||
|
|
||||||
description = ''
|
|
||||||
Extra configuration. Contents will be added verbatim to the
|
|
||||||
configuration file at the end.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.tor = mkIf cfg.tor {
|
services.tor = mkIf cfg.tor {
|
||||||
enable = true;
|
enable = true;
|
||||||
controlPort = 9051;
|
controlPort = 9051;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
CacheDirectoryGroupReadable 1
|
CacheDirectoryGroupReadable 1
|
||||||
CookieAuthentication 1
|
CookieAuthentication 1
|
||||||
|
@ -86,37 +72,25 @@ in with lib; {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
|
||||||
"d '${cfg.dataDir}' 750 zeronet zeronet - -"
|
|
||||||
"d '${cfg.logDir}' 750 zeronet zeronet - -"
|
|
||||||
];
|
|
||||||
|
|
||||||
systemd.services.zeronet = {
|
systemd.services.zeronet = {
|
||||||
description = "zeronet";
|
description = "zeronet";
|
||||||
after = [ "network.target" (optionalString cfg.tor "tor.service") ];
|
after = [ "network.target" (optionalString cfg.tor "tor.service") ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
PrivateTmp = "yes";
|
|
||||||
User = "zeronet";
|
User = "zeronet";
|
||||||
Group = "zeronet";
|
DynamicUser = true;
|
||||||
ExecStart = "${pkgs.zeronet}/bin/zeronet --config_file ${zConfFile}";
|
StateDirectory = "zeronet";
|
||||||
};
|
SupplementaryGroups = mkIf cfg.tor [ "tor" ];
|
||||||
};
|
ExecStart = "${pkgs.zeronet}/bin/zeronet --config_file ${configFile}";
|
||||||
|
|
||||||
users = {
|
|
||||||
groups.zeronet.gid = config.ids.gids.zeronet;
|
|
||||||
|
|
||||||
users.zeronet = {
|
|
||||||
description = "zeronet service user";
|
|
||||||
home = cfg.dataDir;
|
|
||||||
createHome = true;
|
|
||||||
group = "zeronet";
|
|
||||||
extraGroups = mkIf cfg.tor [ "tor" ];
|
|
||||||
uid = config.ids.uids.zeronet;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
(mkRemovedOptionModule [ "services" "zeronet" "dataDir" ] "Zeronet will store data by default in /var/lib/zeronet")
|
||||||
|
(mkRemovedOptionModule [ "services" "zeronet" "logDir" ] "Zeronet will log by default in /var/lib/zeronet")
|
||||||
|
];
|
||||||
|
|
||||||
meta.maintainers = with maintainers; [ chiiruno ];
|
meta.maintainers = with maintainers; [ chiiruno ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,15 @@ in {
|
||||||
options.services.documize = {
|
options.services.documize = {
|
||||||
enable = mkEnableOption "Documize Wiki";
|
enable = mkEnableOption "Documize Wiki";
|
||||||
|
|
||||||
|
stateDirectoryName = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = "documize";
|
||||||
|
description = ''
|
||||||
|
The name of the directory below <filename>/var/lib/private</filename>
|
||||||
|
where documize runs in and stores, for example, backups.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
default = pkgs.documize-community;
|
default = pkgs.documize-community;
|
||||||
|
@ -132,6 +141,8 @@ in {
|
||||||
];
|
];
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
DynamicUser = "yes";
|
DynamicUser = "yes";
|
||||||
|
StateDirectory = cfg.stateDirectoryName;
|
||||||
|
WorkingDirectory = "/var/lib/${cfg.stateDirectoryName}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -28,6 +28,8 @@ let
|
||||||
(pkg: "cp -rf ${pkg}/share/gsettings-schemas/*/glib-2.0/schemas/*.xml $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas\n")
|
(pkg: "cp -rf ${pkg}/share/gsettings-schemas/*/glib-2.0/schemas/*.xml $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas\n")
|
||||||
(defaultPackages ++ cfg.extraGSettingsOverridePackages)}
|
(defaultPackages ++ cfg.extraGSettingsOverridePackages)}
|
||||||
|
|
||||||
|
cp -f ${pkgs.gnome3.gnome-shell}/share/gsettings-schemas/*/glib-2.0/schemas/*.gschema.override $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
|
||||||
|
|
||||||
chmod -R a+w $out/share/gsettings-schemas/nixos-gsettings-overrides
|
chmod -R a+w $out/share/gsettings-schemas/nixos-gsettings-overrides
|
||||||
cat - > $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas/nixos-defaults.gschema.override <<- EOF
|
cat - > $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas/nixos-defaults.gschema.override <<- EOF
|
||||||
[org.gnome.desktop.background]
|
[org.gnome.desktop.background]
|
||||||
|
|
|
@ -109,8 +109,9 @@ in
|
||||||
services.pantheon.files.enable = mkDefault true;
|
services.pantheon.files.enable = mkDefault true;
|
||||||
services.tumbler.enable = mkDefault true;
|
services.tumbler.enable = mkDefault true;
|
||||||
services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
|
services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
|
||||||
services.dbus.packages = [
|
services.dbus.packages = with pkgs.pantheon; [
|
||||||
pkgs.pantheon.switchboard-plug-power
|
switchboard-plug-power
|
||||||
|
elementary-default-settings
|
||||||
];
|
];
|
||||||
services.pantheon.contractor.enable = mkDefault true;
|
services.pantheon.contractor.enable = mkDefault true;
|
||||||
services.gnome3.at-spi2-core.enable = true;
|
services.gnome3.at-spi2-core.enable = true;
|
||||||
|
|
|
@ -91,7 +91,11 @@ in
|
||||||
++ optional config.powerManagement.enable xfce4-power-manager
|
++ optional config.powerManagement.enable xfce4-power-manager
|
||||||
++ optionals config.hardware.pulseaudio.enable [
|
++ optionals config.hardware.pulseaudio.enable [
|
||||||
pavucontrol
|
pavucontrol
|
||||||
xfce4-pulseaudio-plugin
|
# volume up/down keys support:
|
||||||
|
# xfce4-pulseaudio-plugin includes all the functionalities of xfce4-volumed-pulse
|
||||||
|
# but can only be used with xfce4-panel, so for no-desktop usage we still include
|
||||||
|
# xfce4-volumed-pulse
|
||||||
|
(if cfg.noDesktop then xfce4-volumed-pulse else xfce4-pulseaudio-plugin)
|
||||||
] ++ optionals cfg.enableXfwm [
|
] ++ optionals cfg.enableXfwm [
|
||||||
xfwm4
|
xfwm4
|
||||||
xfwm4-themes
|
xfwm4-themes
|
||||||
|
|
|
@ -152,6 +152,7 @@ in
|
||||||
chown -R gdm:gdm /run/gdm/.config
|
chown -R gdm:gdm /run/gdm/.config
|
||||||
'' + optionalString config.services.gnome3.gnome-initial-setup.enable ''
|
'' + optionalString config.services.gnome3.gnome-initial-setup.enable ''
|
||||||
# Create stamp file for gnome-initial-setup to prevent run.
|
# Create stamp file for gnome-initial-setup to prevent run.
|
||||||
|
mkdir -p /run/gdm/.config
|
||||||
cat - > /run/gdm/.config/gnome-initial-setup-done <<- EOF
|
cat - > /run/gdm/.config/gnome-initial-setup-done <<- EOF
|
||||||
yes
|
yes
|
||||||
EOF
|
EOF
|
||||||
|
@ -165,9 +166,15 @@ in
|
||||||
"systemd-machined.service"
|
"systemd-machined.service"
|
||||||
"systemd-user-sessions.service"
|
"systemd-user-sessions.service"
|
||||||
"getty@tty1.service"
|
"getty@tty1.service"
|
||||||
|
"plymouth-quit.service"
|
||||||
|
"plymouth-start.service"
|
||||||
];
|
];
|
||||||
systemd.services.display-manager.conflicts = [
|
systemd.services.display-manager.conflicts = [
|
||||||
"getty@tty1.service"
|
"getty@tty1.service"
|
||||||
|
"plymouth-quit.service"
|
||||||
|
];
|
||||||
|
systemd.services.display-manager.onFailure = [
|
||||||
|
"plymouth-quit.service"
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.services.display-manager.serviceConfig = {
|
systemd.services.display-manager.serviceConfig = {
|
||||||
|
@ -177,6 +184,9 @@ in
|
||||||
BusName = "org.gnome.DisplayManager";
|
BusName = "org.gnome.DisplayManager";
|
||||||
StandardOutput = "syslog";
|
StandardOutput = "syslog";
|
||||||
StandardError = "inherit";
|
StandardError = "inherit";
|
||||||
|
ExecReload = "${pkgs.coreutils}/bin/kill -SIGHUP $MAINPID";
|
||||||
|
KeyringMode = "shared";
|
||||||
|
EnvironmentFile = "-/etc/locale.conf";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.display-manager.path = [ pkgs.gnome3.gnome-session ];
|
systemd.services.display-manager.path = [ pkgs.gnome3.gnome-session ];
|
||||||
|
|
|
@ -183,6 +183,12 @@ for o in $(cat /proc/cmdline); do
|
||||||
copytoram)
|
copytoram)
|
||||||
copytoram=1
|
copytoram=1
|
||||||
;;
|
;;
|
||||||
|
findiso=*)
|
||||||
|
# if an iso name is supplied, try to find the device where
|
||||||
|
# the iso resides on
|
||||||
|
set -- $(IFS==; echo $o)
|
||||||
|
isoPath=$2
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -442,6 +448,27 @@ if test -e /sys/power/resume -a -e /sys/power/disk; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If we have a path to an iso file, find the iso and link it to /dev/root
|
||||||
|
if [ -n "$isoPath" ]; then
|
||||||
|
mkdir -p /findiso
|
||||||
|
|
||||||
|
for delay in 5 10; do
|
||||||
|
blkid | while read -r line; do
|
||||||
|
device=$(echo "$line" | sed 's/:.*//')
|
||||||
|
type=$(echo "$line" | sed 's/.*TYPE="\([^"]*\)".*/\1/')
|
||||||
|
|
||||||
|
mount -t "$type" "$device" /findiso
|
||||||
|
if [ -e "/findiso$isoPath" ]; then
|
||||||
|
ln -sf "/findiso$isoPath" /dev/root
|
||||||
|
break 2
|
||||||
|
else
|
||||||
|
umount /findiso
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
sleep "$delay"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
# Try to find and mount the root device.
|
# Try to find and mount the root device.
|
||||||
mkdir -p $targetRoot
|
mkdir -p $targetRoot
|
||||||
|
|
|
@ -38,6 +38,12 @@ in
|
||||||
} {
|
} {
|
||||||
assertion = cfg.defaultGateway6 == null || cfg.defaultGateway6.interface == null;
|
assertion = cfg.defaultGateway6 == null || cfg.defaultGateway6.interface == null;
|
||||||
message = "networking.defaultGateway6.interface is not supported by networkd.";
|
message = "networking.defaultGateway6.interface is not supported by networkd.";
|
||||||
|
} {
|
||||||
|
assertion = cfg.useDHCP == false;
|
||||||
|
message = ''
|
||||||
|
networking.useDHCP is not supported by networkd.
|
||||||
|
Please use per interface configuration and set the global option to false.
|
||||||
|
'';
|
||||||
} ] ++ flip mapAttrsToList cfg.bridges (n: { rstp, ... }: {
|
} ] ++ flip mapAttrsToList cfg.bridges (n: { rstp, ... }: {
|
||||||
assertion = !rstp;
|
assertion = !rstp;
|
||||||
message = "networking.bridges.${n}.rstp is not supported by networkd.";
|
message = "networking.bridges.${n}.rstp is not supported by networkd.";
|
||||||
|
@ -56,9 +62,7 @@ in
|
||||||
genericNetwork = override:
|
genericNetwork = override:
|
||||||
let gateway = optional (cfg.defaultGateway != null) cfg.defaultGateway.address
|
let gateway = optional (cfg.defaultGateway != null) cfg.defaultGateway.address
|
||||||
++ optional (cfg.defaultGateway6 != null) cfg.defaultGateway6.address;
|
++ optional (cfg.defaultGateway6 != null) cfg.defaultGateway6.address;
|
||||||
in {
|
in optionalAttrs (gateway != [ ]) {
|
||||||
DHCP = override (dhcpStr cfg.useDHCP);
|
|
||||||
} // optionalAttrs (gateway != [ ]) {
|
|
||||||
routes = override [
|
routes = override [
|
||||||
{
|
{
|
||||||
routeConfig = {
|
routeConfig = {
|
||||||
|
@ -97,7 +101,7 @@ in
|
||||||
networks."40-${i.name}" = mkMerge [ (genericNetwork mkDefault) {
|
networks."40-${i.name}" = mkMerge [ (genericNetwork mkDefault) {
|
||||||
name = mkDefault i.name;
|
name = mkDefault i.name;
|
||||||
DHCP = mkForce (dhcpStr
|
DHCP = mkForce (dhcpStr
|
||||||
(if i.useDHCP != null then i.useDHCP else cfg.useDHCP && interfaceIps i == [ ]));
|
(if i.useDHCP != null then i.useDHCP else false));
|
||||||
address = forEach (interfaceIps i)
|
address = forEach (interfaceIps i)
|
||||||
(ip: "${ip.address}/${toString ip.prefixLength}");
|
(ip: "${ip.address}/${toString ip.prefixLength}");
|
||||||
networkConfig.IPv6PrivacyExtensions = "kernel";
|
networkConfig.IPv6PrivacyExtensions = "kernel";
|
||||||
|
|
|
@ -903,6 +903,11 @@ in
|
||||||
Whether to use DHCP to obtain an IP address and other
|
Whether to use DHCP to obtain an IP address and other
|
||||||
configuration for all network interfaces that are not manually
|
configuration for all network interfaces that are not manually
|
||||||
configured.
|
configured.
|
||||||
|
|
||||||
|
Using this option is highly discouraged and also incompatible with
|
||||||
|
<option>networking.useNetworkd</option>. Please use
|
||||||
|
<option>networking.interfaces.<name>.useDHCP</option> instead
|
||||||
|
and set this to false.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -824,5 +824,12 @@ in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.nixos-container ];
|
environment.systemPackages = [ pkgs.nixos-container ];
|
||||||
|
|
||||||
|
boot.kernelModules = [
|
||||||
|
"bridge"
|
||||||
|
"macvlan"
|
||||||
|
"tap"
|
||||||
|
"tun"
|
||||||
|
];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,6 +72,7 @@ let
|
||||||
testCases = {
|
testCases = {
|
||||||
loopback = {
|
loopback = {
|
||||||
name = "Loopback";
|
name = "Loopback";
|
||||||
|
machine.networking.useDHCP = false;
|
||||||
machine.networking.useNetworkd = networkd;
|
machine.networking.useNetworkd = networkd;
|
||||||
testScript = ''
|
testScript = ''
|
||||||
startAll;
|
startAll;
|
||||||
|
@ -139,14 +140,16 @@ let
|
||||||
virtualisation.vlans = [ 1 2 ];
|
virtualisation.vlans = [ 1 2 ];
|
||||||
networking = {
|
networking = {
|
||||||
useNetworkd = networkd;
|
useNetworkd = networkd;
|
||||||
useDHCP = true;
|
useDHCP = false;
|
||||||
interfaces.eth1 = {
|
interfaces.eth1 = {
|
||||||
ipv4.addresses = mkOverride 0 [ ];
|
ipv4.addresses = mkOverride 0 [ ];
|
||||||
ipv6.addresses = mkOverride 0 [ ];
|
ipv6.addresses = mkOverride 0 [ ];
|
||||||
|
useDHCP = true;
|
||||||
};
|
};
|
||||||
interfaces.eth2 = {
|
interfaces.eth2 = {
|
||||||
ipv4.addresses = mkOverride 0 [ ];
|
ipv4.addresses = mkOverride 0 [ ];
|
||||||
ipv6.addresses = mkOverride 0 [ ];
|
ipv6.addresses = mkOverride 0 [ ];
|
||||||
|
useDHCP = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -320,13 +323,19 @@ let
|
||||||
virtualisation.vlans = [ 1 ];
|
virtualisation.vlans = [ 1 ];
|
||||||
networking = {
|
networking = {
|
||||||
useNetworkd = networkd;
|
useNetworkd = networkd;
|
||||||
|
useDHCP = false;
|
||||||
firewall.logReversePathDrops = true; # to debug firewall rules
|
firewall.logReversePathDrops = true; # to debug firewall rules
|
||||||
# reverse path filtering rules for the macvlan interface seem
|
# reverse path filtering rules for the macvlan interface seem
|
||||||
# to be incorrect, causing the test to fail. Disable temporarily.
|
# to be incorrect, causing the test to fail. Disable temporarily.
|
||||||
firewall.checkReversePath = false;
|
firewall.checkReversePath = false;
|
||||||
useDHCP = true;
|
|
||||||
macvlans.macvlan.interface = "eth1";
|
macvlans.macvlan.interface = "eth1";
|
||||||
interfaces.eth1.ipv4.addresses = mkOverride 0 [ ];
|
interfaces.eth1 = {
|
||||||
|
ipv4.addresses = mkOverride 0 [ ];
|
||||||
|
useDHCP = true;
|
||||||
|
};
|
||||||
|
interfaces.macvlan = {
|
||||||
|
useDHCP = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
testScript = { ... }:
|
testScript = { ... }:
|
||||||
|
@ -440,6 +449,7 @@ let
|
||||||
virtual = {
|
virtual = {
|
||||||
name = "Virtual";
|
name = "Virtual";
|
||||||
machine = {
|
machine = {
|
||||||
|
networking.useNetworkd = networkd;
|
||||||
networking.interfaces.tap0 = {
|
networking.interfaces.tap0 = {
|
||||||
ipv4.addresses = [ { address = "192.168.1.1"; prefixLength = 24; } ];
|
ipv4.addresses = [ { address = "192.168.1.1"; prefixLength = 24; } ];
|
||||||
ipv6.addresses = [ { address = "2001:1470:fffd:2096::"; prefixLength = 64; } ];
|
ipv6.addresses = [ { address = "2001:1470:fffd:2096::"; prefixLength = 64; } ];
|
||||||
|
@ -489,6 +499,7 @@ let
|
||||||
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = true;
|
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = true;
|
||||||
networking = {
|
networking = {
|
||||||
useNetworkd = networkd;
|
useNetworkd = networkd;
|
||||||
|
useDHCP = false;
|
||||||
interfaces.eth1.ipv6.addresses = singleton {
|
interfaces.eth1.ipv6.addresses = singleton {
|
||||||
address = "fd00:1234:5678:1::1";
|
address = "fd00:1234:5678:1::1";
|
||||||
prefixLength = 64;
|
prefixLength = 64;
|
||||||
|
@ -514,11 +525,12 @@ let
|
||||||
virtualisation.vlans = [ 1 ];
|
virtualisation.vlans = [ 1 ];
|
||||||
networking = {
|
networking = {
|
||||||
useNetworkd = networkd;
|
useNetworkd = networkd;
|
||||||
useDHCP = true;
|
useDHCP = false;
|
||||||
interfaces.eth1 = {
|
interfaces.eth1 = {
|
||||||
preferTempAddress = true;
|
preferTempAddress = true;
|
||||||
ipv4.addresses = mkOverride 0 [ ];
|
ipv4.addresses = mkOverride 0 [ ];
|
||||||
ipv6.addresses = mkOverride 0 [ ];
|
ipv6.addresses = mkOverride 0 [ ];
|
||||||
|
useDHCP = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -526,11 +538,12 @@ let
|
||||||
virtualisation.vlans = [ 1 ];
|
virtualisation.vlans = [ 1 ];
|
||||||
networking = {
|
networking = {
|
||||||
useNetworkd = networkd;
|
useNetworkd = networkd;
|
||||||
useDHCP = true;
|
useDHCP = false;
|
||||||
interfaces.eth1 = {
|
interfaces.eth1 = {
|
||||||
preferTempAddress = false;
|
preferTempAddress = false;
|
||||||
ipv4.addresses = mkOverride 0 [ ];
|
ipv4.addresses = mkOverride 0 [ ];
|
||||||
ipv6.addresses = mkOverride 0 [ ];
|
ipv6.addresses = mkOverride 0 [ ];
|
||||||
|
useDHCP = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -16,6 +16,7 @@ in pkgs.lib.listToAttrs (pkgs.lib.crossLists (predictable: withNetworkd: {
|
||||||
networking.usePredictableInterfaceNames = lib.mkForce predictable;
|
networking.usePredictableInterfaceNames = lib.mkForce predictable;
|
||||||
networking.useNetworkd = withNetworkd;
|
networking.useNetworkd = withNetworkd;
|
||||||
networking.dhcpcd.enable = !withNetworkd;
|
networking.dhcpcd.enable = !withNetworkd;
|
||||||
|
networking.useDHCP = !withNetworkd;
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
|
|
|
@ -2,6 +2,7 @@ let generateNodeConf = { lib, pkgs, config, privkpath, pubk, peerId, nodeId, ...
|
||||||
imports = [ common/user-account.nix ];
|
imports = [ common/user-account.nix ];
|
||||||
systemd.services.systemd-networkd.environment.SYSTEMD_LOG_LEVEL = "debug";
|
systemd.services.systemd-networkd.environment.SYSTEMD_LOG_LEVEL = "debug";
|
||||||
networking.useNetworkd = true;
|
networking.useNetworkd = true;
|
||||||
|
networking.useDHCP = false;
|
||||||
networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
virtualisation.vlans = [ 1 ];
|
virtualisation.vlans = [ 1 ];
|
||||||
environment.systemPackages = with pkgs; [ wireguard-tools ];
|
environment.systemPackages = with pkgs; [ wireguard-tools ];
|
||||||
|
|
44
pkgs/applications/audio/friture/default.nix
Normal file
44
pkgs/applications/audio/friture/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{ lib, fetchFromGitHub, python3Packages, wrapQtAppsHook }:
|
||||||
|
|
||||||
|
let
|
||||||
|
py = python3Packages;
|
||||||
|
in py.buildPythonApplication rec {
|
||||||
|
pname = "friture";
|
||||||
|
version = "0.36";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tlecomte";
|
||||||
|
repo = "friture";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1pz8v0qbzqq3ig9w33cp027s6c8rj316x5sy8pqs5nsiny9ddnk6";
|
||||||
|
};
|
||||||
|
|
||||||
|
# module imports scipy.misc.factorial, but it has been removed since scipy
|
||||||
|
# 1.3.0; use scipy.special.factorial instead
|
||||||
|
patches = [ ./factorial.patch ];
|
||||||
|
|
||||||
|
nativeBuildInputs = (with py; [ numpy cython scipy ]) ++
|
||||||
|
[ wrapQtAppsHook ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with py; [
|
||||||
|
sounddevice
|
||||||
|
pyopengl
|
||||||
|
docutils
|
||||||
|
numpy
|
||||||
|
pyqt5
|
||||||
|
appdirs
|
||||||
|
pyrr
|
||||||
|
];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
wrapQtApp $out/bin/friture
|
||||||
|
wrapQtApp $out/bin/.friture-wrapped
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A real-time audio analyzer";
|
||||||
|
homepage = http://friture.org/;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = [ maintainers.laikq ];
|
||||||
|
};
|
||||||
|
}
|
13
pkgs/applications/audio/friture/factorial.patch
Normal file
13
pkgs/applications/audio/friture/factorial.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/friture/filter_design.py b/friture/filter_design.py
|
||||||
|
index 9876c43..1cc749a 100644
|
||||||
|
--- a/friture/filter_design.py
|
||||||
|
+++ b/friture/filter_design.py
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
from numpy import pi, exp, arange, cos, sin, sqrt, zeros, ones, log, arange, set_printoptions
|
||||||
|
# the three following lines are a workaround for a bug with scipy and py2exe
|
||||||
|
# together. See http://www.pyinstaller.org/ticket/83 for reference.
|
||||||
|
-from scipy.misc import factorial
|
||||||
|
+from scipy.special import factorial
|
||||||
|
import scipy
|
||||||
|
scipy.factorial = factorial
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
pname = "kid3";
|
pname = "kid3";
|
||||||
version = "3.7.1";
|
version = "3.8.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/kid3/kid3/${version}/${pname}-${version}.tar.gz";
|
url = "mirror://sourceforge/project/kid3/kid3/${version}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "0xkrsjrbr3z8cn8hjf623l28r3b755gr11i0clv8d8i3s10vhbd8";
|
sha256 = "1a6ixkkdp1fl3arylx06w73mwf26i0ibyplwwcn2kw5xsfxmbjp6";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "snd-19.6";
|
name = "snd-19.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/snd/${name}.tar.gz";
|
url = "mirror://sourceforge/snd/${name}.tar.gz";
|
||||||
sha256 = "0s2qv8sznvw6559bi39qj9p072azh9qcb2b86w6w8clz2azjaa76";
|
sha256 = "1pr3l9iadvwinmxfl9a2lsm67yi7w3rhxglidpd41m2ni8jf2rlm";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "spotifyd";
|
pname = "spotifyd";
|
||||||
version = "0.2.16";
|
version = "0.2.18";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Spotifyd";
|
owner = "Spotifyd";
|
||||||
repo = "spotifyd";
|
repo = "spotifyd";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "097hg18h7gya2w0wl5jkav79nb3qzcc4ycsryq7nhxa0h1agvinc";
|
sha256 = "12826b0wf31m9vw1s7bcd1hb4ygb1xn4sdknn1y9kzc68brsq94v";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0ar4bfwn3qxa6wsz2hd7nv1wr824h74jy3xqba2qsy0rsfwy1bmm";
|
cargoSha256 = "0ar4bfwn3qxa6wsz2hd7nv1wr824h74jy3xqba2qsy0rsfwy1bmm";
|
||||||
|
|
|
@ -8,9 +8,9 @@ let
|
||||||
inherit (gnome2) GConf gnome_vfs;
|
inherit (gnome2) GConf gnome_vfs;
|
||||||
};
|
};
|
||||||
stableVersion = {
|
stableVersion = {
|
||||||
version = "3.5.0.21"; # "Android Studio 3.5"
|
version = "3.5.1.0"; # "Android Studio 3.5.1"
|
||||||
build = "191.5791312";
|
build = "191.5900203";
|
||||||
sha256Hash = "0vvk2vhklxg9wfi4lv4sahs5ahhb1mki1msy3yixmr56vipgv52p";
|
sha256Hash = "0afxlif8pkrl6m1lhiqri1qv4vf5mfm1yg6qk5rad0442hm3kz4l";
|
||||||
};
|
};
|
||||||
betaVersion = stableVersion;
|
betaVersion = stableVersion;
|
||||||
latestVersion = { # canary & dev
|
latestVersion = { # canary & dev
|
||||||
|
|
|
@ -20,11 +20,11 @@ let
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "nano";
|
pname = "nano";
|
||||||
version = "4.4";
|
version = "4.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/nano/${pname}-${version}.tar.xz";
|
url = "mirror://gnu/nano/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1iw2ypq34g1gfqyhgka2fz5yj5vrlz85q6zk7amgyj286ph25wia";
|
sha256 = "0czmz1yq8s5qcxcmfjdxzg9nkhbmlc9q1nz04jvf57fdbs7w7mfy";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
|
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
|
||||||
|
|
|
@ -79,9 +79,11 @@ in
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DGPERF_PRG=${gperf}/bin/gperf"
|
"-DGPERF_PRG=${gperf}/bin/gperf"
|
||||||
"-DLIBLUV_LIBRARY=${lua.pkgs.luv}/lib/lua/${lua.luaversion}/luv.so"
|
|
||||||
"-DLUA_PRG=${neovimLuaEnv.interpreter}"
|
"-DLUA_PRG=${neovimLuaEnv.interpreter}"
|
||||||
]
|
]
|
||||||
|
# FIXME: this is verry messy and strange.
|
||||||
|
++ optional (!stdenv.isDarwin) "-DLIBLUV_LIBRARY=${lua.pkgs.luv}/lib/lua/${lua.luaversion}/luv.so"
|
||||||
|
++ optional (stdenv.isDarwin) "-DLIBLUV_LIBRARY=${lua.pkgs.luv.libluv}/lib/lua/${lua.luaversion}/libluv.dylib"
|
||||||
++ optional doCheck "-DBUSTED_PRG=${neovimLuaEnv}/bin/busted"
|
++ optional doCheck "-DBUSTED_PRG=${neovimLuaEnv}/bin/busted"
|
||||||
++ optional (!lua.pkgs.isLuaJIT) "-DPREFER_LUA=ON"
|
++ optional (!lua.pkgs.isLuaJIT) "-DPREFER_LUA=ON"
|
||||||
;
|
;
|
||||||
|
|
|
@ -5,15 +5,15 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
sublime3-dev = common {
|
sublime3-dev = common {
|
||||||
buildVersion = "3208";
|
buildVersion = "3210";
|
||||||
dev = true;
|
dev = true;
|
||||||
x32sha256 = "09k04fjryc0dc6173i6nwhi5xaan89n4lp0n083crvkqwp0qlf2i";
|
x32sha256 = "1ngr4c8h2mafy96mi8dd3g8mg5r9ha1cpcd8p3gz7jwpbypvkkbv";
|
||||||
x64sha256 = "12pn3yfm452m75dlyl0lyf82956j8raz2dglv328m81hbafflrj8";
|
x64sha256 = "0j65a4ylgga1qzc74wf3k5craghahma8hwqg3zs1rgzz601nl693";
|
||||||
} {};
|
} {};
|
||||||
|
|
||||||
sublime3 = common {
|
sublime3 = common {
|
||||||
buildVersion = "3207";
|
buildVersion = "3211";
|
||||||
x32sha256 = "14hfb8x8zb49zjq0pd8s73xk333gmf38h5b7g979czcmbhdxiyqy";
|
x32sha256 = "0w9hba1nl2hv1mri418n7v0m321b6wqphb1knll23ldv5fb0j1j8";
|
||||||
x64sha256 = "1i1q9592sc8idvlpygksdkclh7h506hsz5l0i02g1814w0flzdmc";
|
x64sha256 = "1vkldmimyjhbgplcd6r27gvk64rr7cparfd44hy6qdyzwsjqqg0b";
|
||||||
} {};
|
} {};
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,9 +69,9 @@ in
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
if system == "x86_64-darwin" then ''
|
if system == "x86_64-darwin" then ''
|
||||||
mkdir -p $out/lib/vscode $out/bin
|
mkdir -p "$out/Applications/${longName}.app" $out/bin
|
||||||
cp -r ./* $out/lib/vscode
|
cp -r ./* "$out/Applications/${longName}.app"
|
||||||
ln -s $out/lib/vscode/Contents/Resources/app/bin/${executableName} $out/bin
|
ln -s "$out/Applications/${longName}.app/Contents/Resources/app/bin/code" $out/bin/${executableName}
|
||||||
'' else ''
|
'' else ''
|
||||||
mkdir -p $out/lib/vscode $out/bin
|
mkdir -p $out/lib/vscode $out/bin
|
||||||
cp -r ./* $out/lib/vscode
|
cp -r ./* $out/lib/vscode
|
||||||
|
|
|
@ -14,8 +14,14 @@ let
|
||||||
x86_64-linux = "15m7mfb8gmx3pwydc37blj0rxwgmkrnqfj6y79rpqlr2dg92gwlb";
|
x86_64-linux = "15m7mfb8gmx3pwydc37blj0rxwgmkrnqfj6y79rpqlr2dg92gwlb";
|
||||||
x86_64-darwin = "080k4fnfa5ylmmya6zprgci3gld9mrbqsfnk53hgcny91ykl5xj5";
|
x86_64-darwin = "080k4fnfa5ylmmya6zprgci3gld9mrbqsfnk53hgcny91ykl5xj5";
|
||||||
}.${system};
|
}.${system};
|
||||||
|
|
||||||
|
sourceRoot = {
|
||||||
|
x86_64-linux = ".";
|
||||||
|
x86_64-darwin = "";
|
||||||
|
}.${system};
|
||||||
in
|
in
|
||||||
callPackage ./generic.nix rec {
|
callPackage ./generic.nix rec {
|
||||||
|
inherit sourceRoot;
|
||||||
|
|
||||||
version = "1.38.1";
|
version = "1.38.1";
|
||||||
pname = "vscodium";
|
pname = "vscodium";
|
||||||
|
@ -29,8 +35,6 @@ in
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = ".";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = ''
|
description = ''
|
||||||
Open source source code editor developed by Microsoft for Windows,
|
Open source source code editor developed by Microsoft for Windows,
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "kodelife";
|
pname = "kodelife";
|
||||||
version = "0.8.3.93";
|
version = "0.8.5.99";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://hexler.net/pub/${pname}/${pname}-${version}-linux-x86_64.zip";
|
url = "https://hexler.net/pub/${pname}/${pname}-${version}-linux-x86_64.zip";
|
||||||
sha256 = "1gidh0745g5mc8h5ypm2wamv1paymnrq3nh3yx1j70jwjg8v2v7g";
|
sha256 = "189i2j6kaygjb5pccynxv4pwqpy67jf9nfi7fjfhbrmjpqnmkp90";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
|
|
@ -53,10 +53,6 @@ mkDerivation rec {
|
||||||
# src/lexer.l:36:10: fatal error: parser.hxx: No such file or directory
|
# src/lexer.l:36:10: fatal error: parser.hxx: No such file or directory
|
||||||
enableParallelBuilding = false; # true by default due to qmake
|
enableParallelBuilding = false; # true by default due to qmake
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
sed -re 's/qscintilla2_qt5/qscintilla2/g' -i Makefile
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
mkdir $out/Applications
|
mkdir $out/Applications
|
||||||
mv $out/bin/*.app $out/Applications
|
mv $out/bin/*.app $out/Applications
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "pdfcpu";
|
pname = "pdfcpu";
|
||||||
version = "0.2.4";
|
version = "0.2.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pdfcpu";
|
owner = "pdfcpu";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0inlwrpv5zkcv48g5gq1xdrvd7w1zkhf8p57fpr2cpd7hd3am7n8";
|
sha256 = "0fgdq8byb9pp9wiq3dm0vxw32kbspczqnk41agxpzjf303zmv75y";
|
||||||
};
|
};
|
||||||
|
|
||||||
modSha256 = "1nagb3k2ghfw27g4vcmn7v8s5flg387jpf1l18gw6c44a1xjcivs";
|
modSha256 = "1nagb3k2ghfw27g4vcmn7v8s5flg387jpf1l18gw6c44a1xjcivs";
|
||||||
|
|
57
pkgs/applications/misc/cipher/default.nix
Normal file
57
pkgs/applications/misc/cipher/default.nix
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkgconfig
|
||||||
|
, pantheon
|
||||||
|
, python3
|
||||||
|
, gettext
|
||||||
|
, glib
|
||||||
|
, gtk3
|
||||||
|
, libgee
|
||||||
|
, xdg_utils
|
||||||
|
, wrapGAppsHook }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "cipher";
|
||||||
|
version = "2.0.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "arshubham";
|
||||||
|
repo = "cipher";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0n5aigcyxnl4k52mdmavbxx6afc1ixymn3k3l2ryhyzi5q31x0x3";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
gettext
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pantheon.vala
|
||||||
|
pkgconfig
|
||||||
|
python3
|
||||||
|
wrapGAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
gtk3
|
||||||
|
pantheon.granite
|
||||||
|
libgee
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace data/com.github.arshubham.cipher.desktop.in \
|
||||||
|
--replace xdg-open ${xdg_utils}/bin/xdg-open
|
||||||
|
chmod +x post_install.py
|
||||||
|
patchShebangs post_install.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A simple application for encoding and decoding text, designed for elementary OS";
|
||||||
|
homepage = "https://github.com/arshubham/cipher";
|
||||||
|
maintainers = with maintainers; [ kjuvi ] ++ pantheon.maintainers;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
};
|
||||||
|
}
|
|
@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Simulates the falling characters theme from The Matrix movie";
|
description = "Simulates the falling characters theme from The Matrix movie";
|
||||||
|
license = licenses.gpl3;
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
CMatrix simulates the display from "The Matrix" and is based
|
CMatrix simulates the display from "The Matrix" and is based
|
||||||
on the screensaver from the movie's website.
|
on the screensaver from the movie's website.
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dbeaver-ce";
|
pname = "dbeaver-ce";
|
||||||
version = "6.2.1";
|
version = "6.2.2";
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
name = "dbeaver";
|
name = "dbeaver";
|
||||||
|
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz";
|
url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz";
|
||||||
sha256 = "1ix6isahpk7zk741wdx5cf4i13wc5gp0j1gj4ja80bzfswbc38na";
|
sha256 = "0qpa0wh5lr5lxk9cdv5p1cmbdk1kw1lfqmsfgqxvgfysc1mgjgp1";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -1,20 +1,26 @@
|
||||||
{stdenv, fetchFromGitHub, python3}:
|
{stdenv, fetchFromGitHub, python3}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.6";
|
version = "1.7";
|
||||||
pname = "ddgr";
|
pname = "ddgr";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jarun";
|
owner = "jarun";
|
||||||
repo = "ddgr";
|
repo = "ddgr";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "04ybbjsf9hpn2p5cjjm15cwvv0mwrmdi19iifrym6ps3rmll0p3c";
|
sha256 = "0kcl8z9w8iwn3pxay1pfahhw6vs2l1dp60yfv3i19in4ac9va7m0";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python3 ];
|
buildInputs = [ python3 ];
|
||||||
|
|
||||||
makeFlags = "PREFIX=$(out)";
|
makeFlags = "PREFIX=$(out)";
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
# Version 1.7 was released as 1.6
|
||||||
|
# https://github.com/jarun/ddgr/pull/95
|
||||||
|
sed -i "s/_VERSION_ = '1.6'/_VERSION_ = '1.7'/" ddgr
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p "$out/share/bash-completion/completions/"
|
mkdir -p "$out/share/bash-completion/completions/"
|
||||||
cp "auto-completion/bash/ddgr-completion.bash" "$out/share/bash-completion/completions/"
|
cp "auto-completion/bash/ddgr-completion.bash" "$out/share/bash-completion/completions/"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, meson, ninja, gettext, python3,
|
{ stdenv, fetchFromGitHub, meson, ninja, gettext, python3, fetchpatch,
|
||||||
pkgconfig, libxml2, json-glib , sqlite, itstool, librsvg,
|
pkgconfig, libxml2, json-glib , sqlite, itstool, librsvg,
|
||||||
vala, gtk3, gnome3, desktop-file-utils, wrapGAppsHook, gobject-introspection
|
vala, gtk3, gnome3, desktop-file-utils, wrapGAppsHook, gobject-introspection
|
||||||
}:
|
}:
|
||||||
|
@ -42,6 +42,15 @@ stdenv.mkDerivation rec {
|
||||||
"-Ddisable_pycompile=true"
|
"-Ddisable_pycompile=true"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# fix build with Vala 0.46
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/FontManager/font-manager/commit/c73b40de11f376f4515a0edfe97fb3721a264b35.patch";
|
||||||
|
sha256 = "0lacwsifgvda2r3z6j2a0svdqr6mgav7zkvih35xa8155y8wfpnw";
|
||||||
|
excludes = [ "fedora/font-manager.spec" ];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x meson_post_install.py
|
chmod +x meson_post_install.py
|
||||||
patchShebangs meson_post_install.py
|
patchShebangs meson_post_install.py
|
||||||
|
@ -60,7 +69,6 @@ stdenv.mkDerivation rec {
|
||||||
Font Manager is NOT a professional-grade font management solution.
|
Font Manager is NOT a professional-grade font management solution.
|
||||||
'';
|
'';
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
repositories.git = https://github.com/FontManager/master;
|
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.romildo ];
|
maintainers = [ maintainers.romildo ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "gpxsee";
|
pname = "gpxsee";
|
||||||
version = "7.14";
|
version = "7.15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tumic0";
|
owner = "tumic0";
|
||||||
repo = "GPXSee";
|
repo = "GPXSee";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "13lxjbc54mw2d5jn0q61wjzm0hk2f6vmbvw11n7z8p62n8q30nvb";
|
sha256 = "036g17479nqy3kvy3dy3cn7yi7r57rsp28gkcay0qhf9h0az76p3";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake ];
|
nativeBuildInputs = [ qmake ];
|
||||||
|
|
|
@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
|
# glib-2.62 deprecations
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "GTK-based audio CD player/ripper";
|
description = "GTK-based audio CD player/ripper";
|
||||||
homepage = http://nostatic.org/grip;
|
homepage = http://nostatic.org/grip;
|
||||||
|
|
|
@ -8,7 +8,8 @@ stdenv.mkDerivation {
|
||||||
sha256 = "0avmhdcj0hpr55fc0iih8fjykmdhn34c8mwdnqvl8jh4nhxxchxr";
|
sha256 = "0avmhdcj0hpr55fc0iih8fjykmdhn34c8mwdnqvl8jh4nhxxchxr";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-deprecated-declarations";
|
# glib-2.62 deprecations
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool ];
|
nativeBuildInputs = [ pkgconfig intltool ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "jgmenu";
|
pname = "jgmenu";
|
||||||
version = "3.3";
|
version = "3.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "johanmalm";
|
owner = "johanmalm";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "02qpvlmcis7217hkqilhszza4g1smb4byx4gihgp5207aj8qhz0l";
|
sha256 = "1cikndf71wi17qld3rwp38gk0q7zic707zzz0mr7cgn86dc4if3d";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -37,6 +37,12 @@ in stdenv.mkDerivation rec {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# have it look for 4.7.2 instead of 4.7.1
|
||||||
|
preConfigure = ''
|
||||||
|
substituteInPlace CMakeLists.txt \
|
||||||
|
--replace "antlr-4.7.1-complete.jar" "antlr-4.7.2-complete.jar"
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake ninja pkgconfig jre swig wrapGAppsHook
|
cmake ninja pkgconfig jre swig wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "overmind";
|
pname = "overmind";
|
||||||
version = "2.0.2";
|
version = "2.0.3";
|
||||||
goPackagePath = "github.com/DarthSim/overmind";
|
goPackagePath = "github.com/DarthSim/overmind";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -15,7 +15,7 @@ buildGoPackage rec {
|
||||||
owner = "DarthSim";
|
owner = "DarthSim";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0cns19gqkfxsiiyfxhb05cjp1iv2fb40x47gp8djrwwzcd1r6zxh";
|
sha256 = "0c551c240lqxdjg0jj01rh2fyhwls02k5lczlxacj05prp1plz9p";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchFromGitHub, cmake, makeWrapper, pkgconfig, vala, gtk3, libgee
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, vala, gtk3, libgee, fetchpatch
|
||||||
, poppler, libpthreadstubs, gstreamer, gst-plugins-base, librsvg, pcre, gobject-introspection }:
|
, poppler, libpthreadstubs, gstreamer, gst-plugins-base, librsvg, pcre, gobject-introspection, wrapGAppsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${product}-${version}";
|
name = "${product}-${version}";
|
||||||
|
@ -17,16 +17,20 @@ stdenv.mkDerivation rec {
|
||||||
cmake pkgconfig vala
|
cmake pkgconfig vala
|
||||||
# For setup hook
|
# For setup hook
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
buildInputs = [ gstreamer gst-plugins-base gtk3 libgee poppler
|
buildInputs = [ gstreamer gst-plugins-base gtk3 libgee poppler
|
||||||
libpthreadstubs makeWrapper librsvg pcre ];
|
libpthreadstubs librsvg pcre ];
|
||||||
|
|
||||||
cmakeFlags = stdenv.lib.optionalString stdenv.isDarwin "-DMOVIES=OFF";
|
cmakeFlags = stdenv.lib.optionalString stdenv.isDarwin "-DMOVIES=OFF";
|
||||||
|
|
||||||
postInstall = ''
|
patches = [
|
||||||
wrapProgram $out/bin/pdfpc \
|
# Fix build vala 0.46
|
||||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
|
(fetchpatch {
|
||||||
'';
|
url = "https://github.com/pdfpc/pdfpc/commit/bbc16b97ecbdcdd22c2dc827a5c0e8b569073312.patch";
|
||||||
|
sha256 = "0wi1rqcvg65cxnxvmvavcvghqyksnpijq1p91m57jaby3hb0pdcy";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A presenter console with multi-monitor support for PDF files";
|
description = "A presenter console with multi-monitor support for PDF files";
|
||||||
|
|
|
@ -20,14 +20,14 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
version = "0.10.0";
|
version = "0.10.1";
|
||||||
pname = "syncthingtray";
|
pname = "syncthingtray";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Martchus";
|
owner = "Martchus";
|
||||||
repo = "syncthingtray";
|
repo = "syncthingtray";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "18h6z6baaiyr0wr7kyz6ysg45zb12550m63j3vqiap4hfrrwhly5";
|
sha256 = "107w6dlr1m5g60j342p2b6ipfn1r8kyad8av58nh8ibzycghbfv2";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase cpp-utilities qtutilities ]
|
buildInputs = [ qtbase cpp-utilities qtutilities ]
|
||||||
|
|
|
@ -19,13 +19,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ephemeral";
|
pname = "ephemeral";
|
||||||
version = "5.3.0";
|
version = "5.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cassidyjames";
|
owner = "cassidyjames";
|
||||||
repo = "ephemeral";
|
repo = "ephemeral";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1xglhv4rpl6vqryvliyvr9y8mqli4x4bjcfjsl1v8gdxkzkwfy39";
|
sha256 = "1bl5x79nvzq49azcghc2sx9l709524zixh7py8ddccfnhrq641w8";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -17,10 +17,10 @@ rec {
|
||||||
|
|
||||||
firefox = common rec {
|
firefox = common rec {
|
||||||
pname = "firefox";
|
pname = "firefox";
|
||||||
ffversion = "69.0.1";
|
ffversion = "69.0.2";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
|
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
|
||||||
sha512 = "0zvjwn17accmp9m55a9s12mw3cflsplysizfrpa3hy02na20w39g974d42fmxpk4zq4zqy4m17v2rpibibb0g7giy9rywndhaw3xrl9";
|
sha512 = "2ag1syrvlkch7vl151hkq8abf86p9v6b6gmgcbh26b8wfva1p1ss1x09h4w50zmcc6jq4q5mcxgf1sd9zna552jl90k1y4rqvrrzwl6";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{ callPackage }:
|
{ callPackage }:
|
||||||
|
|
||||||
let
|
let
|
||||||
stableVersion = "2.1.21";
|
stableVersion = "2.2.0";
|
||||||
previewVersion = "2.2.0rc5";
|
previewVersion = "2.2.0";
|
||||||
addVersion = args:
|
addVersion = args:
|
||||||
let version = if args.stable then stableVersion else previewVersion;
|
let version = if args.stable then stableVersion else previewVersion;
|
||||||
branch = if args.stable then "stable" else "preview";
|
branch = if args.stable then "stable" else "preview";
|
||||||
in args // { inherit version branch; };
|
in args // { inherit version branch; };
|
||||||
mkGui = args: callPackage (import ./gui.nix (addVersion args)) { };
|
mkGui = args: callPackage (import ./gui.nix (addVersion args)) { };
|
||||||
mkServer = args: callPackage (import ./server.nix (addVersion args)) { };
|
mkServer = args: callPackage (import ./server.nix (addVersion args)) { };
|
||||||
guiSrcHash = "1ydmib302r1cpm2z9pzsfp4ygxrbmskwszsip397n92qx3l9a9v3";
|
guiSrcHash = "0xghldzk126ly49y7drp241w7c0h9fb0ags9blk0rlq99i72as78";
|
||||||
serverSrcHash = "1ahn1xq1f0wx46i0c8idz96dxfbakk37pqi6amy91594mdlp8yr4";
|
serverSrcHash = "0iphs0w6r9s85cgd95bh6jd0224ywilrzb7a4jjwi38z7a7id4gk";
|
||||||
in {
|
in {
|
||||||
guiStable = mkGui {
|
guiStable = mkGui {
|
||||||
stable = true;
|
stable = true;
|
||||||
|
@ -18,7 +18,7 @@ in {
|
||||||
};
|
};
|
||||||
guiPreview = mkGui {
|
guiPreview = mkGui {
|
||||||
stable = false;
|
stable = false;
|
||||||
sha256Hash = "0x4sp6yjnvzpk8cxdqlf51njckmvvkijdb7rvcb4hvqq1ab6gb2x";
|
sha256Hash = guiSrcHash;
|
||||||
};
|
};
|
||||||
|
|
||||||
serverStable = mkServer {
|
serverStable = mkServer {
|
||||||
|
@ -27,6 +27,6 @@ in {
|
||||||
};
|
};
|
||||||
serverPreview = mkServer {
|
serverPreview = mkServer {
|
||||||
stable = false;
|
stable = false;
|
||||||
sha256Hash = "0inj6fac0683s1sxaba3ljia90cfach0y42xylzgzza36wpyqpqg";
|
sha256Hash = serverSrcHash;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,8 +19,8 @@ in pythonPackages.buildPythonPackage rec {
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
raven psutil jsonschema # tox for check
|
raven psutil jsonschema # tox for check
|
||||||
# Runtime dependencies
|
# Runtime dependencies
|
||||||
sip (pyqt5.override { withWebSockets = true; })
|
sip (pyqt5.override { withWebSockets = true; }) distro setuptools
|
||||||
] ++ stdenv.lib.optional (!stable) pythonPackages.distro;
|
];
|
||||||
|
|
||||||
doCheck = false; # Failing
|
doCheck = false; # Failing
|
||||||
|
|
||||||
|
|
|
@ -3,35 +3,7 @@
|
||||||
{ stdenv, python3, fetchFromGitHub }:
|
{ stdenv, python3, fetchFromGitHub }:
|
||||||
|
|
||||||
let
|
let
|
||||||
python = if stable then python3.override {
|
python = python3;
|
||||||
packageOverrides = self: super: {
|
|
||||||
async-timeout = super.async-timeout.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "2.0.1";
|
|
||||||
src = oldAttrs.src.override {
|
|
||||||
inherit version;
|
|
||||||
sha256 = "1l3kg062m02mph6rf9rdv8r5c5n356clxa6b6mrn0i77vk9g9kq0";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
aiohttp = super.aiohttp.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "2.3.10";
|
|
||||||
src = oldAttrs.src.override {
|
|
||||||
inherit version;
|
|
||||||
sha256 = "8adda6583ba438a4c70693374e10b60168663ffa6564c5c75d3c7a9055290964";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = with self; [ async-timeout attrs chardet multidict yarl idna-ssl ];
|
|
||||||
doCheck = false;
|
|
||||||
});
|
|
||||||
aiohttp-cors = super.aiohttp-cors.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "0.6.0";
|
|
||||||
src = oldAttrs.src.override {
|
|
||||||
inherit version;
|
|
||||||
sha256 = "1r0mb4dw0dc1lpi54dk5vxqs06nyhvagp76lyrvk7rd94z5mjkd4";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = with self; [ aiohttp ]
|
|
||||||
++ stdenv.lib.optional (pythonOlder "3.5") typing;
|
|
||||||
});
|
|
||||||
};
|
|
||||||
} else python3;
|
|
||||||
|
|
||||||
in python.pkgs.buildPythonPackage {
|
in python.pkgs.buildPythonPackage {
|
||||||
pname = "gns3-server";
|
pname = "gns3-server";
|
||||||
|
@ -50,10 +22,10 @@ in python.pkgs.buildPythonPackage {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with python.pkgs; [
|
propagatedBuildInputs = with python.pkgs; [
|
||||||
aiohttp-cors yarl aiohttp multidict
|
aiohttp-cors yarl aiohttp multidict setuptools
|
||||||
jinja2 psutil zipstream raven jsonschema
|
jinja2 psutil zipstream raven jsonschema distro async_generator aiofiles
|
||||||
(python.pkgs.callPackage ../../../development/python-modules/prompt_toolkit/1.nix {})
|
(python.pkgs.callPackage ../../../development/python-modules/prompt_toolkit/1.nix {})
|
||||||
] ++ stdenv.lib.optional (!stable) [ distro async_generator aiofiles ];
|
];
|
||||||
|
|
||||||
# Requires network access
|
# Requires network access
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rambox-pro";
|
pname = "rambox-pro";
|
||||||
version = "1.1.6";
|
version = "1.1.7";
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ramboxapp/download/releases/download/v${version}/RamboxPro-${version}-linux-x64.tar.gz";
|
url = "https://github.com/ramboxapp/download/releases/download/v${version}/RamboxPro-${version}-linux-x64.tar.gz";
|
||||||
sha256 = "1jdamjdl649315ms5g1c7m7gpy04rv7xpy6bsvink242adaq2pjz";
|
sha256 = "1d84hlac3qwrbi8khp6r3bm5y25zcz52l6z54k7jmyplay46r5as";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "signal-cli";
|
pname = "signal-cli";
|
||||||
version = "0.6.2";
|
version = "0.6.3";
|
||||||
|
|
||||||
# Building from source would be preferred, but is much more involved.
|
# Building from source would be preferred, but is much more involved.
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/AsamK/signal-cli/releases/download/v${version}/signal-cli-${version}.tar.gz";
|
url = "https://github.com/AsamK/signal-cli/releases/download/v${version}/signal-cli-${version}.tar.gz";
|
||||||
sha256 = "050nizf7v10jlrwr8f4awzi2368qr01pzpvl2qkrwhdk25r505yr";
|
sha256 = "1gvdifscyxmxn2dwlkqi684ahy5kbcj84mqda0m8l4aa8iaq1d59";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
|
@ -8,7 +8,7 @@ with lib;
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "telegram-desktop";
|
pname = "telegram-desktop";
|
||||||
version = "1.8.9";
|
version = "1.8.13";
|
||||||
# Note: Due to our strong dependency on the Arch patches it's probably best
|
# Note: Due to our strong dependency on the Arch patches it's probably best
|
||||||
# to also wait for the Arch update (especially if the patches don't apply).
|
# to also wait for the Arch update (especially if the patches don't apply).
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ mkDerivation rec {
|
||||||
owner = "telegramdesktop";
|
owner = "telegramdesktop";
|
||||||
repo = "tdesktop";
|
repo = "tdesktop";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0b1c903ah3fhxr9qjg23p8x9k895k3cxkzz5ckcr7r4pmmbnnvkp";
|
sha256 = "19p4cjzk7jyhrd4sd8dq1r1zksff23zyg5rh5vlr3kqd372bffzz";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -25,8 +25,8 @@ mkDerivation rec {
|
||||||
archPatches = fetchsvn {
|
archPatches = fetchsvn {
|
||||||
url = "svn://svn.archlinux.org/community/telegram-desktop/trunk";
|
url = "svn://svn.archlinux.org/community/telegram-desktop/trunk";
|
||||||
# svn log svn://svn.archlinux.org/community/telegram-desktop/trunk
|
# svn log svn://svn.archlinux.org/community/telegram-desktop/trunk
|
||||||
rev = "509240";
|
rev = "512849";
|
||||||
sha256 = "1sf4mspbsqsnjzp9ys9l0asrx1bhj273d163i2bv1zhl4mmgpl3k";
|
sha256 = "1hl7znvv6qr4cwpkj8wlplpa63i1lhk2iax7hb4l1s1a4mijx9ls";
|
||||||
};
|
};
|
||||||
privateHeadersPatch = fetchpatch {
|
privateHeadersPatch = fetchpatch {
|
||||||
url = "https://github.com/telegramdesktop/tdesktop/commit/b9d3ba621eb8af638af46c6b3cfd7a8330bf0dd5.patch";
|
url = "https://github.com/telegramdesktop/tdesktop/commit/b9d3ba621eb8af638af46c6b3cfd7a8330bf0dd5.patch";
|
||||||
|
@ -38,8 +38,10 @@ mkDerivation rec {
|
||||||
patches = [
|
patches = [
|
||||||
"${archPatches}/tdesktop.patch"
|
"${archPatches}/tdesktop.patch"
|
||||||
"${archPatches}/no-gtk2.patch"
|
"${archPatches}/no-gtk2.patch"
|
||||||
# "${archPatches}/Use-system-wide-font.patch"
|
"${archPatches}/Revert-Disable-DemiBold-fallback-for-Semibold.patch"
|
||||||
"${archPatches}/tdesktop_lottie_animation_qtdebug.patch"
|
"${archPatches}/tdesktop_lottie_animation_qtdebug.patch"
|
||||||
|
# "${archPatches}/Revert-Change-some-private-header-includes.patch"
|
||||||
|
# "${archPatches}/Use-system-wide-font.patch"
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -87,7 +89,6 @@ mkDerivation rec {
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# Patches to revert:
|
# Patches to revert:
|
||||||
patch -R -Np1 -i "${archPatches}/demibold.patch"
|
|
||||||
patch -R -Np1 -i "${privateHeadersPatch}"
|
patch -R -Np1 -i "${privateHeadersPatch}"
|
||||||
|
|
||||||
# Patches to apply:
|
# Patches to apply:
|
||||||
|
@ -98,17 +99,17 @@ mkDerivation rec {
|
||||||
# disable static-qt for rlottie
|
# disable static-qt for rlottie
|
||||||
sed "/RLOTTIE_WITH_STATIC_QT/d" -i "Telegram/gyp/lib_rlottie.gyp"
|
sed "/RLOTTIE_WITH_STATIC_QT/d" -i "Telegram/gyp/lib_rlottie.gyp"
|
||||||
|
|
||||||
sed -i Telegram/gyp/telegram_linux.gypi \
|
sed -i Telegram/gyp/telegram/linux.gypi \
|
||||||
-e 's,/usr,/does-not-exist,g' \
|
-e 's,/usr,/does-not-exist,g' \
|
||||||
-e 's,appindicator-0.1,appindicator3-0.1,g' \
|
-e 's,appindicator-0.1,appindicator3-0.1,g' \
|
||||||
-e 's,-flto,,g'
|
-e 's,-flto,,g'
|
||||||
|
|
||||||
sed -i Telegram/gyp/qt.gypi \
|
sed -i Telegram/gyp/modules/qt.gypi \
|
||||||
-e "s,/usr/include/qt/QtCore/,${qtbase.dev}/include/QtCore/,g" \
|
-e "s,/usr/include/qt/QtCore/,${qtbase.dev}/include/QtCore/,g" \
|
||||||
-e 's,\d+",\d+" | head -n1,g'
|
-e 's,\d+",\d+" | head -n1,g'
|
||||||
sed -i Telegram/gyp/qt_moc.gypi \
|
sed -i Telegram/gyp/modules/qt_moc.gypi \
|
||||||
-e "s,/usr/bin/moc,moc,g"
|
-e "s,/usr/bin/moc,moc,g"
|
||||||
sed -i Telegram/gyp/qt_rcc.gypi \
|
sed -i Telegram/gyp/modules/qt_rcc.gypi \
|
||||||
-e "s,/usr/bin/rcc,rcc,g"
|
-e "s,/usr/bin/rcc,rcc,g"
|
||||||
|
|
||||||
# Build system assumes x86, but it works fine on non-x86 if we patch this one flag out
|
# Build system assumes x86, but it works fine on non-x86 if we patch this one flag out
|
||||||
|
|
|
@ -4,22 +4,22 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
sha256 = {
|
sha256 = {
|
||||||
x86_64-linux = "08kdxsg9npb1nmlr2jyq7p238735kqkp7c5xckxn6rc4cp12n2y2";
|
x86_64-linux = "0mixw2sk7li1hjagibwzdgbfnrih5acricczqmfks1gsinjqrn82";
|
||||||
i686-linux = "11r5d4234zbkkgyrd7q9x3w7s7lailnq7z4x8cnhpr8vipzrg7h2";
|
i386-linux = "1gshd4vm8ysn636r1z44vmzdzrgybsmj8ma4zdabvs9jsbm2da3c";
|
||||||
}.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported");
|
}.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported");
|
||||||
|
|
||||||
arch = {
|
arch = {
|
||||||
x86_64-linux = "amd64";
|
x86_64-linux = "amd64";
|
||||||
i686-linux = "i686";
|
i386-linux = "i386";
|
||||||
}.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported");
|
}.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported");
|
||||||
|
|
||||||
description = "Desktop sharing application, providing remote support and online meetings";
|
description = "Desktop sharing application, providing remote support and online meetings";
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
name = "anydesk";
|
name = "AnyDesk";
|
||||||
exec = "@out@/bin/anydesk";
|
exec = "@out@/bin/anydesk";
|
||||||
icon = "anydesk";
|
icon = "anydesk";
|
||||||
desktopName = "anydesk";
|
desktopName = "AnyDesk";
|
||||||
genericName = description;
|
genericName = description;
|
||||||
categories = "Application;Network;";
|
categories = "Application;Network;";
|
||||||
startupNotify = "false";
|
startupNotify = "false";
|
||||||
|
@ -27,7 +27,7 @@ let
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "anydesk";
|
pname = "anydesk";
|
||||||
version = "4.0.1";
|
version = "5.1.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.anydesk.com/linux/${pname}-${version}-${arch}.tar.gz";
|
url = "https://download.anydesk.com/linux/${pname}-${version}-${arch}.tar.gz";
|
||||||
|
@ -40,7 +40,7 @@ in stdenv.mkDerivation rec {
|
||||||
pangox_compat polkit polkit_gnome
|
pangox_compat polkit polkit_gnome
|
||||||
] ++ (with xorg; [
|
] ++ (with xorg; [
|
||||||
libxcb libX11 libXdamage libXext libXfixes libXi libXmu
|
libxcb libX11 libXdamage libXext libXfixes libXi libXmu
|
||||||
libXrandr libXtst libXt libICE libSM
|
libXrandr libXtst libXt libICE libSM libXrender
|
||||||
]);
|
]);
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -50,7 +50,7 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
mkdir -p $out/bin $out/share/{applications,doc/anydesk,icons/hicolor}
|
mkdir -p $out/bin $out/share/{applications,doc/anydesk,icons/hicolor}
|
||||||
install -m755 anydesk $out/bin/anydesk
|
install -m755 anydesk $out/bin/anydesk
|
||||||
cp changelog copyright README $out/share/doc/anydesk
|
cp copyright README $out/share/doc/anydesk
|
||||||
cp -r icons/* $out/share/icons/hicolor/
|
cp -r icons/* $out/share/icons/hicolor/
|
||||||
cp ${desktopItem}/share/applications/*.desktop $out/share/applications
|
cp ${desktopItem}/share/applications/*.desktop $out/share/applications
|
||||||
|
|
||||||
|
@ -75,6 +75,6 @@ in stdenv.mkDerivation rec {
|
||||||
homepage = https://www.anydesk.com;
|
homepage = https://www.anydesk.com;
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ peterhoeg ];
|
maintainers = with maintainers; [ shyim ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "teamviewer";
|
pname = "teamviewer";
|
||||||
version = "14.5.1691";
|
version = "14.6.2452";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://dl.tvcdn.de/download/linux/version_14x/teamviewer_${version}_amd64.deb";
|
url = "https://dl.tvcdn.de/download/linux/version_14x/teamviewer_${version}_amd64.deb";
|
||||||
sha256 = "1dzvjyvcqcah6z1dvw4zvmbdn8iks9j2909slbkksavn1rp3akxc";
|
sha256 = "0j677bqwvlczbja9msayqpdgandb2mvyvcr0vasc3hhnmnk70ahw";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
|
|
|
@ -8,13 +8,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "onedrive";
|
pname = "onedrive";
|
||||||
version = "2.3.9";
|
version = "2.3.10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "abraunegg";
|
owner = "abraunegg";
|
||||||
repo = "onedrive";
|
repo = "onedrive";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0fg2zzhhd1wl8z416px432xynx6whnzdamzdckc8rmm1cvghgb0f";
|
sha256 = "0ks22anxih63zwlc11z0gi531wvcricbkv1wlkrgfihi58l8fhfk";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -79,15 +79,15 @@ in {
|
||||||
|
|
||||||
fish = zncDerivation rec {
|
fish = zncDerivation rec {
|
||||||
name = "znc-fish-${version}";
|
name = "znc-fish-${version}";
|
||||||
version = "git-2014-10-10";
|
version = "git-2017-06-26";
|
||||||
module_name = "fish";
|
module_name = "fish";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
# this fork works with ZNC 1.6
|
# this fork works with ZNC 1.7
|
||||||
owner = "jarrydpage";
|
owner = "oilslump";
|
||||||
repo = "znc-fish";
|
repo = "znc-fish";
|
||||||
rev = "9c580e018a1a08374e814fc06f551281cff827de";
|
rev = "7d91467dbb195f7b591567911210523c6087662e";
|
||||||
sha256 = "0yvs0jkwwp18qxqvw1dvir91ggczz56ka00k0zlsb81csdi8xfvl";
|
sha256 = "1ky5xg17k5f393whrv5iv8zsmdvdyk2f7z5qdsmxcwy3pdxy6vsm";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "qownnotes";
|
pname = "qownnotes";
|
||||||
version = "19.8.6";
|
version = "19.9.16";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
|
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
|
||||||
# Can grab official version like so:
|
# Can grab official version like so:
|
||||||
# $ curl https://download.tuxfamily.org/qownnotes/src/qownnotes-19.1.8.tar.xz.sha256
|
# $ curl https://download.tuxfamily.org/qownnotes/src/qownnotes-19.1.8.tar.xz.sha256
|
||||||
sha256 = "a242dd15dc484baad39e737fe1af8529411f49a0d74994e6c78cf6bad4b733b6";
|
sha256 = "01ja4a9z87y8wdf1p9pdjdhr2h4hlyf28iqh1wlcapfq8f53zq42";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake qttools ];
|
nativeBuildInputs = [ qmake qttools ];
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "timetable";
|
pname = "timetable";
|
||||||
version = "1.0.8";
|
version = "1.0.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lainsce";
|
owner = "lainsce";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0s825al10s0hwfzl90bplwwasx89wx28n41sg2md71l9hfqy296q";
|
sha256 = "1n02y7vpi4lb888iic06xifc86n2xirk50s1ssf84vlc5md1kq9f";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -7,8 +7,8 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
srcVersion = "sep19a";
|
srcVersion = "oct19a";
|
||||||
version = "20190901_a";
|
version = "20191001_a";
|
||||||
pname = "gildas";
|
pname = "gildas";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
# source code of the previous release to a different directory
|
# source code of the previous release to a different directory
|
||||||
urls = [ "http://www.iram.fr/~gildas/dist/gildas-src-${srcVersion}.tar.xz"
|
urls = [ "http://www.iram.fr/~gildas/dist/gildas-src-${srcVersion}.tar.xz"
|
||||||
"http://www.iram.fr/~gildas/dist/archive/gildas/gildas-src-${srcVersion}.tar.xz" ];
|
"http://www.iram.fr/~gildas/dist/archive/gildas/gildas-src-${srcVersion}.tar.xz" ];
|
||||||
sha256 = "0l4jfzzxp1ab70a920qfbxiphgnc06m46wfwv0jlsq2mfk7cxac1";
|
sha256 = "0h6g16ra7v8x15j21z5hnb3midwm0asc7bjm9gs5v5sw66vn3wc1";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cbc";
|
pname = "cbc";
|
||||||
version = "2.10.2";
|
version = "2.10.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.coin-or.org/download/source/Cbc/Cbc-${version}.tgz";
|
url = "https://www.coin-or.org/download/source/Cbc/Cbc-${version}.tgz";
|
||||||
sha256 = "0frbxkh6nbh46kaxsx5bmzridgip3v7aq75l8yak5npiiq4jlwv3";
|
sha256 = "1zzcg40ky5v96s7br2hqlkqdspwrn43kf3757g6c35wl29bq6f5d";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [ "-C" ];
|
configureFlags = [ "-C" ];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, stdenv, fetchgit, fetchFromGitHub, cmake
|
{ lib, stdenv, fetchgit, fetchFromGitHub, cmake
|
||||||
, openblas, opencv3, libzip, boost, protobuf, openmpi
|
, openblas, opencv3, libzip, boost, protobuf, openmpi
|
||||||
, onebitSGDSupport ? false
|
, onebitSGDSupport ? false
|
||||||
, cudaSupport ? config.cudaSupport or false, cudatoolkit, nvidia_x11
|
, cudaSupport ? false, addOpenGLRunpath, cudatoolkit, nvidia_x11
|
||||||
, cudnnSupport ? cudaSupport, cudnn
|
, cudnnSupport ? cudaSupport, cudnn
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -27,7 +27,10 @@ in stdenv.mkDerivation rec {
|
||||||
sha256 = "18l9k7s966a26ywcf7flqyhm61788pcb9fj3wk61jrmgkhy2pcns";
|
sha256 = "18l9k7s966a26ywcf7flqyhm61788pcb9fj3wk61jrmgkhy2pcns";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ] ++ lib.optional cudaSupport addOpenGLRunpath;
|
||||||
|
|
||||||
|
# Force OpenMPI to use g++ in PATH.
|
||||||
|
OMPI_CXX = "g++";
|
||||||
|
|
||||||
buildInputs = [ openblas opencv3 libzip boost protobuf openmpi ]
|
buildInputs = [ openblas opencv3 libzip boost protobuf openmpi ]
|
||||||
++ lib.optional cudaSupport cudatoolkit
|
++ lib.optional cudaSupport cudatoolkit
|
||||||
|
@ -69,6 +72,7 @@ in stdenv.mkDerivation rec {
|
||||||
ln -s ${cudnn}/include cuda
|
ln -s ${cudnn}/include cuda
|
||||||
export configureFlags="$configureFlags --with-cudnn=$PWD"
|
export configureFlags="$configureFlags --with-cudnn=$PWD"
|
||||||
''}
|
''}
|
||||||
|
|
||||||
../configure $configureFlags
|
../configure $configureFlags
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -79,9 +83,18 @@ in stdenv.mkDerivation rec {
|
||||||
cp bin/cntk $out/bin
|
cp bin/cntk $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postFixup = lib.optionalString cudaSupport ''
|
||||||
|
for lib in $out/lib/*; do
|
||||||
|
addOpenGLRunpath "$lib"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
# Newer cub is included with cudatoolkit now and it breaks the build.
|
||||||
|
# https://github.com/Microsoft/CNTK/issues/3191
|
||||||
|
broken = cudaSupport;
|
||||||
homepage = https://github.com/Microsoft/CNTK;
|
homepage = https://github.com/Microsoft/CNTK;
|
||||||
description = "An open source deep-learning toolkit";
|
description = "An open source deep-learning toolkit";
|
||||||
license = if onebitSGDSupport then licenses.unfreeRedistributable else licenses.mit;
|
license = if onebitSGDSupport then licenses.unfreeRedistributable else licenses.mit;
|
||||||
|
|
|
@ -1,27 +1,28 @@
|
||||||
|
{ stdenv, fetchurl, cmake
|
||||||
{ stdenv, fetchurl, cmake,
|
, singlePrec ? true
|
||||||
singlePrec ? true,
|
, mpiEnabled ? false
|
||||||
mpiEnabled ? false,
|
, fftw
|
||||||
fftw,
|
, openmpi
|
||||||
openmpi
|
, perl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "gromacs-2019.3";
|
name = "gromacs-2019.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.gromacs.org/pub/gromacs/gromacs-2019.3.tar.gz";
|
url = "ftp://ftp.gromacs.org/pub/gromacs/gromacs-2019.4.tar.gz";
|
||||||
sha256 = "0wvm6lj4hbasl2qkjcpicqjh7abxji4196dd2hmwlyivpycaa4a2";
|
sha256 = "0rqqrbjrdhprlw2z6cqid59xwxfdx05ikvywppvdp8f8vzp6chxs";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [cmake fftw]
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ fftw perl ]
|
||||||
++ (stdenv.lib.optionals mpiEnabled [ openmpi ]);
|
++ (stdenv.lib.optionals mpiEnabled [ openmpi ]);
|
||||||
|
|
||||||
cmakeFlags = ''
|
cmakeFlags = ''
|
||||||
${if singlePrec then "-DGMX_DOUBLE=OFF" else "-DGMX_DOUBLE=ON -DGMX_DEFAULT_SUFFIX=OFF"}
|
${if singlePrec then "-DGMX_DOUBLE=OFF" else "-DGMX_DOUBLE=ON -DGMX_DEFAULT_SUFFIX=OFF"}
|
||||||
${if mpiEnabled then "-DGMX_MPI:BOOL=TRUE
|
${if mpiEnabled then "-DGMX_MPI:BOOL=TRUE
|
||||||
-DGMX_CPU_ACCELERATION:STRING=SSE4.1
|
-DGMX_CPU_ACCELERATION:STRING=SSE4.1
|
||||||
-DGMX_OPENMP:BOOL=TRUE
|
-DGMX_OPENMP:BOOL=TRUE
|
||||||
-DGMX_THREAD_MPI:BOOL=FALSE"
|
-DGMX_THREAD_MPI:BOOL=FALSE"
|
||||||
else "-DGMX_MPI:BOOL=FALSE" }
|
else "-DGMX_MPI:BOOL=FALSE" }
|
||||||
|
|
|
@ -24,6 +24,8 @@ let
|
||||||
|
|
||||||
darcsToGit = callPackage ./darcs-to-git { };
|
darcsToGit = callPackage ./darcs-to-git { };
|
||||||
|
|
||||||
|
delta = callPackage ./delta { };
|
||||||
|
|
||||||
diff-so-fancy = callPackage ./diff-so-fancy { };
|
diff-so-fancy = callPackage ./diff-so-fancy { };
|
||||||
|
|
||||||
ghq = callPackage ./ghq { };
|
ghq = callPackage ./ghq { };
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ lib, fetchFromGitHub, rustPlatform }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "delta";
|
||||||
|
version = "0.0.12";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dandavison";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "10jmawxzqgz7gjg1xdna9q2v6l1qlf83ybbqxcbx6941s15lgs7x";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "1888bvkpalfcw9bc9zmf9bmil6x35l9ia31x6mx1h2dvrfpw3bb1";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/dandavison/delta";
|
||||||
|
description = "A syntax-highlighting pager for git";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.marsam ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "hub";
|
pname = "hub";
|
||||||
version = "2.12.7";
|
version = "2.12.8";
|
||||||
|
|
||||||
goPackagePath = "github.com/github/hub";
|
goPackagePath = "github.com/github/hub";
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ buildGoPackage rec {
|
||||||
owner = "github";
|
owner = "github";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "028hc2cgjgqmi9kvxhck4nvq02p095bp1d8qxc6q38aynwfmmhk5";
|
sha256 = "0a2dpg0w29nblk1dba9a35bpwwyf0zbqcgrwn4a8diyx27b77x3x";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ groff utillinux ];
|
nativeBuildInputs = [ groff utillinux ];
|
||||||
|
|
|
@ -53,7 +53,8 @@ in buildGoPackage rec {
|
||||||
outputs = [ "bin" "out" "ruby" ];
|
outputs = [ "bin" "out" "ruby" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.gitlab.com/;
|
homepage = https://gitlab.com/gitlab-org/gitaly;
|
||||||
|
description = "A Git RPC service for handling all the git calls made by GitLab";
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ roblabla globin fpletz ];
|
maintainers = with maintainers; [ roblabla globin fpletz ];
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, fetchgit, fetchNodeModules, buildPythonPackage
|
{ stdenv, fetchgit, fetchNodeModules, buildPythonPackage
|
||||||
, pgpy, flask, bleach, misaka, humanize, markdown, psycopg2, pygments, requests
|
, pgpy, flask, bleach, misaka, humanize, markdown, psycopg2, pygments, requests
|
||||||
, sqlalchemy, flask_login, beautifulsoup4, sqlalchemy-utils, celery, alembic
|
, sqlalchemy, flask_login, beautifulsoup4, sqlalchemy-utils, celery, alembic
|
||||||
, sassc, nodejs-11_x
|
, sassc, nodejs
|
||||||
, writeText }:
|
, writeText }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
node_modules = fetchNodeModules {
|
node_modules = fetchNodeModules {
|
||||||
src = "${src}/srht";
|
src = "${src}/srht";
|
||||||
nodejs = nodejs-11_x;
|
nodejs = nodejs;
|
||||||
sha256 = "0axl50swhcw8llq8z2icwr4nkr5qsw2riih0a040f9wx4xiw4p6p";
|
sha256 = "0axl50swhcw8llq8z2icwr4nkr5qsw2riih0a040f9wx4xiw4p6p";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
sassc
|
sassc
|
||||||
nodejs-11_x
|
nodejs
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -75,6 +75,7 @@ buildPythonPackage rec {
|
||||||
homepage = https://git.sr.ht/~sircmpwn/srht;
|
homepage = https://git.sr.ht/~sircmpwn/srht;
|
||||||
description = "Core modules for sr.ht";
|
description = "Core modules for sr.ht";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
broken = true;
|
||||||
maintainers = with maintainers; [ eadwu ];
|
maintainers = with maintainers; [ eadwu ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "src";
|
pname = "src";
|
||||||
version = "1.26";
|
version = "1.27";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.catb.org/~esr/src/${pname}-${version}.tar.gz";
|
url = "http://www.catb.org/~esr/src/${pname}-${version}.tar.gz";
|
||||||
sha256 = "06npsnf2bfjgcs7wilhcqn24zn286nyy4qyp3yp88zapkxzlap23";
|
sha256 = "0764kcyh54plzmvfyhh086wpszh67nv1nsxgk95n9bxxinr7sn3x";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
|
@ -42,7 +42,7 @@ edk2.mkDerivation projectDscPath {
|
||||||
mv -v $out/FV/QEMU_{EFI,VARS}.fd $fd/FV
|
mv -v $out/FV/QEMU_{EFI,VARS}.fd $fd/FV
|
||||||
|
|
||||||
# Uses Fedora dir layout: https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/edk2.spec
|
# Uses Fedora dir layout: https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/edk2.spec
|
||||||
# FIXME: why is it different from Debian dir layout? https://anonscm.debian.org/cgit/pkg-qemu/edk2.git/tree/debian/rules
|
# FIXME: why is it different from Debian dir layout? https://salsa.debian.org/qemu-team/edk2/blob/debian/debian/rules
|
||||||
dd of=$fd/AAVMF/QEMU_EFI-pflash.raw if=/dev/zero bs=1M count=64
|
dd of=$fd/AAVMF/QEMU_EFI-pflash.raw if=/dev/zero bs=1M count=64
|
||||||
dd of=$fd/AAVMF/QEMU_EFI-pflash.raw if=$fd/FV/QEMU_EFI.fd conv=notrunc
|
dd of=$fd/AAVMF/QEMU_EFI-pflash.raw if=$fd/FV/QEMU_EFI.fd conv=notrunc
|
||||||
dd of=$fd/AAVMF/vars-template-pflash.raw if=/dev/zero bs=1M count=64
|
dd of=$fd/AAVMF/vars-template-pflash.raw if=/dev/zero bs=1M count=64
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "lkl";
|
pname = "lkl";
|
||||||
version = "2019-06-20";
|
version = "2019-10-04";
|
||||||
rev = "0a4ebeadad12b94db665b8daf30e44e949a02d90";
|
rev = "06ca3ddb74dc5b84fa54fa1746737f2df502e047";
|
||||||
|
|
||||||
outputs = [ "dev" "lib" "out" ];
|
outputs = [ "dev" "lib" "out" ];
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
inherit rev;
|
inherit rev;
|
||||||
owner = "lkl";
|
owner = "lkl";
|
||||||
repo = "linux";
|
repo = "linux";
|
||||||
sha256 = "09y9ci3j0lp3z74h577ng2s9a4n4glqpqndyc9iy6wdqaj764gm6";
|
sha256 = "0qjp0r338bwgrqdsvy5mkdh7ryas23m47yvxfwdknfyl0k3ylq62";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fix a /usr/bin/env reference in here that breaks sandboxed builds
|
# Fix a /usr/bin/env reference in here that breaks sandboxed builds
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "podman";
|
pname = "podman";
|
||||||
version = "1.5.1";
|
version = "1.6.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "containers";
|
owner = "containers";
|
||||||
repo = "libpod";
|
repo = "libpod";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1jg7fdshqz0x71339i0wndskb17x1k5rwpkjiwd463f96fnbfp4x";
|
sha256 = "0s9jxcjx9bkml606rn29358pfavd85m6zshra4qkpbc1iwa6hgr9";
|
||||||
};
|
};
|
||||||
|
|
||||||
goPackagePath = "github.com/containers/libpod";
|
goPackagePath = "github.com/containers/libpod";
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
, libX11, xcbutil, xcbutilxrm }:
|
, libX11, xcbutil, xcbutilxrm }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.2";
|
version = "0.3";
|
||||||
pname = "2bwm";
|
pname = "2bwm";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "venam";
|
owner = "venam";
|
||||||
repo = "2bwm";
|
repo = "2bwm";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1la1ixpm5knsj2gvdcmxzj1jfbzxvhmgzps4f5kbvx5047xc6ici";
|
sha256 = "1xwib612ahv4rg9yl5injck89dlpyp5475xqgag0ydfd0r4sfld7";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Allow users set their own list of patches
|
# Allow users set their own list of patches
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.0.0";
|
version = "3.0.0";
|
||||||
in fetchzip {
|
in fetchzip {
|
||||||
name = "ibm-plex-${version}";
|
name = "ibm-plex-${version}";
|
||||||
url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip";
|
url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip";
|
||||||
|
@ -9,7 +9,7 @@ in fetchzip {
|
||||||
mkdir -p $out/share/fonts
|
mkdir -p $out/share/fonts
|
||||||
unzip -j $downloadedFile "OpenType/*/*.otf" -d $out/share/fonts/opentype
|
unzip -j $downloadedFile "OpenType/*/*.otf" -d $out/share/fonts/opentype
|
||||||
'';
|
'';
|
||||||
sha256 = "0m4paww4349d37s7j20a00hp514p1jq54xrnz45wyrafb8pkah4g";
|
sha256 = "1vv0lf2fn0y0ln14s4my8x2mykq1lwqpmkjkhs6cm48mzf740nhs";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "IBM Plex Typeface";
|
description = "IBM Plex Typeface";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, bash, which, withFont ? "" }:
|
{ stdenv, fetchFromGitHub, which, withFont ? "" }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.0.0";
|
version = "2.0.0";
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||||
dontPatchShebangs = true;
|
dontPatchShebangs = true;
|
||||||
buildInputs = [ which ];
|
buildInputs = [ which ];
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i -e 's|/bin/bash|${bash}/bin/bash|g' install.sh
|
patchShebangs install.sh
|
||||||
sed -i -e 's|font_dir="\$HOME/.local/share/fonts|font_dir="$out/share/fonts/truetype|g' install.sh
|
sed -i -e 's|font_dir="\$HOME/.local/share/fonts|font_dir="$out/share/fonts/truetype|g' install.sh
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elementary-xfce-icon-theme";
|
pname = "elementary-xfce-icon-theme";
|
||||||
version = "0.13.1";
|
version = "0.14";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "shimmerproject";
|
owner = "shimmerproject";
|
||||||
repo = "elementary-xfce";
|
repo = "elementary-xfce";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "16msdrazhbv80cvh5ffvgj13xmkpf87r7mq6xz071fza6nv7g0jn";
|
sha256 = "00sk6sv0kkfb3q0jqwcllzawi30rw8nfkkfn5l1qwqha48izw3r4";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gdk-pixbuf librsvg optipng gtk3 hicolor-icon-theme ];
|
nativeBuildInputs = [ pkgconfig gdk-pixbuf librsvg optipng gtk3 hicolor-icon-theme ];
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "numix-icon-theme-circle";
|
pname = "numix-icon-theme-circle";
|
||||||
version = "19.05.07";
|
version = "19.09.20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "numixproject";
|
owner = "numixproject";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "04h7kp1895rkfaqrgzrpqjmqamkxv3dkmhslgm2cxsa6qc0wammg";
|
sha256 = "1pmz2dy1580ln5m57xw3vhqrjhviayisgbs2km3i77hyx66hiivi";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gtk3 numix-icon-theme ];
|
nativeBuildInputs = [ gtk3 numix-icon-theme ];
|
||||||
|
@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
# darwin cannot deal with file names differing only in case
|
# darwin cannot deal with file names differing only in case
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ romildo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "numix-icon-theme-square";
|
pname = "numix-icon-theme-square";
|
||||||
version = "19.05.07";
|
version = "19.09.20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "numixproject";
|
owner = "numixproject";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "13wxy36qys439pv0xaynqvmjshnfrk9wa89iw878ibvfj506ji2s";
|
sha256 = "0q3d4d4wndknz3043bh8ardjvdpds2hkzk73kyyh1848wg4ff0ly";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gtk3 numix-icon-theme ];
|
nativeBuildInputs = [ gtk3 numix-icon-theme ];
|
||||||
|
|
|
@ -2,20 +2,20 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "numix-icon-theme";
|
pname = "numix-icon-theme";
|
||||||
version = "18.07.17";
|
version = "19.09.20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "numixproject";
|
owner = "numixproject";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0clh55kmhc52d33dfm2c6h3lg6ddfh8a088ir9lv1camn9kj55bd";
|
sha256 = "0pn3x0mmsph777lwhg890ck366p31bjl3755h4pv161ym08d4z9w";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gtk3 hicolor-icon-theme ];
|
nativeBuildInputs = [ gtk3 hicolor-icon-theme ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/icons
|
mkdir -p $out/share/icons
|
||||||
mv Numix{,-Light} $out/share/icons
|
cp -a Numix{,-Light} $out/share/icons/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue