Merge remote-tracking branch 'origin/master' into haskell-updates.
This commit is contained in:
commit
b6ba72e0e0
3
.github/CODEOWNERS
vendored
3
.github/CODEOWNERS
vendored
@ -220,3 +220,6 @@
|
|||||||
/pkgs/development/compilers/go @kalbasit @Mic92 @zowoq
|
/pkgs/development/compilers/go @kalbasit @Mic92 @zowoq
|
||||||
/pkgs/development/go-modules @kalbasit @Mic92 @zowoq
|
/pkgs/development/go-modules @kalbasit @Mic92 @zowoq
|
||||||
/pkgs/development/go-packages @kalbasit @Mic92 @zowoq
|
/pkgs/development/go-packages @kalbasit @Mic92 @zowoq
|
||||||
|
|
||||||
|
# Cinnamon
|
||||||
|
/pkgs/desktops/cinnamon @mkg20001
|
||||||
|
@ -1162,6 +1162,12 @@
|
|||||||
githubId = 37907;
|
githubId = 37907;
|
||||||
name = "Julian Stecklina";
|
name = "Julian Stecklina";
|
||||||
};
|
};
|
||||||
|
bloomvdomino = {
|
||||||
|
name = "Laura Fäßler";
|
||||||
|
email = "0x@ytex.de";
|
||||||
|
github = "bloomvdomino";
|
||||||
|
githubId = 33204710;
|
||||||
|
};
|
||||||
bluescreen303 = {
|
bluescreen303 = {
|
||||||
email = "mathijs@bluescreen303.nl";
|
email = "mathijs@bluescreen303.nl";
|
||||||
github = "bluescreen303";
|
github = "bluescreen303";
|
||||||
|
67
maintainers/scripts/check-hydra-by-maintainer.nix
Normal file
67
maintainers/scripts/check-hydra-by-maintainer.nix
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
{ maintainer }:
|
||||||
|
let
|
||||||
|
pkgs = import ./../../default.nix { };
|
||||||
|
maintainer_ = pkgs.lib.maintainers.${maintainer};
|
||||||
|
packagesWith = cond: return: prefix: set:
|
||||||
|
(pkgs.lib.flatten
|
||||||
|
(pkgs.lib.mapAttrsToList
|
||||||
|
(name: pkg:
|
||||||
|
let
|
||||||
|
result = builtins.tryEval
|
||||||
|
(
|
||||||
|
if pkgs.lib.isDerivation pkg && cond name pkg then
|
||||||
|
# Skip packages whose closure fails on evaluation.
|
||||||
|
# This happens for pkgs like `python27Packages.djangoql`
|
||||||
|
# that have disabled Python pkgs as dependencies.
|
||||||
|
builtins.seq pkg.outPath
|
||||||
|
[ (return "${prefix}${name}") ]
|
||||||
|
else if pkg.recurseForDerivations or false || pkg.recurseForRelease or false
|
||||||
|
# then packagesWith cond return pkg
|
||||||
|
then packagesWith cond return "${name}." pkg
|
||||||
|
else [ ]
|
||||||
|
);
|
||||||
|
in
|
||||||
|
if result.success then result.value
|
||||||
|
else [ ]
|
||||||
|
)
|
||||||
|
set
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
packages = packagesWith
|
||||||
|
(name: pkg:
|
||||||
|
(
|
||||||
|
if builtins.hasAttr "meta" pkg && builtins.hasAttr "maintainers" pkg.meta
|
||||||
|
then
|
||||||
|
(
|
||||||
|
if builtins.isList pkg.meta.maintainers
|
||||||
|
then builtins.elem maintainer_ pkg.meta.maintainers
|
||||||
|
else maintainer_ == pkg.meta.maintainers
|
||||||
|
)
|
||||||
|
else false
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(name: name)
|
||||||
|
("")
|
||||||
|
pkgs;
|
||||||
|
|
||||||
|
in
|
||||||
|
pkgs.stdenv.mkDerivation {
|
||||||
|
name = "nixpkgs-update-script";
|
||||||
|
buildCommand = ''
|
||||||
|
echo ""
|
||||||
|
echo "----------------------------------------------------------------"
|
||||||
|
echo ""
|
||||||
|
echo "nix-shell maintainers/scripts/check-hydra-by-maintainer.nix --argstr maintainer SuperSandro2000"
|
||||||
|
echo ""
|
||||||
|
echo "----------------------------------------------------------------"
|
||||||
|
exit 1
|
||||||
|
'';
|
||||||
|
shellHook = ''
|
||||||
|
unset shellHook # do not contaminate nested shells
|
||||||
|
echo "Please stand by"
|
||||||
|
echo nix-shell -p hydra-check --run "hydra-check ${builtins.concatStringsSep " " packages}"
|
||||||
|
nix-shell -p hydra-check --run "hydra-check ${builtins.concatStringsSep " " packages}"
|
||||||
|
exit $?
|
||||||
|
'';
|
||||||
|
}
|
@ -36,6 +36,14 @@ with lib.maintainers; {
|
|||||||
scope = "Maintain Cinnamon desktop environment and applications made by the LinuxMint team.";
|
scope = "Maintain Cinnamon desktop environment and applications made by the LinuxMint team.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
deshaw = {
|
||||||
|
# Verify additions to this team with at least one already existing member of the team.
|
||||||
|
members = [
|
||||||
|
limeytexan
|
||||||
|
];
|
||||||
|
scope = "Group registration for D. E. Shaw employees who collectively maintain packages.";
|
||||||
|
};
|
||||||
|
|
||||||
freedesktop = {
|
freedesktop = {
|
||||||
members = [ jtojnar worldofpeace ];
|
members = [ jtojnar worldofpeace ];
|
||||||
scope = "Maintain Freedesktop.org packages for graphical desktop.";
|
scope = "Maintain Freedesktop.org packages for graphical desktop.";
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
A profile with most (vanilla) hardening options enabled by default,
|
A profile with most (vanilla) hardening options enabled by default,
|
||||||
potentially at the cost of features and performance.
|
potentially at the cost of stability, features and performance.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -21,4 +21,12 @@
|
|||||||
xlink:href="https://github.com/nixos/nixpkgs/tree/master/nixos/modules/profiles/hardened.nix">
|
xlink:href="https://github.com/nixos/nixpkgs/tree/master/nixos/modules/profiles/hardened.nix">
|
||||||
profile source</literal> for further detail on which settings are altered.
|
profile source</literal> for further detail on which settings are altered.
|
||||||
</para>
|
</para>
|
||||||
|
<warning>
|
||||||
|
<para>
|
||||||
|
This profile enables options that are known to affect system
|
||||||
|
stability. If you experience any stability issues when using the
|
||||||
|
profile, try disabling it. If you report an issue and use this
|
||||||
|
profile, always mention that you do.
|
||||||
|
</para>
|
||||||
|
</warning>
|
||||||
</section>
|
</section>
|
||||||
|
@ -286,6 +286,16 @@
|
|||||||
<xref linkend="opt-services.privoxy.enableTor" /> = true;
|
<xref linkend="opt-services.privoxy.enableTor" /> = true;
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The <literal>services.tor</literal> module has a new exhaustively typed <xref linkend="opt-services.tor.settings" /> option following RFC 0042; backward compatibility with old options has been preserved when aliasing was possible.
|
||||||
|
The corresponding systemd service has been hardened,
|
||||||
|
but there is a chance that the service still requires more permissions,
|
||||||
|
so please report any related trouble on the bugtracker.
|
||||||
|
Onion services v3 are now supported in <xref linkend="opt-services.tor.relay.onionServices" />.
|
||||||
|
A new <xref linkend="opt-services.tor.openFirewall" /> option as been introduced for allowing connections on all the TCP ports configured.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The options <literal>services.slurm.dbdserver.storagePass</literal>
|
The options <literal>services.slurm.dbdserver.storagePass</literal>
|
||||||
@ -309,6 +319,14 @@
|
|||||||
Based on <xref linkend="opt-system.stateVersion" />, existing installations will continue to work.
|
Based on <xref linkend="opt-system.stateVersion" />, existing installations will continue to work.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<package>fish-foreign-env</package> is now an alias for the
|
||||||
|
<package>fishPlugins.foreign-env</package> package, in which the fish
|
||||||
|
functions have been relocated to the
|
||||||
|
<literal>vendor_functions.d</literal> directory to be loaded automatically.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The prometheus json exporter is now managed by the prometheus community. Together with additional features
|
The prometheus json exporter is now managed by the prometheus community. Together with additional features
|
||||||
|
@ -24,6 +24,15 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
package = mkOption {
|
||||||
|
type = types.package;
|
||||||
|
default = pkgs.opentabletdriver;
|
||||||
|
defaultText = "pkgs.opentabletdriver";
|
||||||
|
description = ''
|
||||||
|
OpenTabletDriver derivation to use.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
daemon = {
|
daemon = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
default = true;
|
default = true;
|
||||||
@ -37,9 +46,9 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [ opentabletdriver ];
|
environment.systemPackages = [ cfg.package ];
|
||||||
|
|
||||||
services.udev.packages = with pkgs; [ opentabletdriver ];
|
services.udev.packages = [ cfg.package ];
|
||||||
|
|
||||||
boot.blacklistedKernelModules = cfg.blacklistedKernelModules;
|
boot.blacklistedKernelModules = cfg.blacklistedKernelModules;
|
||||||
|
|
||||||
@ -50,7 +59,7 @@ in
|
|||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
ExecStart = "${opentabletdriver}/bin/otd-daemon -c ${opentabletdriver}/lib/OpenTabletDriver/Configurations";
|
ExecStart = "${cfg.package}/bin/otd-daemon -c ${cfg.package}/lib/OpenTabletDriver/Configurations";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -104,7 +104,7 @@ in
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# Some more help text.
|
# Some more help text.
|
||||||
services.mingetty.helpLine =
|
services.getty.helpLine =
|
||||||
''
|
''
|
||||||
|
|
||||||
Log in as "root" with an empty password. ${
|
Log in as "root" with an empty password. ${
|
||||||
|
@ -122,7 +122,7 @@ in
|
|||||||
device = "/dev/something";
|
device = "/dev/something";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.mingetty = {
|
services.getty = {
|
||||||
# Some more help text.
|
# Some more help text.
|
||||||
helpLine = ''
|
helpLine = ''
|
||||||
Log in as "root" with an empty password. ${
|
Log in as "root" with an empty password. ${
|
||||||
|
@ -261,7 +261,7 @@ in
|
|||||||
++ optionals cfg.doc.enable ([ manual.manualHTML nixos-help ]
|
++ optionals cfg.doc.enable ([ manual.manualHTML nixos-help ]
|
||||||
++ optionals config.services.xserver.enable [ pkgs.nixos-icons ]);
|
++ optionals config.services.xserver.enable [ pkgs.nixos-icons ]);
|
||||||
|
|
||||||
services.mingetty.helpLine = mkIf cfg.doc.enable (
|
services.getty.helpLine = mkIf cfg.doc.enable (
|
||||||
"\nRun 'nixos-help' for the NixOS manual."
|
"\nRun 'nixos-help' for the NixOS manual."
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
|
@ -852,7 +852,7 @@
|
|||||||
./services/torrent/peerflix.nix
|
./services/torrent/peerflix.nix
|
||||||
./services/torrent/rtorrent.nix
|
./services/torrent/rtorrent.nix
|
||||||
./services/torrent/transmission.nix
|
./services/torrent/transmission.nix
|
||||||
./services/ttys/agetty.nix
|
./services/ttys/getty.nix
|
||||||
./services/ttys/gpm.nix
|
./services/ttys/gpm.nix
|
||||||
./services/ttys/kmscon.nix
|
./services/ttys/kmscon.nix
|
||||||
./services/wayland/cage.nix
|
./services/wayland/cage.nix
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
# A profile with most (vanilla) hardening options enabled by default,
|
# A profile with most (vanilla) hardening options enabled by default,
|
||||||
# potentially at the cost of features and performance.
|
# potentially at the cost of stability, features and performance.
|
||||||
|
#
|
||||||
|
# This profile enables options that are known to affect system
|
||||||
|
# stability. If you experience any stability issues when using the
|
||||||
|
# profile, try disabling it. If you report an issue and use this
|
||||||
|
# profile, always mention that you do.
|
||||||
|
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
@ -45,10 +45,10 @@ with lib;
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Automatically log in at the virtual consoles.
|
# Automatically log in at the virtual consoles.
|
||||||
services.mingetty.autologinUser = "nixos";
|
services.getty.autologinUser = "nixos";
|
||||||
|
|
||||||
# Some more help text.
|
# Some more help text.
|
||||||
services.mingetty.helpLine = ''
|
services.getty.helpLine = ''
|
||||||
The "nixos" and "root" accounts have empty passwords.
|
The "nixos" and "root" accounts have empty passwords.
|
||||||
|
|
||||||
An ssh daemon is running. You then must set a password
|
An ssh daemon is running. You then must set a password
|
||||||
|
@ -36,7 +36,7 @@ EOF
|
|||||||
exec("nix-shell", "-p", $package, "--run", shell_quote("exec", @ARGV));
|
exec("nix-shell", "-p", $package, "--run", shell_quote("exec", @ARGV));
|
||||||
} else {
|
} else {
|
||||||
print STDERR <<EOF;
|
print STDERR <<EOF;
|
||||||
The program '$program' is not in your PATH. You can make it available in a
|
The program '$program' is not in your PATH. You can make it available in an
|
||||||
ephemeral shell by typing:
|
ephemeral shell by typing:
|
||||||
nix-shell -p $package
|
nix-shell -p $package
|
||||||
EOF
|
EOF
|
||||||
@ -44,7 +44,7 @@ EOF
|
|||||||
} else {
|
} else {
|
||||||
print STDERR <<EOF;
|
print STDERR <<EOF;
|
||||||
The program '$program' is not in your PATH. It is provided by several packages.
|
The program '$program' is not in your PATH. It is provided by several packages.
|
||||||
You can make it available in a ephemeral shell by typing one of the following:
|
You can make it available in an ephemeral shell by typing one of the following:
|
||||||
EOF
|
EOF
|
||||||
print STDERR " nix-shell -p $_->{package}\n" foreach @$res;
|
print STDERR " nix-shell -p $_->{package}\n" foreach @$res;
|
||||||
}
|
}
|
||||||
|
@ -112,7 +112,7 @@ in
|
|||||||
environment.etc."fish/nixos-env-preinit.fish".text = ''
|
environment.etc."fish/nixos-env-preinit.fish".text = ''
|
||||||
# This happens before $__fish_datadir/config.fish sets fish_function_path, so it is currently
|
# This happens before $__fish_datadir/config.fish sets fish_function_path, so it is currently
|
||||||
# unset. We set it and then completely erase it, leaving its configuration to $__fish_datadir/config.fish
|
# unset. We set it and then completely erase it, leaving its configuration to $__fish_datadir/config.fish
|
||||||
set fish_function_path ${pkgs.fish-foreign-env}/share/fish-foreign-env/functions $__fish_datadir/functions
|
set fish_function_path ${pkgs.fishPlugins.foreign-env}/share/fish/vendor_functions.d $__fish_datadir/functions
|
||||||
|
|
||||||
# source the NixOS environment config
|
# source the NixOS environment config
|
||||||
if [ -z "$__NIXOS_SET_ENVIRONMENT_DONE" ]
|
if [ -z "$__NIXOS_SET_ENVIRONMENT_DONE" ]
|
||||||
@ -128,7 +128,7 @@ in
|
|||||||
|
|
||||||
# if we haven't sourced the general config, do it
|
# if we haven't sourced the general config, do it
|
||||||
if not set -q __fish_nixos_general_config_sourced
|
if not set -q __fish_nixos_general_config_sourced
|
||||||
set fish_function_path ${pkgs.fish-foreign-env}/share/fish-foreign-env/functions $fish_function_path
|
set --prepend fish_function_path ${pkgs.fishPlugins.foreign-env}/share/fish/vendor_functions.d
|
||||||
fenv source /etc/fish/foreign-env/shellInit > /dev/null
|
fenv source /etc/fish/foreign-env/shellInit > /dev/null
|
||||||
set -e fish_function_path[1]
|
set -e fish_function_path[1]
|
||||||
|
|
||||||
@ -142,7 +142,7 @@ in
|
|||||||
# if we haven't sourced the login config, do it
|
# if we haven't sourced the login config, do it
|
||||||
status --is-login; and not set -q __fish_nixos_login_config_sourced
|
status --is-login; and not set -q __fish_nixos_login_config_sourced
|
||||||
and begin
|
and begin
|
||||||
set fish_function_path ${pkgs.fish-foreign-env}/share/fish-foreign-env/functions $fish_function_path
|
set --prepend fish_function_path ${pkgs.fishPlugins.foreign-env}/share/fish/vendor_functions.d
|
||||||
fenv source /etc/fish/foreign-env/loginShellInit > /dev/null
|
fenv source /etc/fish/foreign-env/loginShellInit > /dev/null
|
||||||
set -e fish_function_path[1]
|
set -e fish_function_path[1]
|
||||||
|
|
||||||
@ -158,7 +158,7 @@ in
|
|||||||
and begin
|
and begin
|
||||||
${fishAliases}
|
${fishAliases}
|
||||||
|
|
||||||
set fish_function_path ${pkgs.fish-foreign-env}/share/fish-foreign-env/functions $fish_function_path
|
set --prepend fish_function_path ${pkgs.fishPlugins.foreign-env}/share/fish/vendor_functions.d
|
||||||
fenv source /etc/fish/foreign-env/interactiveShellInit > /dev/null
|
fenv source /etc/fish/foreign-env/interactiveShellInit > /dev/null
|
||||||
set -e fish_function_path[1]
|
set -e fish_function_path[1]
|
||||||
|
|
||||||
|
@ -93,11 +93,11 @@ in {
|
|||||||
assertions = [
|
assertions = [
|
||||||
{
|
{
|
||||||
assertion = cfg.pulse.enable -> !config.hardware.pulseaudio.enable;
|
assertion = cfg.pulse.enable -> !config.hardware.pulseaudio.enable;
|
||||||
message = "PipeWire based PulseAudio server emulation replaces PulseAudio";
|
message = "PipeWire based PulseAudio server emulation replaces PulseAudio. This option requires `hardware.pulseaudio.enable` to be set to false";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
assertion = cfg.jack.enable -> !config.services.jack.jackd.enable;
|
assertion = cfg.jack.enable -> !config.services.jack.jackd.enable;
|
||||||
message = "PipeWire based JACK emulation doesn't use the JACK service";
|
message = "PipeWire based JACK emulation doesn't use the JACK service. This option requires `services.jack.jackd.enable` to be set to false";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -49,6 +49,11 @@ in {
|
|||||||
default = "https://hoogle.haskell.org";
|
default = "https://hoogle.haskell.org";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
host = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
description = "Set the host to bind on.";
|
||||||
|
default = "127.0.0.1";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@ -59,7 +64,7 @@ in {
|
|||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
ExecStart = ''${hoogleEnv}/bin/hoogle server --local --port ${toString cfg.port} --home ${cfg.home}'';
|
ExecStart = ''${hoogleEnv}/bin/hoogle server --local --port ${toString cfg.port} --home ${cfg.home} --host ${cfg.host}'';
|
||||||
|
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
|
|
||||||
|
@ -367,7 +367,7 @@ in {
|
|||||||
|
|
||||||
mailman-web-setup = {
|
mailman-web-setup = {
|
||||||
description = "Prepare mailman-web files and database";
|
description = "Prepare mailman-web files and database";
|
||||||
before = [ "uwsgi.service" "mailman-uwsgi.service" ];
|
before = [ "mailman-uwsgi.service" ];
|
||||||
requiredBy = [ "mailman-uwsgi.service" ];
|
requiredBy = [ "mailman-uwsgi.service" ];
|
||||||
restartTriggers = [ config.environment.etc."mailman3/settings.py".source ];
|
restartTriggers = [ config.environment.etc."mailman3/settings.py".source ];
|
||||||
script = ''
|
script = ''
|
||||||
|
@ -16,7 +16,7 @@ let
|
|||||||
${concatMapStrings (f: "actionsfile ${f}\n") cfg.actionsFiles}
|
${concatMapStrings (f: "actionsfile ${f}\n") cfg.actionsFiles}
|
||||||
${concatMapStrings (f: "filterfile ${f}\n") cfg.filterFiles}
|
${concatMapStrings (f: "filterfile ${f}\n") cfg.filterFiles}
|
||||||
'' + optionalString cfg.enableTor ''
|
'' + optionalString cfg.enableTor ''
|
||||||
forward-socks4a / ${config.services.tor.client.socksListenAddressFaster} .
|
forward-socks5t / 127.0.0.1:9063 .
|
||||||
toggle 1
|
toggle 1
|
||||||
enable-remote-toggle 0
|
enable-remote-toggle 0
|
||||||
enable-edit-actions 0
|
enable-edit-actions 0
|
||||||
@ -123,6 +123,11 @@ in
|
|||||||
serviceConfig.ProtectSystem = "full";
|
serviceConfig.ProtectSystem = "full";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.tor.settings.SOCKSPort = mkIf cfg.enableTor [
|
||||||
|
# Route HTTP traffic over a faster port (without IsolateDestAddr).
|
||||||
|
{ addr = "127.0.0.1"; port = 9063; IsolateDestAddr = false; }
|
||||||
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
meta.maintainers = with lib.maintainers; [ rnhmjoj ];
|
meta.maintainers = with lib.maintainers; [ rnhmjoj ];
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,7 @@ with lib;
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
autologinArg = optionalString (config.services.mingetty.autologinUser != null) "--autologin ${config.services.mingetty.autologinUser}";
|
autologinArg = optionalString (config.services.getty.autologinUser != null) "--autologin ${config.services.getty.autologinUser}";
|
||||||
gettyCmd = extraArgs: "@${pkgs.util-linux}/sbin/agetty agetty --login-program ${pkgs.shadow}/bin/login ${autologinArg} ${extraArgs}";
|
gettyCmd = extraArgs: "@${pkgs.util-linux}/sbin/agetty agetty --login-program ${pkgs.shadow}/bin/login ${autologinArg} ${extraArgs}";
|
||||||
|
|
||||||
in
|
in
|
||||||
@ -13,9 +13,13 @@ in
|
|||||||
|
|
||||||
###### interface
|
###### interface
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
(mkRenamedOptionModule [ "services" "mingetty" ] [ "services" "getty" ])
|
||||||
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
||||||
services.mingetty = {
|
services.getty = {
|
||||||
|
|
||||||
autologinUser = mkOption {
|
autologinUser = mkOption {
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr types.str;
|
||||||
@ -29,7 +33,7 @@ in
|
|||||||
greetingLine = mkOption {
|
greetingLine = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = ''
|
description = ''
|
||||||
Welcome line printed by mingetty.
|
Welcome line printed by agetty.
|
||||||
The default shows current NixOS version label, machine type and tty.
|
The default shows current NixOS version label, machine type and tty.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
@ -38,7 +42,7 @@ in
|
|||||||
type = types.lines;
|
type = types.lines;
|
||||||
default = "";
|
default = "";
|
||||||
description = ''
|
description = ''
|
||||||
Help line printed by mingetty below the welcome line.
|
Help line printed by agetty below the welcome line.
|
||||||
Used by the installation CD to give some hints on
|
Used by the installation CD to give some hints on
|
||||||
how to proceed.
|
how to proceed.
|
||||||
'';
|
'';
|
||||||
@ -65,7 +69,7 @@ in
|
|||||||
config = {
|
config = {
|
||||||
# Note: this is set here rather than up there so that changing
|
# Note: this is set here rather than up there so that changing
|
||||||
# nixos.label would not rebuild manual pages
|
# nixos.label would not rebuild manual pages
|
||||||
services.mingetty.greetingLine = mkDefault ''<<< Welcome to NixOS ${config.system.nixos.label} (\m) - \l >>>'';
|
services.getty.greetingLine = mkDefault ''<<< Welcome to NixOS ${config.system.nixos.label} (\m) - \l >>>'';
|
||||||
|
|
||||||
systemd.services."getty@" =
|
systemd.services."getty@" =
|
||||||
{ serviceConfig.ExecStart = [
|
{ serviceConfig.ExecStart = [
|
||||||
@ -76,7 +80,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."serial-getty@" =
|
systemd.services."serial-getty@" =
|
||||||
let speeds = concatStringsSep "," (map toString config.services.mingetty.serialSpeed); in
|
let speeds = concatStringsSep "," (map toString config.services.getty.serialSpeed); in
|
||||||
{ serviceConfig.ExecStart = [
|
{ serviceConfig.ExecStart = [
|
||||||
"" # override upstream default with an empty ExecStart
|
"" # override upstream default with an empty ExecStart
|
||||||
(gettyCmd "%I ${speeds} $TERM")
|
(gettyCmd "%I ${speeds} $TERM")
|
||||||
@ -106,8 +110,8 @@ in
|
|||||||
{ # Friendly greeting on the virtual consoles.
|
{ # Friendly greeting on the virtual consoles.
|
||||||
source = pkgs.writeText "issue" ''
|
source = pkgs.writeText "issue" ''
|
||||||
|
|
||||||
[1;32m${config.services.mingetty.greetingLine}[0m
|
[1;32m${config.services.getty.greetingLine}[0m
|
||||||
${config.services.mingetty.helpLine}
|
${config.services.getty.helpLine}
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
@ -10,6 +10,10 @@
|
|||||||
<link linkend="opt-services.nextcloud.enable">services.nextcloud</link>. A
|
<link linkend="opt-services.nextcloud.enable">services.nextcloud</link>. A
|
||||||
desktop client is packaged at <literal>pkgs.nextcloud-client</literal>.
|
desktop client is packaged at <literal>pkgs.nextcloud-client</literal>.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
The current default by NixOS is <package>nextcloud20</package> which is also the latest
|
||||||
|
major version available.
|
||||||
|
</para>
|
||||||
<section xml:id="module-services-nextcloud-basic-usage">
|
<section xml:id="module-services-nextcloud-basic-usage">
|
||||||
<title>Basic usage</title>
|
<title>Basic usage</title>
|
||||||
|
|
||||||
@ -210,7 +214,7 @@
|
|||||||
nextcloud17 = generic {
|
nextcloud17 = generic {
|
||||||
version = "17.0.x";
|
version = "17.0.x";
|
||||||
sha256 = "0000000000000000000000000000000000000000000000000000";
|
sha256 = "0000000000000000000000000000000000000000000000000000";
|
||||||
insecure = true;
|
eol = true;
|
||||||
};
|
};
|
||||||
}</programlisting>
|
}</programlisting>
|
||||||
</para>
|
</para>
|
||||||
|
@ -27,6 +27,33 @@ let
|
|||||||
) cfg.virtualHosts;
|
) cfg.virtualHosts;
|
||||||
enableIPv6 = config.networking.enableIPv6;
|
enableIPv6 = config.networking.enableIPv6;
|
||||||
|
|
||||||
|
defaultFastcgiParams = {
|
||||||
|
SCRIPT_FILENAME = "$document_root$fastcgi_script_name";
|
||||||
|
QUERY_STRING = "$query_string";
|
||||||
|
REQUEST_METHOD = "$request_method";
|
||||||
|
CONTENT_TYPE = "$content_type";
|
||||||
|
CONTENT_LENGTH = "$content_length";
|
||||||
|
|
||||||
|
SCRIPT_NAME = "$fastcgi_script_name";
|
||||||
|
REQUEST_URI = "$request_uri";
|
||||||
|
DOCUMENT_URI = "$document_uri";
|
||||||
|
DOCUMENT_ROOT = "$document_root";
|
||||||
|
SERVER_PROTOCOL = "$server_protocol";
|
||||||
|
REQUEST_SCHEME = "$scheme";
|
||||||
|
HTTPS = "$https if_not_empty";
|
||||||
|
|
||||||
|
GATEWAY_INTERFACE = "CGI/1.1";
|
||||||
|
SERVER_SOFTWARE = "nginx/$nginx_version";
|
||||||
|
|
||||||
|
REMOTE_ADDR = "$remote_addr";
|
||||||
|
REMOTE_PORT = "$remote_port";
|
||||||
|
SERVER_ADDR = "$server_addr";
|
||||||
|
SERVER_PORT = "$server_port";
|
||||||
|
SERVER_NAME = "$server_name";
|
||||||
|
|
||||||
|
REDIRECT_STATUS = "200";
|
||||||
|
};
|
||||||
|
|
||||||
recommendedProxyConfig = pkgs.writeText "nginx-recommended-proxy-headers.conf" ''
|
recommendedProxyConfig = pkgs.writeText "nginx-recommended-proxy-headers.conf" ''
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
@ -179,6 +206,12 @@ let
|
|||||||
${cfg.httpConfig}
|
${cfg.httpConfig}
|
||||||
}''}
|
}''}
|
||||||
|
|
||||||
|
${optionalString (cfg.streamConfig != "") ''
|
||||||
|
stream {
|
||||||
|
${cfg.streamConfig}
|
||||||
|
}
|
||||||
|
''}
|
||||||
|
|
||||||
${cfg.appendConfig}
|
${cfg.appendConfig}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -283,6 +316,10 @@ let
|
|||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection $connection_upgrade;
|
proxy_set_header Connection $connection_upgrade;
|
||||||
''}
|
''}
|
||||||
|
${concatStringsSep "\n"
|
||||||
|
(mapAttrsToList (n: v: ''fastcgi_param ${n} "${v}";'')
|
||||||
|
(optionalAttrs (config.fastcgiParams != {})
|
||||||
|
(defaultFastcgiParams // config.fastcgiParams)))}
|
||||||
${optionalString (config.index != null) "index ${config.index};"}
|
${optionalString (config.index != null) "index ${config.index};"}
|
||||||
${optionalString (config.tryFiles != null) "try_files ${config.tryFiles};"}
|
${optionalString (config.tryFiles != null) "try_files ${config.tryFiles};"}
|
||||||
${optionalString (config.root != null) "root ${config.root};"}
|
${optionalString (config.root != null) "root ${config.root};"}
|
||||||
@ -452,6 +489,21 @@ in
|
|||||||
";
|
";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
streamConfig = mkOption {
|
||||||
|
type = types.lines;
|
||||||
|
default = "";
|
||||||
|
example = ''
|
||||||
|
server {
|
||||||
|
listen 127.0.0.1:53 udp reuseport;
|
||||||
|
proxy_timeout 20s;
|
||||||
|
proxy_pass 192.168.0.1:53535;
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
description = "
|
||||||
|
Configuration lines to be set inside the stream block.
|
||||||
|
";
|
||||||
|
};
|
||||||
|
|
||||||
eventsConfig = mkOption {
|
eventsConfig = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
default = "";
|
default = "";
|
||||||
|
@ -101,6 +101,16 @@ with lib;
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fastcgiParams = mkOption {
|
||||||
|
type = types.attrsOf types.str;
|
||||||
|
default = {};
|
||||||
|
description = ''
|
||||||
|
FastCGI parameters to override. Unlike in the Nginx
|
||||||
|
configuration file, overriding only some default parameters
|
||||||
|
won't unset the default values for other parameters.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
extraConfig = mkOption {
|
extraConfig = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
default = "";
|
default = "";
|
||||||
|
@ -11,7 +11,7 @@ with lib;
|
|||||||
users.users.root.initialHashedPassword = mkOverride 150 "";
|
users.users.root.initialHashedPassword = mkOverride 150 "";
|
||||||
|
|
||||||
# Some more help text.
|
# Some more help text.
|
||||||
services.mingetty.helpLine =
|
services.getty.helpLine =
|
||||||
''
|
''
|
||||||
|
|
||||||
Log in as "root" with an empty password.
|
Log in as "root" with an empty password.
|
||||||
|
@ -247,5 +247,12 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
|||||||
).strip()
|
).strip()
|
||||||
== "${if pkgs.system == "aarch64-linux" then "amd64" else "arm64"}"
|
== "${if pkgs.system == "aarch64-linux" then "amd64" else "arm64"}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
with subtest("buildLayeredImage doesn't dereference /nix/store symlink layers"):
|
||||||
|
docker.succeed(
|
||||||
|
"docker load --input='${examples.layeredStoreSymlink}'",
|
||||||
|
"docker run --rm ${examples.layeredStoreSymlink.imageName} bash -c 'test -L ${examples.layeredStoreSymlink.passthru.symlink}'",
|
||||||
|
"docker rmi ${examples.layeredStoreSymlink.imageName}",
|
||||||
|
)
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
@ -4,8 +4,11 @@ import ./make-test-python.nix {
|
|||||||
machine = { pkgs, ... }: {
|
machine = { pkgs, ... }: {
|
||||||
imports = [ common/user-account.nix ];
|
imports = [ common/user-account.nix ];
|
||||||
services.postfix.enable = true;
|
services.postfix.enable = true;
|
||||||
services.dovecot2.enable = true;
|
services.dovecot2 = {
|
||||||
services.dovecot2.protocols = [ "imap" "pop3" ];
|
enable = true;
|
||||||
|
protocols = [ "imap" "pop3" ];
|
||||||
|
modules = [ pkgs.dovecot_pigeonhole ];
|
||||||
|
};
|
||||||
environment.systemPackages = let
|
environment.systemPackages = let
|
||||||
sendTestMail = pkgs.writeScriptBin "send-testmail" ''
|
sendTestMail = pkgs.writeScriptBin "send-testmail" ''
|
||||||
#!${pkgs.runtimeShell}
|
#!${pkgs.runtimeShell}
|
||||||
|
@ -50,7 +50,7 @@ import ./make-test-python.nix ({ pkgs, latestKernel ? false, ... }:
|
|||||||
with subtest("Virtual console logout"):
|
with subtest("Virtual console logout"):
|
||||||
machine.send_chars("exit\n")
|
machine.send_chars("exit\n")
|
||||||
machine.wait_until_fails("pgrep -u alice bash")
|
machine.wait_until_fails("pgrep -u alice bash")
|
||||||
machine.screenshot("mingetty")
|
machine.screenshot("getty")
|
||||||
|
|
||||||
with subtest("Check whether ctrl-alt-delete works"):
|
with subtest("Check whether ctrl-alt-delete works"):
|
||||||
machine.send_key("ctrl-alt-delete")
|
machine.send_key("ctrl-alt-delete")
|
||||||
|
@ -1,11 +1,19 @@
|
|||||||
|
{ system ? builtins.currentSystem,
|
||||||
|
config ? {},
|
||||||
|
pkgs ? import ../.. { inherit system config; }
|
||||||
|
}:
|
||||||
|
|
||||||
|
with import ../lib/testing-python.nix { inherit system pkgs; };
|
||||||
|
|
||||||
let
|
let
|
||||||
|
lib = pkgs.lib;
|
||||||
|
|
||||||
# Makes a test for a PostgreSQL package, given by name and looked up from `pkgs`.
|
# Makes a test for a PostgreSQL package, given by name and looked up from `pkgs`.
|
||||||
makePostgresqlWalReceiverTest = postgresqlPackage:
|
makePostgresqlWalReceiverTest = postgresqlPackage:
|
||||||
{
|
{
|
||||||
name = postgresqlPackage;
|
name = postgresqlPackage;
|
||||||
value =
|
value =
|
||||||
import ./make-test-python.nix ({ pkgs, lib, ... }: let
|
let
|
||||||
|
|
||||||
pkg = pkgs."${postgresqlPackage}";
|
pkg = pkgs."${postgresqlPackage}";
|
||||||
postgresqlDataDir = "/var/lib/postgresql/${pkg.psqlSchema}";
|
postgresqlDataDir = "/var/lib/postgresql/${pkg.psqlSchema}";
|
||||||
replicationUser = "wal_receiver_user";
|
replicationUser = "wal_receiver_user";
|
||||||
@ -19,7 +27,7 @@ let
|
|||||||
then pkgs.writeTextDir "recovery.signal" ""
|
then pkgs.writeTextDir "recovery.signal" ""
|
||||||
else pkgs.writeTextDir "recovery.conf" "restore_command = 'cp ${walBackupDir}/%f %p'";
|
else pkgs.writeTextDir "recovery.conf" "restore_command = 'cp ${walBackupDir}/%f %p'";
|
||||||
|
|
||||||
in {
|
in makeTest {
|
||||||
name = "postgresql-wal-receiver-${postgresqlPackage}";
|
name = "postgresql-wal-receiver-${postgresqlPackage}";
|
||||||
meta.maintainers = with lib.maintainers; [ pacien ];
|
meta.maintainers = with lib.maintainers; [ pacien ];
|
||||||
|
|
||||||
@ -104,7 +112,7 @@ let
|
|||||||
"test $(sudo -u postgres psql --pset='pager=off' --tuples-only --command='select count(distinct val) from dummy;') -eq 100"
|
"test $(sudo -u postgres psql --pset='pager=off' --tuples-only --command='select count(distinct val) from dummy;') -eq 100"
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
});
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Maps the generic function over all attributes of PostgreSQL packages
|
# Maps the generic function over all attributes of PostgreSQL packages
|
||||||
|
@ -17,7 +17,7 @@ rec {
|
|||||||
environment.systemPackages = with pkgs; [ netcat ];
|
environment.systemPackages = with pkgs; [ netcat ];
|
||||||
services.tor.enable = true;
|
services.tor.enable = true;
|
||||||
services.tor.client.enable = true;
|
services.tor.client.enable = true;
|
||||||
services.tor.controlPort = 9051;
|
services.tor.settings.ControlPort = 9051;
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
, alsaLib
|
, alsaLib
|
||||||
, audiofile
|
, audiofile
|
||||||
, libjack2
|
, libjack2
|
||||||
@ -9,9 +10,14 @@
|
|||||||
, libsndfile
|
, libsndfile
|
||||||
, lilv
|
, lilv
|
||||||
, lv2
|
, lv2
|
||||||
|
, ncurses
|
||||||
|
, readline
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# TODO: fix readline, ncurses, lilv, liblo, liboil and python. See configure log.
|
# TODO: fix python. See configure log.
|
||||||
|
# fix -Dnullptr=0 cludge below.
|
||||||
|
# The error is
|
||||||
|
# /nix/store/*-lilv-0.24.10/include/lilv-0/lilv/lilvmm.hpp:272:53: error: 'nullptr' was not declared in this scope
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ecasound";
|
pname = "ecasound";
|
||||||
@ -22,7 +28,34 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1m7njfjdb7sqf0lhgc4swihgdr4snkg8v02wcly08wb5ar2fr2s6";
|
sha256 = "1m7njfjdb7sqf0lhgc4swihgdr4snkg8v02wcly08wb5ar2fr2s6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ alsaLib audiofile libjack2 liblo liboil libsamplerate libsndfile lilv lv2 ];
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
alsaLib
|
||||||
|
audiofile
|
||||||
|
libjack2
|
||||||
|
liblo
|
||||||
|
liboil
|
||||||
|
libsamplerate
|
||||||
|
libsndfile
|
||||||
|
lilv
|
||||||
|
lv2
|
||||||
|
ncurses
|
||||||
|
readline
|
||||||
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
configureFlags = "--enable-liblilv --with-extra-cppflags=-Dnullptr=0";
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i -e '
|
||||||
|
s@^#include <readline.h>@#include <readline/readline.h>@
|
||||||
|
s@^#include <history.h>@#include <readline/history.h>@
|
||||||
|
' ecasound/eca-curses.cpp
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Software package designed for multitrack audio processing";
|
description = "Software package designed for multitrack audio processing";
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, mopidy
|
, mopidy
|
||||||
, python3Packages
|
, python3Packages
|
||||||
|
, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
@ -21,6 +22,14 @@ python3Packages.buildPythonApplication rec {
|
|||||||
python3Packages.pytestCheckHook
|
python3Packages.pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix tests for Mopidy≥3.1.0. Remove with the next release.
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/mopidy/mopidy-local/commit/f1d7598d3a9587f0823acb97ecb615f4f4817fd2.patch";
|
||||||
|
sha256 = "193kd5zwsr0qpp2y8icdy13vqpglmjdm7x1rw5hliwyq18a34vjp";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/mopidy/mopidy-local";
|
homepage = "https://github.com/mopidy/mopidy-local";
|
||||||
description = "Mopidy extension for playing music from your local music archive";
|
description = "Mopidy extension for playing music from your local music archive";
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
pname = "mopidy";
|
pname = "mopidy";
|
||||||
version = "3.0.2";
|
version = "3.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mopidy";
|
owner = "mopidy";
|
||||||
repo = "mopidy";
|
repo = "mopidy";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1n9lpgq0p112cjgsrc1cd6mnffk56y36g2c5skk9cqzw27qrkd15";
|
sha256 = "14m80z9spi2vhfs2bbff7ky80mr6bksl4550y17hwd7zpkid60za";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapGAppsHook ];
|
nativeBuildInputs = [ wrapGAppsHook ];
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
pname = "mopidy-soundcloud";
|
pname = "mopidy-soundcloud";
|
||||||
version = "2.1.0";
|
version = "3.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mopidy";
|
owner = "mopidy";
|
||||||
repo = "mopidy-soundcloud";
|
repo = "mopidy-soundcloud";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "131qdm9i0j3ayff0js11qcmbjv50ws5s6iiqr6x5b66ymjl4scfv";
|
sha256 = "18wiiv4rca9vibvnc27f3q4apf8n61kbp7mdbm2pmz86qwmd47pa";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ mopidy ];
|
propagatedBuildInputs = [ mopidy ];
|
||||||
|
@ -29,7 +29,7 @@ stdenv.mkDerivation {
|
|||||||
description = "Lossless mp3 normalizer with statistical analysis";
|
description = "Lossless mp3 normalizer with statistical analysis";
|
||||||
homepage = "http://mp3gain.sourceforge.net/";
|
homepage = "http://mp3gain.sourceforge.net/";
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ devhell ];
|
maintainers = with maintainers; [ devhell ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -12,13 +12,13 @@ let
|
|||||||
;
|
;
|
||||||
in pythonPackages.buildPythonApplication rec {
|
in pythonPackages.buildPythonApplication rec {
|
||||||
pname = "picard";
|
pname = "picard";
|
||||||
version = "2.5.5";
|
version = "2.5.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "metabrainz";
|
owner = "metabrainz";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "release-${version}";
|
rev = "release-${version}";
|
||||||
sha256 = "0i97cfnfgg4g13ms8x3bq279s4r7jckxxrv3sdz7dxpcn6gkw35s";
|
sha256 = "1mkbg44bm642mlpfxsdlw947var6a3sf9m6c897b4n0742hsdkbc";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ]
|
nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ]
|
||||||
|
@ -1,27 +1,34 @@
|
|||||||
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, python3, libxcb, AppKit, Security }:
|
{ stdenv, fetchFromGitHub, rustPlatform, installShellFiles, pkgconfig, openssl, python3, libxcb, AppKit, Security }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "spotify-tui";
|
pname = "spotify-tui";
|
||||||
version = "0.22.0";
|
version = "0.23.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Rigellute";
|
owner = "Rigellute";
|
||||||
repo = "spotify-tui";
|
repo = "spotify-tui";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0w1y37qh9n3936d59hvqzjz2878x2nwxqxc4s7mp4f9xqcfl0c5r";
|
sha256 = "082y5m2vglzx9kdc2088zynz0njcnljnb0y170igmlsxq9wkrgg2";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1ri054p08si95x1gh2bkh4fk50ja79c5izzjnkvs0yhfj1wzbghi";
|
cargoSha256 = "100c7x603qyhav3p24clwfal4ngh0258x9lqsi84kcj4wq2f3i8f";
|
||||||
|
|
||||||
nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ pkgconfig python3 ];
|
nativeBuildInputs = [ installShellFiles ] ++ stdenv.lib.optionals stdenv.isLinux [ pkgconfig python3 ];
|
||||||
buildInputs = [ ]
|
buildInputs = [ ]
|
||||||
++ stdenv.lib.optionals stdenv.isLinux [ openssl libxcb ]
|
++ stdenv.lib.optionals stdenv.isLinux [ openssl libxcb ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ];
|
++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
for shell in bash fish zsh; do
|
||||||
|
$out/bin/spt --completions $shell > spt.$shell
|
||||||
|
installShellCompletion spt.$shell
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Spotify for the terminal written in Rust";
|
description = "Spotify for the terminal written in Rust";
|
||||||
homepage = "https://github.com/Rigellute/spotify-tui";
|
homepage = "https://github.com/Rigellute/spotify-tui";
|
||||||
changelog = "https://github.com/Rigellute/spotify-tui/releases/tag/v${version}";
|
changelog = "https://github.com/Rigellute/spotify-tui/blob/v${version}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ jwijenbergh ];
|
maintainers = with maintainers; [ jwijenbergh ];
|
||||||
};
|
};
|
||||||
|
@ -35,13 +35,13 @@
|
|||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "strawberry";
|
pname = "strawberry";
|
||||||
version = "0.8.4";
|
version = "0.8.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jonaski";
|
owner = "jonaski";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "145djlfvbkx2b1wqipk51mz82dhm27vmh9x00lkn24q1xz1y6h5n";
|
sha256 = "sha256-+ZQ80J94Teqt4Gy6fw/pS7FwILK/TPehtJDy72Bdy1E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ lib, python3Packages, gobject-introspection, gtk3, pango, wrapGAppsHook
|
{ lib, python3Packages, gobject-introspection, gtk3, pango, wrapGAppsHook
|
||||||
|
|
||||||
, chromecastSupport ? false
|
, chromecastSupport ? false
|
||||||
, serverSupport ? false
|
, serverSupport ? false
|
||||||
, keyringSupport ? true
|
, keyringSupport ? true
|
||||||
@ -51,6 +50,10 @@ python3Packages.buildPythonApplication rec {
|
|||||||
# https://github.com/NixOS/nixpkgs/issues/56943
|
# https://github.com/NixOS/nixpkgs/issues/56943
|
||||||
strictDeps = false;
|
strictDeps = false;
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "sublime" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "GTK3 Subsonic/Airsonic client";
|
description = "GTK3 Subsonic/Airsonic client";
|
||||||
homepage = "https://sublimemusic.app/";
|
homepage = "https://sublimemusic.app/";
|
||||||
|
@ -13,11 +13,11 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "SunVox";
|
pname = "SunVox";
|
||||||
version = "1.9.5d";
|
version = "1.9.6c";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.warmplace.ru/soft/sunvox/sunvox-${version}.zip";
|
url = "http://www.warmplace.ru/soft/sunvox/sunvox-${version}.zip";
|
||||||
sha256 = "04f7psm0lvc09nw7d2wp0sncf37bym2v7hhxp4v8c8gdgayj7k8m";
|
sha256 = "0lqzr68n2c6aifw2vbyars91wn1chmgb9xfdk463g4vjqiava3ih";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip ];
|
buildInputs = [ unzip ];
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "ghostwriter";
|
pname = "ghostwriter";
|
||||||
version = "1.8.1";
|
version = "2.0.0-rc3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wereturtle";
|
owner = "wereturtle";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = version;
|
||||||
sha256 = "0jc6szfh5sdnafhwsr1xv7cn1fznniq58bix41hb9wlbkvq7wzi6";
|
sha256 = "sha256-Ag97iE++f3nG2zlwqn0qxSL9RpF8O3XWH9NtQ5kFuWg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake pkgconfig qttools ];
|
nativeBuildInputs = [ qmake pkgconfig qttools ];
|
||||||
@ -20,6 +20,7 @@ mkDerivation rec {
|
|||||||
homepage = src.meta.homepage;
|
homepage = src.meta.homepage;
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
maintainers = with maintainers; [ dotlambda erictapen ];
|
||||||
|
broken = stdenv.isDarwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -269,12 +269,12 @@ in
|
|||||||
|
|
||||||
clion = buildClion rec {
|
clion = buildClion rec {
|
||||||
name = "clion-${version}";
|
name = "clion-${version}";
|
||||||
version = "2020.3"; /* updated by script */
|
version = "2020.3.1"; /* updated by script */
|
||||||
description = "C/C++ IDE. New. Intelligent. Cross-platform";
|
description = "C/C++ IDE. New. Intelligent. Cross-platform";
|
||||||
license = stdenv.lib.licenses.unfree;
|
license = stdenv.lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/cpp/CLion-${version}.tar.gz";
|
url = "https://download.jetbrains.com/cpp/CLion-${version}.tar.gz";
|
||||||
sha256 = "0kqja2c5pz0f9idc52mv7iy2pqq2kfcx4q4x1ywfn3gq3d8n5j7z"; /* updated by script */
|
sha256 = "1jfvwir79s0kcqmlx6bbkmc42bplgl7814mnqfcsdzni1qv62pws"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-clion";
|
wmClass = "jetbrains-clion";
|
||||||
update-channel = "CLion RELEASE"; # channel's id as in http://www.jetbrains.com/updates/updates.xml
|
update-channel = "CLion RELEASE"; # channel's id as in http://www.jetbrains.com/updates/updates.xml
|
||||||
@ -282,12 +282,12 @@ in
|
|||||||
|
|
||||||
datagrip = buildDataGrip rec {
|
datagrip = buildDataGrip rec {
|
||||||
name = "datagrip-${version}";
|
name = "datagrip-${version}";
|
||||||
version = "2020.3"; /* updated by script */
|
version = "2020.3.1"; /* updated by script */
|
||||||
description = "Your Swiss Army Knife for Databases and SQL";
|
description = "Your Swiss Army Knife for Databases and SQL";
|
||||||
license = stdenv.lib.licenses.unfree;
|
license = stdenv.lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/datagrip/${name}.tar.gz";
|
url = "https://download.jetbrains.com/datagrip/${name}.tar.gz";
|
||||||
sha256 = "1j0mlsiqh80mspi2x9mi0h5hxhg5gw6395hyl9w33q8dxm95mx2d"; /* updated by script */
|
sha256 = "0jk7ywxk983ld5x71a59dh1hvlnli3sbvg7fbicahas5ml8clxfv"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-datagrip";
|
wmClass = "jetbrains-datagrip";
|
||||||
update-channel = "DataGrip RELEASE";
|
update-channel = "DataGrip RELEASE";
|
||||||
@ -295,12 +295,12 @@ in
|
|||||||
|
|
||||||
goland = buildGoland rec {
|
goland = buildGoland rec {
|
||||||
name = "goland-${version}";
|
name = "goland-${version}";
|
||||||
version = "2020.3"; /* updated by script */
|
version = "2020.3.1"; /* updated by script */
|
||||||
description = "Up and Coming Go IDE";
|
description = "Up and Coming Go IDE";
|
||||||
license = stdenv.lib.licenses.unfree;
|
license = stdenv.lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/go/${name}.tar.gz";
|
url = "https://download.jetbrains.com/go/${name}.tar.gz";
|
||||||
sha256 = "0hj1xm3c71y2z1jyv7j3xf2lcj2y0kyvsxd3jjyyhs31w1f3394j"; /* updated by script */
|
sha256 = "12gi1a2bmafmy7qgqwv3a7b5b46dlhw4ahmkm5pkq6pmxl4y6dmk"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-goland";
|
wmClass = "jetbrains-goland";
|
||||||
update-channel = "GoLand RELEASE";
|
update-channel = "GoLand RELEASE";
|
||||||
@ -308,12 +308,12 @@ in
|
|||||||
|
|
||||||
idea-community = buildIdea rec {
|
idea-community = buildIdea rec {
|
||||||
name = "idea-community-${version}";
|
name = "idea-community-${version}";
|
||||||
version = "2020.3"; /* updated by script */
|
version = "2020.3.1"; /* updated by script */
|
||||||
description = "Integrated Development Environment (IDE) by Jetbrains, community edition";
|
description = "Integrated Development Environment (IDE) by Jetbrains, community edition";
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.asl20;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz";
|
url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz";
|
||||||
sha256 = "0x1nsjw1m03iq7sd9i2qqlyribrzgi8yh6k5hnb630kvrxr8pxy6"; /* updated by script */
|
sha256 = "0am4h8w1dmjl08iphqy78ivb91vkrvskg95dgm24zcj0n8rwmaq6"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-idea-ce";
|
wmClass = "jetbrains-idea-ce";
|
||||||
update-channel = "IntelliJ IDEA RELEASE";
|
update-channel = "IntelliJ IDEA RELEASE";
|
||||||
@ -321,12 +321,12 @@ in
|
|||||||
|
|
||||||
idea-ultimate = buildIdea rec {
|
idea-ultimate = buildIdea rec {
|
||||||
name = "idea-ultimate-${version}";
|
name = "idea-ultimate-${version}";
|
||||||
version = "2020.3"; /* updated by script */
|
version = "2020.3.1"; /* updated by script */
|
||||||
description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license";
|
description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license";
|
||||||
license = stdenv.lib.licenses.unfree;
|
license = stdenv.lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz";
|
url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz";
|
||||||
sha256 = "1l6bvfgzp27113rjy1y3jvp09cqx8gpnbgpwp83vsph7x0dhx8a3"; /* updated by script */
|
sha256 = "1kwz0aq4b664awppakj4syppk218nynwxv4ngc7pa3k9v4g2sdah"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-idea";
|
wmClass = "jetbrains-idea";
|
||||||
update-channel = "IntelliJ IDEA RELEASE";
|
update-channel = "IntelliJ IDEA RELEASE";
|
||||||
@ -347,12 +347,12 @@ in
|
|||||||
|
|
||||||
phpstorm = buildPhpStorm rec {
|
phpstorm = buildPhpStorm rec {
|
||||||
name = "phpstorm-${version}";
|
name = "phpstorm-${version}";
|
||||||
version = "2020.3"; /* updated by script */
|
version = "2020.3.1"; /* updated by script */
|
||||||
description = "Professional IDE for Web and PHP developers";
|
description = "Professional IDE for Web and PHP developers";
|
||||||
license = stdenv.lib.licenses.unfree;
|
license = stdenv.lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz";
|
url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz";
|
||||||
sha256 = "1d5rx7p7lvjzgp57n980f2bfrj14p1f4hxmyvx5pzzd86q7hrcbq"; /* updated by script */
|
sha256 = "1c5j3mbg8scsl4c90cjahdk5gs5q72y5a8fhkqa9zmy6di42k99x"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-phpstorm";
|
wmClass = "jetbrains-phpstorm";
|
||||||
update-channel = "PhpStorm RELEASE";
|
update-channel = "PhpStorm RELEASE";
|
||||||
@ -360,12 +360,12 @@ in
|
|||||||
|
|
||||||
pycharm-community = buildPycharm rec {
|
pycharm-community = buildPycharm rec {
|
||||||
name = "pycharm-community-${version}";
|
name = "pycharm-community-${version}";
|
||||||
version = "2020.3"; /* updated by script */
|
version = "2020.3.2"; /* updated by script */
|
||||||
description = "PyCharm Community Edition";
|
description = "PyCharm Community Edition";
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.asl20;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/python/${name}.tar.gz";
|
url = "https://download.jetbrains.com/python/${name}.tar.gz";
|
||||||
sha256 = "1c2izsqx27g4jy46iskx5zg00pd8jaf9x1p0vya4l2v5r49dk4jb"; /* updated by script */
|
sha256 = "1z3w6aah635fdrhrzp5af6sgj269jk7mv8vgdd83gxillkx9vq9k"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-pycharm-ce";
|
wmClass = "jetbrains-pycharm-ce";
|
||||||
update-channel = "PyCharm RELEASE";
|
update-channel = "PyCharm RELEASE";
|
||||||
@ -373,12 +373,12 @@ in
|
|||||||
|
|
||||||
pycharm-professional = buildPycharm rec {
|
pycharm-professional = buildPycharm rec {
|
||||||
name = "pycharm-professional-${version}";
|
name = "pycharm-professional-${version}";
|
||||||
version = "2020.3"; /* updated by script */
|
version = "2020.3.2"; /* updated by script */
|
||||||
description = "PyCharm Professional Edition";
|
description = "PyCharm Professional Edition";
|
||||||
license = stdenv.lib.licenses.unfree;
|
license = stdenv.lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/python/${name}.tar.gz";
|
url = "https://download.jetbrains.com/python/${name}.tar.gz";
|
||||||
sha256 = "1kzgy90zcligwa9r6r11kx99z0zm93mrzy700y2jwslyzapd16d0"; /* updated by script */
|
sha256 = "1fbb8v40q7vgn5v5dyxb211abr8swnxa3gw18kh3vlk6yc2crzfw"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-pycharm";
|
wmClass = "jetbrains-pycharm";
|
||||||
update-channel = "PyCharm RELEASE";
|
update-channel = "PyCharm RELEASE";
|
||||||
@ -386,12 +386,12 @@ in
|
|||||||
|
|
||||||
rider = buildRider rec {
|
rider = buildRider rec {
|
||||||
name = "rider-${version}";
|
name = "rider-${version}";
|
||||||
version = "2020.2.4"; /* updated by script */
|
version = "2020.3.2"; /* updated by script */
|
||||||
description = "A cross-platform .NET IDE based on the IntelliJ platform and ReSharper";
|
description = "A cross-platform .NET IDE based on the IntelliJ platform and ReSharper";
|
||||||
license = stdenv.lib.licenses.unfree;
|
license = stdenv.lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/rider/JetBrains.Rider-${version}.tar.gz";
|
url = "https://download.jetbrains.com/rider/JetBrains.Rider-${version}.tar.gz";
|
||||||
sha256 = "1anl48ifv5ayqn876dqckxc1b5fw1271pvamzf1vvk501wv6dpaf"; /* updated by script */
|
sha256 = "1dkgbd2nqkjcswf7j3pnrsaq9n5wk42abz2c4wgkrh1zrpgihd0j"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-rider";
|
wmClass = "jetbrains-rider";
|
||||||
update-channel = "Rider RELEASE";
|
update-channel = "Rider RELEASE";
|
||||||
@ -399,12 +399,12 @@ in
|
|||||||
|
|
||||||
ruby-mine = buildRubyMine rec {
|
ruby-mine = buildRubyMine rec {
|
||||||
name = "ruby-mine-${version}";
|
name = "ruby-mine-${version}";
|
||||||
version = "2020.3"; /* updated by script */
|
version = "2020.3.1"; /* updated by script */
|
||||||
description = "The Most Intelligent Ruby and Rails IDE";
|
description = "The Most Intelligent Ruby and Rails IDE";
|
||||||
license = stdenv.lib.licenses.unfree;
|
license = stdenv.lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz";
|
url = "https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz";
|
||||||
sha256 = "0ij6j9bxfqzj8gnrhhdgai22s1n5swd4waxd5zjvmv7q9j9cb2l5"; /* updated by script */
|
sha256 = "0drxzz6k0cmhir4szg8nwmsi9qh380vrryghmpvx9w83yrcain4c"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-rubymine";
|
wmClass = "jetbrains-rubymine";
|
||||||
update-channel = "RubyMine RELEASE";
|
update-channel = "RubyMine RELEASE";
|
||||||
@ -412,12 +412,12 @@ in
|
|||||||
|
|
||||||
webstorm = buildWebStorm rec {
|
webstorm = buildWebStorm rec {
|
||||||
name = "webstorm-${version}";
|
name = "webstorm-${version}";
|
||||||
version = "2020.3"; /* updated by script */
|
version = "2020.3.1"; /* updated by script */
|
||||||
description = "Professional IDE for Web and JavaScript development";
|
description = "Professional IDE for Web and JavaScript development";
|
||||||
license = stdenv.lib.licenses.unfree;
|
license = stdenv.lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz";
|
url = "https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz";
|
||||||
sha256 = "0sk7slwfr9jasid09hxw81sik5srn35vif3pbzpybig3yszbv6ld"; /* updated by script */
|
sha256 = "1bfq3xwnfz6f04d0lq584q7pg775a8y35b1b62w81dbfh43l4fj0"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-webstorm";
|
wmClass = "jetbrains-webstorm";
|
||||||
update-channel = "WebStorm RELEASE";
|
update-channel = "WebStorm RELEASE";
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv
|
||||||
, lzip, ncurses
|
, fetchurl
|
||||||
|
, ncurses
|
||||||
|
, lzip
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
pname = "moe";
|
pname = "moe";
|
||||||
version = "1.10";
|
version = "1.11";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/moe/${pname}-${version}.tar.lz";
|
url = "mirror://gnu/moe/${pname}-${version}.tar.lz";
|
||||||
sha256 = "0fymywdiy9xqppcmvgs7mf7d3gfrky3jp5jkxs2l3v93asml9zcc";
|
sha256 = "sha256-DvvLz1pKjZZlQcbLCZugq2QWeANm286C2f+ZWoWl4vk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ lzip ];
|
nativeBuildInputs = [ lzip ];
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A small, 8-bit clean editor";
|
description = "A small, 8-bit clean editor";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
GNU moe is a powerful, 8-bit clean, console text editor for ISO-8859 and
|
GNU moe is a powerful, 8-bit clean, console text editor for ISO-8859 and
|
||||||
|
@ -4,13 +4,13 @@ with python3.pkgs;
|
|||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "thonny";
|
pname = "thonny";
|
||||||
version = "3.3.1";
|
version = "3.3.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0nk4kx6apmnd6fyd9zw77yprjzgjf7micvcws2i2sci0d9fff34c";
|
sha256 = "1pzy7v48x4ip8v6aqm8hl5ywx7xiqbsfypxxifih8gnlangp1n8y";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
@ -5,7 +5,7 @@ let
|
|||||||
|
|
||||||
plat = {
|
plat = {
|
||||||
x86_64-linux = "linux-x64";
|
x86_64-linux = "linux-x64";
|
||||||
x86_64-darwin = "darwin";
|
x86_64-darwin = "darwin-x64";
|
||||||
aarch64-linux = "linux-arm64";
|
aarch64-linux = "linux-arm64";
|
||||||
armv7l-linux = "linux-armhf";
|
armv7l-linux = "linux-armhf";
|
||||||
}.${system};
|
}.${system};
|
||||||
|
@ -116,6 +116,7 @@ mkDerivation rec {
|
|||||||
"-DENABLE_INTERNALMYSQL=1"
|
"-DENABLE_INTERNALMYSQL=1"
|
||||||
"-DENABLE_MEDIAPLAYER=1"
|
"-DENABLE_MEDIAPLAYER=1"
|
||||||
"-DENABLE_QWEBENGINE=on"
|
"-DENABLE_QWEBENGINE=on"
|
||||||
|
"-DENABLE_APPSTYLES=on"
|
||||||
];
|
];
|
||||||
|
|
||||||
dontWrapGApps = true;
|
dontWrapGApps = true;
|
||||||
|
@ -1,61 +1,102 @@
|
|||||||
{ asciidoc
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, asciidoc
|
||||||
, cmocka
|
, cmocka
|
||||||
, docbook_xsl
|
, docbook_xsl
|
||||||
, fetchFromGitHub
|
, libxslt
|
||||||
, fontconfig
|
, fontconfig
|
||||||
, freeimage
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkgconfig
|
||||||
, icu
|
, icu
|
||||||
|
, pango
|
||||||
|
, inih
|
||||||
|
, withWindowSystem ? "all"
|
||||||
|
, xorg
|
||||||
|
, libxkbcommon
|
||||||
, libGLU
|
, libGLU
|
||||||
, libheif
|
, wayland
|
||||||
|
, withBackends ? [ "freeimage" "libtiff" "libjpeg" "libpng" "librsvg" "libnsgif" "libheif" ]
|
||||||
|
, freeimage
|
||||||
|
, libtiff
|
||||||
, libjpeg_turbo
|
, libjpeg_turbo
|
||||||
, libpng
|
, libpng
|
||||||
, librsvg
|
, librsvg
|
||||||
, libtiff
|
|
||||||
, libxkbcommon
|
|
||||||
, libxslt
|
|
||||||
, netsurf
|
, netsurf
|
||||||
, pango
|
, libheif
|
||||||
, pkgconfig
|
|
||||||
, stdenv
|
|
||||||
, wayland
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
windowSystems = {
|
||||||
|
all = windowSystems.x11 ++ windowSystems.wayland;
|
||||||
|
x11 = [ libGLU xorg.libxcb xorg.libX11 ];
|
||||||
|
wayland = [ wayland ];
|
||||||
|
};
|
||||||
|
|
||||||
|
backends = {
|
||||||
|
inherit freeimage libtiff libpng librsvg libheif;
|
||||||
|
libjpeg = libjpeg_turbo;
|
||||||
|
inherit (netsurf) libnsgif;
|
||||||
|
};
|
||||||
|
|
||||||
|
backendFlags = builtins.map
|
||||||
|
(b: if builtins.elem b withBackends
|
||||||
|
then "-D${b}=enabled"
|
||||||
|
else "-D${b}=disabled")
|
||||||
|
(builtins.attrNames backends);
|
||||||
|
in
|
||||||
|
|
||||||
|
# check that given window system is valid
|
||||||
|
assert lib.assertOneOf "withWindowSystem" withWindowSystem
|
||||||
|
(builtins.attrNames windowSystems);
|
||||||
|
# check that every given backend is valid
|
||||||
|
assert builtins.all
|
||||||
|
(b: lib.assertOneOf "each backend" b (builtins.attrNames backends))
|
||||||
|
withBackends;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "imv";
|
pname = "imv";
|
||||||
version = "4.1.0";
|
version = "4.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "eXeC64";
|
owner = "eXeC64";
|
||||||
repo = "imv";
|
repo = "imv";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0gk8g178i961nn3bls75a8qpv6wvfvav6hd9lxca1skaikd33zdx";
|
sha256 = "07pcpppmfvvj0czfvp1cyq03ha0jdj4whl13lzvw37q3vpxs5qqh";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ asciidoc cmocka docbook_xsl libxslt ];
|
mesonFlags = [
|
||||||
|
"-Dwindows=${withWindowSystem}"
|
||||||
|
"-Dtest=enabled"
|
||||||
|
"-Dman=enabled"
|
||||||
|
] ++ backendFlags;
|
||||||
|
|
||||||
buildInputs = [
|
nativeBuildInputs = [
|
||||||
freeimage
|
asciidoc
|
||||||
icu
|
cmocka
|
||||||
libGLU
|
docbook_xsl
|
||||||
libjpeg_turbo
|
libxslt
|
||||||
librsvg
|
meson
|
||||||
libxkbcommon
|
ninja
|
||||||
netsurf.libnsgif
|
|
||||||
pango
|
|
||||||
pkgconfig
|
pkgconfig
|
||||||
wayland
|
|
||||||
];
|
];
|
||||||
|
|
||||||
installFlags = [ "PREFIX=$(out)" "CONFIGPREFIX=$(out)/etc" ];
|
buildInputs = [
|
||||||
|
icu
|
||||||
|
libxkbcommon
|
||||||
|
pango
|
||||||
|
inih
|
||||||
|
] ++ windowSystems."${withWindowSystem}"
|
||||||
|
++ builtins.map (b: backends."${b}") withBackends;
|
||||||
|
|
||||||
makeFlags = [ "BACKEND_LIBJPEG=yes" "BACKEND_LIBNSGIF=yes" ];
|
postFixup = lib.optionalString (withWindowSystem == "all") ''
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
# The `bin/imv` script assumes imv-wayland or imv-x11 in PATH,
|
# The `bin/imv` script assumes imv-wayland or imv-x11 in PATH,
|
||||||
# so we have to fix those to the binaries we installed into the /nix/store
|
# so we have to fix those to the binaries we installed into the /nix/store
|
||||||
|
|
||||||
sed -i "s|\bimv-wayland\b|$out/bin/imv-wayland|" $out/bin/imv
|
substituteInPlace "$out/bin/imv" \
|
||||||
sed -i "s|\bimv-x11\b|$out/bin/imv-x11|" $out/bin/imv
|
--replace "imv-wayland" "$out/bin/imv-wayland" \
|
||||||
|
--replace "imv-x11" "$out/bin/imv-x11"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
101
pkgs/applications/graphics/monado/default.nix
Normal file
101
pkgs/applications/graphics/monado/default.nix
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchFromGitLab
|
||||||
|
, fetchpatch
|
||||||
|
, cmake
|
||||||
|
, pkg-config
|
||||||
|
, python3
|
||||||
|
, SDL2
|
||||||
|
, dbus
|
||||||
|
, eigen
|
||||||
|
, ffmpeg
|
||||||
|
, glslang
|
||||||
|
, hidapi
|
||||||
|
, libGL
|
||||||
|
, libXau
|
||||||
|
, libXdmcp
|
||||||
|
, libXrandr
|
||||||
|
, libffi
|
||||||
|
# , librealsense
|
||||||
|
, libsurvive
|
||||||
|
, libusb1
|
||||||
|
, libuvc
|
||||||
|
, libv4l
|
||||||
|
, libxcb
|
||||||
|
, opencv4
|
||||||
|
, openhmd
|
||||||
|
, udev
|
||||||
|
, vulkan-headers
|
||||||
|
, vulkan-loader
|
||||||
|
, wayland
|
||||||
|
, wayland-protocols
|
||||||
|
, zlib
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "monado";
|
||||||
|
version = "0.4.1";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
domain = "gitlab.freedesktop.org";
|
||||||
|
owner = pname;
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "114aif79dqyn2qg07mkv6lzmqn15k6fdcii818rdf5g4bp7zzzgm";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# fix libsurvive autodetection, drop with the next version update
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.freedesktop.org/monado/monado/-/commit/345e9eab56e2de9e8b07cf72c2a67cf2ebd01e62.patch";
|
||||||
|
sha256 = "17c110an6sxc8rn7dfz30rfkbayg64w68licicwc8cqabi6cgrm3";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config python3 ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
SDL2
|
||||||
|
dbus
|
||||||
|
eigen
|
||||||
|
ffmpeg
|
||||||
|
glslang
|
||||||
|
hidapi
|
||||||
|
libGL
|
||||||
|
libXau
|
||||||
|
libXdmcp
|
||||||
|
libXrandr
|
||||||
|
libffi
|
||||||
|
# librealsense.dev - see below
|
||||||
|
libsurvive
|
||||||
|
libusb1
|
||||||
|
libuvc
|
||||||
|
libv4l
|
||||||
|
libxcb
|
||||||
|
opencv4
|
||||||
|
openhmd
|
||||||
|
udev
|
||||||
|
vulkan-headers
|
||||||
|
vulkan-loader
|
||||||
|
wayland
|
||||||
|
wayland-protocols
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
|
||||||
|
# realsense is disabled, the build ends with the following error:
|
||||||
|
#
|
||||||
|
# CMake Error in src/xrt/drivers/CMakeLists.txt:
|
||||||
|
# Imported target "realsense2::realsense2" includes non-existent path
|
||||||
|
# "/nix/store/2v95aps14hj3jy4ryp86vl7yymv10mh0-librealsense-2.41.0/include"
|
||||||
|
# in its INTERFACE_INCLUDE_DIRECTORIES.
|
||||||
|
#
|
||||||
|
# for some reason cmake is trying to use ${librealsense}/include
|
||||||
|
# instead of ${librealsense.dev}/include as an include directory
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Open source XR runtime";
|
||||||
|
homepage = "https://monado.freedesktop.org/";
|
||||||
|
license = licenses.boost;
|
||||||
|
maintainers = with maintainers; [ prusnak ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "1password";
|
pname = "1password";
|
||||||
version = "1.7.0";
|
version = "1.8.0";
|
||||||
src =
|
src =
|
||||||
if stdenv.isLinux then fetchzip {
|
if stdenv.isLinux then fetchzip {
|
||||||
url = {
|
url = {
|
||||||
@ -10,13 +10,13 @@ stdenv.mkDerivation rec {
|
|||||||
"x86_64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_amd64_v${version}.zip";
|
"x86_64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_amd64_v${version}.zip";
|
||||||
}.${stdenv.hostPlatform.system};
|
}.${stdenv.hostPlatform.system};
|
||||||
sha256 = {
|
sha256 = {
|
||||||
"i686-linux" = "0fvi9pfcm6pfy628q2lg62bkikrgsisynrk3kkjisb9ldcyjgabw";
|
"i686-linux" = "teoxscan+EZ76Q0sfKT6nt1w/LSsmDoiN2oh+NGO/4A=";
|
||||||
"x86_64-linux" = "1iskhls8g8w2zhk79gprz4vzrmm7r7fq87gwgd4xmj5md4nkzran";
|
"x86_64-linux" = "nRK2GSwhQe5OgcAdR1fg0vUp3fzEkhwU/teIwsEEemw=";
|
||||||
}.${stdenv.hostPlatform.system};
|
}.${stdenv.hostPlatform.system};
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
} else fetchurl {
|
} else fetchurl {
|
||||||
url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_darwin_amd64_v${version}.pkg";
|
url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_darwin_amd64_v${version}.pkg";
|
||||||
sha256 = "0x6s26zgjryzmcg9qxmv5s2vml06q96yqbapasjfxqc3l205lnnn";
|
sha256 = "0pycia75vdfh6gxfd2hr32cxrryfxydid804n0v76l2fpr9v9v3d";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ xar cpio ];
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ xar cpio ];
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "dasel";
|
pname = "dasel";
|
||||||
version = "1.12.0";
|
version = "1.12.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "TomWright";
|
owner = "TomWright";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "69igz0Q7pT0f6PsbZWHcwUiTKRTTzj7r5E6E5ExUoJo=";
|
sha256 = "/WB/SsOih0N5P4cUAD6zkCajplzZ/Jez0H80+CG08rc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "BdX4DO77mIf/+aBdkNVFUzClsIml1UMcgvikDbbdgcY=";
|
vendorSha256 = "BdX4DO77mIf/+aBdkNVFUzClsIml1UMcgvikDbbdgcY=";
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dbeaver-ce";
|
pname = "dbeaver-ce";
|
||||||
version = "7.3.1";
|
version = "7.3.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 = "sha256-4UVC5lBoGsW99L6AgM+1Rs07LCrvp2qVevBrooTbee4=";
|
sha256 = "sha256-4BVXcR8/E4uIrPQJe9KU9577j4XLTxJWTO8g0vCHWts=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -1,15 +1,14 @@
|
|||||||
{ stdenv, mkDerivation, fetchgit, cmake, file, qtbase, qttools, solid }:
|
{ stdenv, mkDerivation, fetchFromGitHub, cmake, file, qtbase, qttools, solid }:
|
||||||
|
|
||||||
let
|
|
||||||
version = "git-2016-01-10";
|
|
||||||
in
|
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "dfilemanager";
|
pname = "dfilemanager";
|
||||||
inherit version;
|
version = "git-2020-09-04";
|
||||||
src = fetchgit {
|
|
||||||
url = "git://git.code.sf.net/p/dfilemanager/code";
|
src = fetchFromGitHub {
|
||||||
rev = "2c5078b05e0ad74c037366be1ab3e6a03492bde4";
|
owner = "probonopd";
|
||||||
sha256 = "1qwhnlcc2j8sr1f3v63sxs3m7q7w1xy6c2jqsnznjgm23b5h3hxd";
|
repo = "dfilemanager";
|
||||||
|
rev = "c592d643d76942dc2c2ccb6e4bfdf53f5e805e48";
|
||||||
|
sha256 = "7hIgaWjjOck5i4QbeVeQK7yrjK4yDoAZ5qY9RhM5ABY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake qtbase qttools file solid ];
|
buildInputs = [ cmake qtbase qttools file solid ];
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, zlib, which, IOKit, qtbase, libusb-compat-0_1 }:
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, libusb1, qtbase, zlib, IOKit, which, expat }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gpsbabel";
|
pname = "gpsbabel";
|
||||||
version = "1.6.0";
|
version = "1.7.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gpsbabel";
|
owner = "gpsbabel";
|
||||||
repo = "gpsbabel";
|
repo = "gpsbabel";
|
||||||
rev = "gpsbabel_${lib.replaceStrings ["."] ["_"] version}";
|
rev = "gpsbabel_${lib.replaceStrings ["."] ["_"] version}";
|
||||||
sha256 = "0q17jhmaf7z5lld2ff7h6jb3v1yz8hbwd2rmaq2dsamc53dls8iw";
|
sha256 = "010g0vd2f5knpq5p7qfnl31kv3r8m5sjdsafcinbj5gh02j2nzpy";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -18,9 +18,11 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ zlib qtbase which libusb-compat-0_1 ]
|
buildInputs = [ libusb1 qtbase zlib ]
|
||||||
++ lib.optionals stdenv.isDarwin [ IOKit ];
|
++ lib.optionals stdenv.isDarwin [ IOKit ];
|
||||||
|
|
||||||
|
checkInputs = [ expat.dev which ]; # Avoid ./testo.d/kml.test: line 74: which: command not found. Skipping KML validation phase.
|
||||||
|
|
||||||
/* FIXME: Building the documentation, with "make doc", requires this:
|
/* FIXME: Building the documentation, with "make doc", requires this:
|
||||||
|
|
||||||
[ libxml2 libxslt perl docbook_xml_dtd_412 docbook_xsl fop ]
|
[ libxml2 libxslt perl docbook_xml_dtd_412 docbook_xsl fop ]
|
||||||
@ -41,6 +43,8 @@ stdenv.mkDerivation rec {
|
|||||||
patchShebangs testo
|
patchShebangs testo
|
||||||
substituteInPlace testo \
|
substituteInPlace testo \
|
||||||
--replace "-x /usr/bin/hexdump" ""
|
--replace "-x /usr/bin/hexdump" ""
|
||||||
|
|
||||||
|
rm -v testo.d/alantrl.test
|
||||||
''
|
''
|
||||||
# The raymarine and gtm tests fail on i686 despite -ffloat-store.
|
# The raymarine and gtm tests fail on i686 despite -ffloat-store.
|
||||||
+ lib.optionalString stdenv.isi686 "rm -v testo.d/raymarine.test testo.d/gtm.test;"
|
+ lib.optionalString stdenv.isi686 "rm -v testo.d/raymarine.test testo.d/gtm.test;"
|
||||||
|
@ -14,6 +14,7 @@ gem "jekyll-coffeescript"
|
|||||||
gem "jekyll-feed", "~> 0.9"
|
gem "jekyll-feed", "~> 0.9"
|
||||||
gem "jekyll-gist"
|
gem "jekyll-gist"
|
||||||
gem "jekyll-paginate"
|
gem "jekyll-paginate"
|
||||||
|
gem "jekyll-polyglot"
|
||||||
gem "jekyll-redirect-from"
|
gem "jekyll-redirect-from"
|
||||||
gem "kramdown-syntax-coderay"
|
gem "kramdown-syntax-coderay"
|
||||||
gem "mime-types", "~> 3.0"
|
gem "mime-types", "~> 3.0"
|
||||||
|
@ -64,6 +64,8 @@ GEM
|
|||||||
html-pipeline (~> 2.3)
|
html-pipeline (~> 2.3)
|
||||||
jekyll (>= 3.7, < 5.0)
|
jekyll (>= 3.7, < 5.0)
|
||||||
jekyll-paginate (1.1.0)
|
jekyll-paginate (1.1.0)
|
||||||
|
jekyll-polyglot (1.3.3)
|
||||||
|
jekyll (>= 3.0)
|
||||||
jekyll-redirect-from (0.16.0)
|
jekyll-redirect-from (0.16.0)
|
||||||
jekyll (>= 3.3, < 5.0)
|
jekyll (>= 3.3, < 5.0)
|
||||||
jekyll-sass-converter (2.1.0)
|
jekyll-sass-converter (2.1.0)
|
||||||
@ -140,6 +142,7 @@ DEPENDENCIES
|
|||||||
jekyll-gist
|
jekyll-gist
|
||||||
jekyll-mentions
|
jekyll-mentions
|
||||||
jekyll-paginate
|
jekyll-paginate
|
||||||
|
jekyll-polyglot
|
||||||
jekyll-redirect-from
|
jekyll-redirect-from
|
||||||
jekyll-seo-tag
|
jekyll-seo-tag
|
||||||
jekyll-sitemap
|
jekyll-sitemap
|
||||||
|
@ -297,6 +297,17 @@
|
|||||||
};
|
};
|
||||||
version = "1.1.0";
|
version = "1.1.0";
|
||||||
};
|
};
|
||||||
|
jekyll-polyglot = {
|
||||||
|
dependencies = ["jekyll"];
|
||||||
|
groups = ["default"];
|
||||||
|
platforms = [];
|
||||||
|
source = {
|
||||||
|
remotes = ["https://rubygems.org"];
|
||||||
|
sha256 = "4ad9140733250b65bc1ffab84650c588d036d23129e82f0349d31e56f1fe10a8";
|
||||||
|
type = "gem";
|
||||||
|
};
|
||||||
|
version = "1.3.3";
|
||||||
|
};
|
||||||
jekyll-redirect-from = {
|
jekyll-redirect-from = {
|
||||||
dependencies = ["jekyll"];
|
dependencies = ["jekyll"];
|
||||||
groups = ["default"];
|
groups = ["default"];
|
||||||
@ -723,4 +734,4 @@
|
|||||||
};
|
};
|
||||||
version = "2.4.2";
|
version = "2.4.2";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
{ stdenv, fetchurl, fetchsvn, makeWrapper, unzip, jre, libXxf86vm }:
|
{ stdenv, fetchurl, fetchsvn, makeWrapper, unzip, jre, libXxf86vm }:
|
||||||
let
|
let
|
||||||
pname = "josm";
|
pname = "josm";
|
||||||
version = "17329";
|
version = "17428";
|
||||||
srcs = {
|
srcs = {
|
||||||
jar = fetchurl {
|
jar = fetchurl {
|
||||||
url = "https://josm.openstreetmap.de/download/josm-snapshot-${version}.jar";
|
url = "https://josm.openstreetmap.de/download/josm-snapshot-${version}.jar";
|
||||||
sha256 = "0hra146akadqz9acj1xa2vzrmipfzf8li7sgsmk169xr991y653k";
|
sha256 = "0fhnq0836jp72br808hhw1ki70zc9wqcwfhnizb8pzjvs4wgx36w";
|
||||||
};
|
};
|
||||||
macosx = fetchurl {
|
macosx = fetchurl {
|
||||||
url = "https://josm.openstreetmap.de/download/macosx/josm-macosx-${version}.zip";
|
url = "https://josm.openstreetmap.de/download/macosx/josm-macosx-${version}.zip";
|
||||||
sha256 = "0i09jnfqbcirmic9vayrp78lnyk4mfh7ax3v3cs8kyqhk930pscf";
|
sha256 = "126yy6y7mkpqzkrkqkzzn3mwnl1yjkmd5k895k7mmk2inmcsvqgm";
|
||||||
};
|
};
|
||||||
pkg = fetchsvn {
|
pkg = fetchsvn {
|
||||||
url = "https://josm.openstreetmap.de/svn/trunk/native/linux/tested";
|
url = "https://josm.openstreetmap.de/svn/trunk/native/linux/tested";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0ybjca6dhnbwl3xqwrc91c444fzs1zrlnz7qr3l79s1vll9r4qd1";
|
sha256 = "198kq490y5wzxz0a5prb9anykq6dzg0imxfkchsas233inbzggql";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://repo.or.cz/w/llpp.git";
|
homepage = "https://repo.or.cz/w/llpp.git";
|
||||||
description = "A MuPDF based PDF pager written in OCaml";
|
description = "A MuPDF based PDF pager written in OCaml";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ pSub enzime ];
|
maintainers = with maintainers; [ pSub ];
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,25 @@
|
|||||||
{ stdenv, fetchFromGitHub, makeWrapper, qmake, pkgconfig, boost, gdal, proj
|
{ mkDerivation, lib, fetchFromGitHub, qmake, pkgconfig, fetchpatch
|
||||||
, qtbase, qtsvg, qtwebview, qtwebkit }:
|
, boost, gdal, proj, qtbase, qtsvg, qtwebview, qtwebkit }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "merkaartor";
|
pname = "merkaartor";
|
||||||
version = "unstable-2019-11-12";
|
version = "0.18.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "openstreetmap";
|
owner = "openstreetmap";
|
||||||
repo = "merkaartor";
|
repo = "merkaartor";
|
||||||
rev = "29b3388680a03f1daac0037a2b504ea710da879a";
|
rev = version;
|
||||||
sha256 = "0h3d3srzl06p2ajq911j05zr4vkl88qij18plydx45yqmvyvh0xz";
|
sha256 = "vwO4/a7YF9KbpxcFGTFCdG6SfwEyhISlEtcA+rMebUA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper qmake pkgconfig ];
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/openstreetmap/merkaartor/commit/e72553a7ea2c7ba0634cc3afcd27a9f7cfef089c.patch";
|
||||||
|
sha256 = "NAisplnS3xHSlRpX+fH15NpbaD+uM57OCsTYGKlIR7U=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ qmake pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ boost gdal proj qtbase qtsvg qtwebview qtwebkit ];
|
buildInputs = [ boost gdal proj qtbase qtsvg qtwebview qtwebkit ];
|
||||||
|
|
||||||
@ -20,12 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H";
|
NIX_CFLAGS_COMPILE = "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H";
|
||||||
|
|
||||||
postInstall = ''
|
meta = with lib; {
|
||||||
wrapProgram $out/bin/merkaartor \
|
|
||||||
--set QT_QPA_PLATFORM_PLUGIN_PATH ${qtbase.bin}/lib/qt-*/plugins/platforms
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "OpenStreetMap editor";
|
description = "OpenStreetMap editor";
|
||||||
homepage = "http://merkaartor.be/";
|
homepage = "http://merkaartor.be/";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
|
@ -30,12 +30,12 @@ let
|
|||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "obsidian";
|
pname = "obsidian";
|
||||||
version = "0.10.1";
|
version = "0.10.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url =
|
url =
|
||||||
"https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/obsidian-${version}.asar.gz";
|
"https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/obsidian-${version}.asar.gz";
|
||||||
sha256 = "wnCgW4EAcg0Oc1fqOZBYKN2g8N27riL+yonoIy0AfxA=";
|
sha256 = "KfGVc3nXu5ilYKQPLc5qaksTwsdhSVtty9CfjSoiCU8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper graphicsmagick ];
|
nativeBuildInputs = [ makeWrapper graphicsmagick ];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "overmind";
|
pname = "overmind";
|
||||||
version = "2.1.1";
|
version = "2.2.0";
|
||||||
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 = "0akqn8s1mgk5q00gzh3ymq7nrnkyi6avyaxxvbxnjyq9bxsqz327";
|
sha256 = "00v6l4138vv32bqfkzrhk4hfl52a00rlg9ywhp4difgrnz7zj6xb";
|
||||||
};
|
};
|
||||||
|
|
||||||
goDeps = ./deps.nix;
|
goDeps = ./deps.nix;
|
||||||
|
18
pkgs/applications/misc/overmind/deps.nix
generated
18
pkgs/applications/misc/overmind/deps.nix
generated
@ -45,15 +45,6 @@
|
|||||||
sha256 = "1a82lclk56y7c44jg7wn5vq733dmn0g20r5yqbchrxnpfl75dw89";
|
sha256 = "1a82lclk56y7c44jg7wn5vq733dmn0g20r5yqbchrxnpfl75dw89";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
|
||||||
goPackagePath = "github.com/pkg/term";
|
|
||||||
fetch = {
|
|
||||||
type = "git";
|
|
||||||
url = "https://github.com/pkg/term";
|
|
||||||
rev = "aa71e9d9e942";
|
|
||||||
sha256 = "1gyxnj4jq3z2k4gjwwlz8hn56c1ys8jvafdd61nd6qs8jwp6iqp3";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
goPackagePath = "github.com/pmezard/go-difflib";
|
goPackagePath = "github.com/pmezard/go-difflib";
|
||||||
fetch = {
|
fetch = {
|
||||||
@ -126,15 +117,6 @@
|
|||||||
sha256 = "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np";
|
sha256 = "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
|
||||||
goPackagePath = "gopkg.in/urfave/cli.v1";
|
|
||||||
fetch = {
|
|
||||||
type = "git";
|
|
||||||
url = "https://gopkg.in/urfave/cli.v1";
|
|
||||||
rev = "v1.20.0";
|
|
||||||
sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
goPackagePath = "gopkg.in/yaml.v2";
|
goPackagePath = "gopkg.in/yaml.v2";
|
||||||
fetch = {
|
fetch = {
|
||||||
|
@ -1,21 +1,26 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, pkgconfig, qmake, mkDerivation,
|
{ stdenv
|
||||||
qtsvg,
|
, lib
|
||||||
libxml2, postgresql }:
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, qmake
|
||||||
|
, mkDerivation
|
||||||
|
, qtsvg
|
||||||
|
, libxml2
|
||||||
|
, postgresql
|
||||||
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "pgmodeler";
|
pname = "pgmodeler";
|
||||||
version = "0.9.2";
|
version = "0.9.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pgmodeler";
|
owner = "pgmodeler";
|
||||||
repo = "pgmodeler";
|
repo = "pgmodeler";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1wkvg20krfwkziz7skgmwlinx07jm5nl3455payg5brv69zf60kl";
|
sha256 = "1bci5x418dbnkny7hn0b5q5lxyajrgl3frv41ji0hcw9vivrds2g";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
nativeBuildInputs = [ pkg-config qmake ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig qmake ];
|
|
||||||
qmakeFlags = [ "pgmodeler.pro" "CONFIG+=release" ];
|
qmakeFlags = [ "pgmodeler.pro" "CONFIG+=release" ];
|
||||||
|
|
||||||
# todo: libpq would suffice here. Unfortunately this won't work, if one uses only postgresql.lib here.
|
# todo: libpq would suffice here. Unfortunately this won't work, if one uses only postgresql.lib here.
|
||||||
@ -23,7 +28,6 @@ mkDerivation rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A database modeling tool for PostgreSQL";
|
description = "A database modeling tool for PostgreSQL";
|
||||||
longDescription = ''pgModeler (PostgreSQL Database Modeler) is an open source database modeling tool designed for PostgreSQL.'';
|
|
||||||
homepage = "https://pgmodeler.io/";
|
homepage = "https://pgmodeler.io/";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = [ maintainers.esclear ];
|
maintainers = [ maintainers.esclear ];
|
||||||
|
@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Share one mouse and keyboard between multiple computers";
|
description = "Share one mouse and keyboard between multiple computers";
|
||||||
homepage = "http://synergy-project.org/";
|
homepage = "http://synergy-project.org/";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [ enzime ];
|
maintainers = with maintainers; [ ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
28
pkgs/applications/misc/taskwarrior-tui/default.nix
Normal file
28
pkgs/applications/misc/taskwarrior-tui/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "taskwarrior-tui";
|
||||||
|
version = "0.9.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "kdheepak";
|
||||||
|
repo = "taskwarrior-tui";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1348ypjphm5f46civbrcxbbahwwl2j47z1hg8ndq1cg2bh5wb8kg";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Because there's a test that requires terminal access
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
cargoSha256 = "11zpy3whzir9mlbvf0jyscqwj9z44a6s5i1bc2cnxyciqy9b57md";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A terminal user interface for taskwarrior ";
|
||||||
|
homepage = "https://github.com/kdheepak/taskwarrior-tui";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ matthiasbeyer ];
|
||||||
|
};
|
||||||
|
}
|
@ -15,13 +15,13 @@
|
|||||||
}:
|
}:
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "visidata";
|
pname = "visidata";
|
||||||
version = "2.1";
|
version = "2.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "saulpw";
|
owner = "saulpw";
|
||||||
repo = "visidata";
|
repo = "visidata";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1psb3ycrb7k00b5blg9zr52bzdxs1mkdc7rpjn4m9kh09yfs3sx4";
|
sha256 = "018z06bfcw0l4k2zdwbgxna9fss4wdqj64ckw5qjis14sb3zkr28";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -7,10 +7,19 @@ symlinkJoin {
|
|||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = let
|
||||||
|
fishCompletion = "share/fish/vendor_completions.d/zathura.fish";
|
||||||
|
in ''
|
||||||
makeWrapper ${zathura_core.bin}/bin/zathura $out/bin/zathura \
|
makeWrapper ${zathura_core.bin}/bin/zathura $out/bin/zathura \
|
||||||
--prefix PATH ":" "${lib.makeBinPath [ file ]}" \
|
--prefix PATH ":" "${lib.makeBinPath [ file ]}" \
|
||||||
--add-flags --plugins-dir="$out/lib/zathura"
|
--add-flags --plugins-dir="$out/lib/zathura"
|
||||||
|
|
||||||
|
# zathura fish completion references the zathura_core derivation to
|
||||||
|
# check for supported plugins which live in the wrapper derivation,
|
||||||
|
# so we need to fix the path to reference $out instead.
|
||||||
|
rm "$out/${fishCompletion}"
|
||||||
|
substitute "${zathura_core.out}/${fishCompletion}" "$out/${fishCompletion}" \
|
||||||
|
--replace "${zathura_core.out}" "$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "Sylk";
|
pname = "Sylk";
|
||||||
version = "2.9.3";
|
version = "2.9.4";
|
||||||
in
|
in
|
||||||
|
|
||||||
appimageTools.wrapType2 rec {
|
appimageTools.wrapType2 rec {
|
||||||
@ -10,7 +10,7 @@ appimageTools.wrapType2 rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.ag-projects.com/Sylk/Sylk-${version}-x86_64.AppImage";
|
url = "http://download.ag-projects.com/Sylk/Sylk-${version}-x86_64.AppImage";
|
||||||
hash = "sha256-JH/TUGAYZTIb/L926CoYb5yzPtbOKVmnWRmHO6DxDyY=";
|
hash = "sha256-LnJ8Pd+AHIrHrYpIx+rxnFKZ1uh2viDHC5TaU1BL62s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
profile = ''
|
profile = ''
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, jdk14, makeWrapper, autoPatchelfHook, makeDesktopItem, glib, libsecret }:
|
{ stdenv, fetchurl, jdk, makeWrapper, autoPatchelfHook, makeDesktopItem, glib, libsecret }:
|
||||||
|
|
||||||
let
|
let
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeWrapper "$dest/ApacheDirectoryStudio" \
|
makeWrapper "$dest/ApacheDirectoryStudio" \
|
||||||
"$out/bin/ApacheDirectoryStudio" \
|
"$out/bin/ApacheDirectoryStudio" \
|
||||||
--prefix PATH : "${jdk14}/bin"
|
--prefix PATH : "${jdk}/bin"
|
||||||
install -D icon.xpm "$out/share/pixmaps/apache-directory-studio.xpm"
|
install -D icon.xpm "$out/share/pixmaps/apache-directory-studio.xpm"
|
||||||
install -D -t "$out/share/applications" ${desktopItem}/share/applications/*
|
install -D -t "$out/share/applications" ${desktopItem}/share/applications/*
|
||||||
'';
|
'';
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"stable": {
|
"stable": {
|
||||||
"version": "87.0.4280.88",
|
"version": "87.0.4280.141",
|
||||||
"sha256": "1h09g9b2zxad85vd146ymvg3w2kpngpi78yig3dn1vrmhwr4aiiy",
|
"sha256": "0x9k809m36pfirnw2vnr9pk93nxdbgrvna0xf1rs3q91zkbr2x8l",
|
||||||
"sha256bin64": "0n3fm6wf8zfkv135d50xl8xxrnng3q55vyxkck1da8jyvh18bijb",
|
"sha256bin64": "0wq3yi0qyxzcid390w5rh4xjq92fjajvlifjl70g6sqnbk6vgvdp",
|
||||||
"deps": {
|
"deps": {
|
||||||
"gn": {
|
"gn": {
|
||||||
"version": "2020-09-09",
|
"version": "2020-09-09",
|
||||||
@ -13,7 +13,7 @@
|
|||||||
},
|
},
|
||||||
"chromedriver": {
|
"chromedriver": {
|
||||||
"version": "87.0.4280.88",
|
"version": "87.0.4280.88",
|
||||||
"sha256_linux": "11plh2hs2zpa14ymlbnj92pa58krl28yw4c0s55wk8qsxvzvl02m",
|
"sha256_linux": "1insh1imi25sj4hdkbll5rzwnag8wvfxv4ckshpq8akl8r13p6lj",
|
||||||
"sha256_darwin": "048hsqp6575r980m769lzznvxypmfcwn89f1d3ik751ymzmb5r78"
|
"sha256_darwin": "048hsqp6575r980m769lzznvxypmfcwn89f1d3ik751ymzmb5r78"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "minikube";
|
pname = "minikube";
|
||||||
version = "1.15.1";
|
version = "1.16.0";
|
||||||
|
|
||||||
vendorSha256 = "1xkk4f8qjqx5x878iniclni3jm2f7ka47va756vc3vk8p5s6vpdk";
|
vendorSha256 = "0nc2f9h77h24f0nvai5wvgmf1gh09dqfwrb6d5qghmq03a459san";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ buildGoModule rec {
|
|||||||
owner = "kubernetes";
|
owner = "kubernetes";
|
||||||
repo = "minikube";
|
repo = "minikube";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "03knkc8z3vri73j1aa9ry6p1rxql3d75kphd429x5am856mpnn6g";
|
sha256 = "00dn8yy7mna0j8rdcnxbgnd5vkjdkqij8akgqhvbd32kxpqss890";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ go-bindata installShellFiles pkg-config which ];
|
nativeBuildInputs = [ go-bindata installShellFiles pkg-config which ];
|
||||||
|
@ -54,7 +54,7 @@ buildPythonApplication rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "BDD test framework for terraform";
|
description = "BDD test framework for terraform";
|
||||||
homepage = https://github.com/eerkunt/terraform-compliance;
|
homepage = "https://github.com/eerkunt/terraform-compliance";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ kalbasit ];
|
maintainers = with maintainers; [ kalbasit ];
|
||||||
};
|
};
|
||||||
|
@ -137,8 +137,8 @@ let
|
|||||||
];
|
];
|
||||||
in rec {
|
in rec {
|
||||||
terraform_0_12 = pluggable (generic {
|
terraform_0_12 = pluggable (generic {
|
||||||
version = "0.12.29";
|
version = "0.12.30";
|
||||||
sha256 = "18i7vkvnvfybwzhww8d84cyh93xfbwswcnwfrgvcny1qwm8rsaj8";
|
sha256 = "0mv2nsy2ygb1kgkw98xckihcdqxpzhdmks5p2gi2l7wb7lx51yz2";
|
||||||
patches = [
|
patches = [
|
||||||
./provider-path.patch
|
./provider-path.patch
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
@ -150,16 +150,16 @@ in rec {
|
|||||||
});
|
});
|
||||||
|
|
||||||
terraform_0_13 = pluggable (generic {
|
terraform_0_13 = pluggable (generic {
|
||||||
version = "0.13.5";
|
version = "0.13.6";
|
||||||
sha256 = "1fnydzm5h65pdy2gkq403sllx05cvpldkdzdpcy124ywljb4x9d8";
|
sha256 = "04vas8i894ssfhncdvljdvmvj2qzfrcs20zcv71l1wmnnv9ibs6l";
|
||||||
patches = [ ./provider-path.patch ];
|
patches = [ ./provider-path.patch ];
|
||||||
passthru = { inherit plugins; };
|
passthru = { inherit plugins; };
|
||||||
});
|
});
|
||||||
|
|
||||||
terraform_0_14 = pluggable (generic {
|
terraform_0_14 = pluggable (generic {
|
||||||
version = "0.14.3";
|
version = "0.14.4";
|
||||||
sha256 = "0w2j1phjv989bspbyvkhr25bdz1zjch3zggwk2lgjyk77mdw5h20";
|
sha256 = "0kjbx1gshp1lvhnjfigfzza0sbl3m6d9qb3in7q5vc6kdkiplb66";
|
||||||
vendorSha256 = "03dg703pw3h98vfvi2mnd2lw0mv6hlhvmc1l7ngrqdyv54cmihnp";
|
vendorSha256 = "10vb6gsw7mha99lvx3lbgd80vf0imcqyc0va0y64f6wzaw557n7v";
|
||||||
patches = [ ./provider-path.patch ];
|
patches = [ ./provider-path.patch ];
|
||||||
passthru = { inherit plugins; };
|
passthru = { inherit plugins; };
|
||||||
});
|
});
|
||||||
|
@ -2,17 +2,17 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "waypoint";
|
pname = "waypoint";
|
||||||
version = "0.1.5";
|
version = "0.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hashicorp";
|
owner = "hashicorp";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "115cak87kpfjckqgn8ws09z1w8x8l9bch9xrm29k4r0zi71xparn";
|
sha256 = "sha256-iGR2N1ZYA5G9K2cpfrwWRhSEfehRshx157ot1yq15AY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
deleteVendor = true;
|
deleteVendor = true;
|
||||||
vendorSha256 = "1xdari6841jp6lpjwydv19v3wafj17hmnwsa2b55iw6dysm4yxdr";
|
vendorSha256 = "sha256-ArebHOjP3zvpASVAoaPXpSbrG/jq+Jbx7+EaQ1uHSVY=";
|
||||||
|
|
||||||
subPackages = ["."];
|
subPackages = ["."];
|
||||||
|
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "FlexGet";
|
pname = "FlexGet";
|
||||||
version = "3.1.91";
|
version = "3.1.95";
|
||||||
|
|
||||||
src = python3Packages.fetchPypi {
|
src = python3Packages.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "5d6668dd9721b60738ea44c616fcdee6210f7ef52b461eb13b77091caef4a832";
|
sha256 = "5dc80828713c0ece57c6e86a2bad41bbdf34ec41a0ea4da71adfb43784d85120";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -10,6 +10,11 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "1q97p4g3f1q2m567i2dbx7mm7ixw3g91ww2rymwj42cxk9iyizhv";
|
sha256 = "1q97p4g3f1q2m567i2dbx7mm7ixw3g91ww2rymwj42cxk9iyizhv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace sbr/Makefile.in \
|
||||||
|
--replace "ar " "${stdenv.cc.targetPrefix}ar "
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
nativeBuildInputs = [ autoreconfHook flex ];
|
nativeBuildInputs = [ autoreconfHook flex ];
|
||||||
|
|
||||||
|
@ -19,40 +19,41 @@ stdenv.mkDerivation rec {
|
|||||||
python3Packages.python
|
python3Packages.python
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonPath = [
|
pythonPath = with python3Packages; [
|
||||||
python3Packages.libtorrent-rasterbar
|
libtorrent-rasterbar
|
||||||
python3Packages.twisted
|
twisted
|
||||||
python3Packages.netifaces
|
netifaces
|
||||||
python3Packages.pycrypto
|
pycrypto
|
||||||
python3Packages.pyasn1
|
pyasn1
|
||||||
python3Packages.requests
|
requests
|
||||||
python3Packages.m2crypto
|
m2crypto
|
||||||
python3Packages.pyqt5
|
pyqt5
|
||||||
python3Packages.chardet
|
chardet
|
||||||
python3Packages.cherrypy
|
cherrypy
|
||||||
python3Packages.cryptography
|
cryptography
|
||||||
python3Packages.libnacl
|
libnacl
|
||||||
python3Packages.configobj
|
configobj
|
||||||
python3Packages.decorator
|
decorator
|
||||||
python3Packages.feedparser
|
feedparser
|
||||||
python3Packages.service-identity
|
service-identity
|
||||||
python3Packages.psutil
|
psutil
|
||||||
python3Packages.pillow
|
pillow
|
||||||
python3Packages.networkx
|
networkx
|
||||||
python3Packages.pony
|
pony
|
||||||
python3Packages.lz4
|
lz4
|
||||||
python3Packages.pyqtgraph
|
pyqtgraph
|
||||||
|
|
||||||
# there is a BTC feature, but it requires some unclear version of
|
# there is a BTC feature, but it requires some unclear version of
|
||||||
# bitcoinlib, so this doesn't work right now.
|
# bitcoinlib, so this doesn't work right now.
|
||||||
# python3Packages.bitcoinlib
|
# bitcoinlib
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
${stdenv.lib.optionalString enablePlayer ''
|
${stdenv.lib.optionalString enablePlayer ''
|
||||||
substituteInPlace "./TriblerGUI/vlc.py" --replace "ctypes.CDLL(p)" "ctypes.CDLL('${libvlc}/lib/libvlc.so')"
|
substituteInPlace "./TriblerGUI/vlc.py" --replace "ctypes.CDLL(p)" "ctypes.CDLL('${libvlc}/lib/libvlc.so')"
|
||||||
substituteInPlace "./TriblerGUI/widgets/videoplayerpage.py" --replace "if vlc and vlc.plugin_path" "if vlc"
|
substituteInPlace "./TriblerGUI/widgets/videoplayerpage.py" \
|
||||||
substituteInPlace "./TriblerGUI/widgets/videoplayerpage.py" --replace "os.environ['VLC_PLUGIN_PATH'] = vlc.plugin_path" "os.environ['VLC_PLUGIN_PATH'] = '${libvlc}/lib/vlc/plugins'"
|
--replace "if vlc and vlc.plugin_path" "if vlc" \
|
||||||
|
--replace "os.environ['VLC_PLUGIN_PATH'] = vlc.plugin_path" "os.environ['VLC_PLUGIN_PATH'] = '${libvlc}/lib/vlc/plugins'"
|
||||||
''}
|
''}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -38,6 +38,13 @@ mkDerivation rec {
|
|||||||
ln -s /var/log/teamviewer $out/share/teamviewer/logfiles
|
ln -s /var/log/teamviewer $out/share/teamviewer/logfiles
|
||||||
ln -s ${xdg_utils}/bin $out/share/teamviewer/tv_bin/xdg-utils
|
ln -s ${xdg_utils}/bin $out/share/teamviewer/tv_bin/xdg-utils
|
||||||
|
|
||||||
|
for i in 16 20 24 32 48 256; do
|
||||||
|
size=$i"x"$i
|
||||||
|
|
||||||
|
mkdir -p $out/share/icons/hicolor/$size/apps
|
||||||
|
ln -s $out/share/teamviewer/tv_bin/desktop/teamviewer_$i.png $out/share/icons/hicolor/$size/apps/TeamViewer.png
|
||||||
|
done;
|
||||||
|
|
||||||
sed -i "s,/opt/teamviewer,$out/share/teamviewer,g" $out/share/teamviewer/tv_bin/desktop/com.teamviewer.*.desktop
|
sed -i "s,/opt/teamviewer,$out/share/teamviewer,g" $out/share/teamviewer/tv_bin/desktop/com.teamviewer.*.desktop
|
||||||
|
|
||||||
substituteInPlace $out/share/teamviewer/tv_bin/script/tvw_aux \
|
substituteInPlace $out/share/teamviewer/tv_bin/script/tvw_aux \
|
||||||
@ -50,6 +57,7 @@ mkDerivation rec {
|
|||||||
wrapProgram $out/share/teamviewer/tv_bin/TeamViewer --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}"
|
wrapProgram $out/share/teamviewer/tv_bin/TeamViewer --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}"
|
||||||
wrapProgram $out/share/teamviewer/tv_bin/TeamViewer_Desktop --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [libXrandr libX11 libXext libXdamage libXtst libSM libXfixes ]}"
|
wrapProgram $out/share/teamviewer/tv_bin/TeamViewer_Desktop --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [libXrandr libX11 libXext libXdamage libXtst libSM libXfixes ]}"
|
||||||
|
|
||||||
|
wrapQtApp $out/share/teamviewer/tv_bin/script/teamviewer
|
||||||
wrapQtApp $out/bin/teamviewer
|
wrapQtApp $out/bin/teamviewer
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -6,14 +6,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "waypipe-unstable";
|
pname = "waypipe-unstable";
|
||||||
version = "0.7.1";
|
version = "0.7.2";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.freedesktop.org";
|
domain = "gitlab.freedesktop.org";
|
||||||
owner = "mstoeckl";
|
owner = "mstoeckl";
|
||||||
repo = "waypipe";
|
repo = "waypipe";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "00skyxmbssfxksb8wlqdr8gajpysadirjcn230fd5gaf5msvllx7";
|
sha256 = "sha256-LtfrSEwZikOXp/fdyJ/+EylRx19zdsHMkrl1eEf1/aY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "seafile-client";
|
pname = "seafile-client";
|
||||||
version = "7.0.10";
|
version = "8.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "haiwen";
|
owner = "haiwen";
|
||||||
repo = "seafile-client";
|
repo = "seafile-client";
|
||||||
rev = "v${version}";
|
rev = "b4b944921c7efef13a93d693c45c997943899dec";
|
||||||
sha256 = "082v1qbysrqb7m0lk56fpx8n403fjxbvbj0svm4mkjl6mzs2cv22";
|
sha256 = "2vV+6ZXjVg81JVLfWeD0UK+RdmpBxBU2Ozx790WFSyw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig cmake ];
|
nativeBuildInputs = [ pkgconfig cmake ];
|
||||||
|
@ -3,17 +3,17 @@
|
|||||||
let
|
let
|
||||||
common = { stname, target, postInstall ? "" }:
|
common = { stname, target, postInstall ? "" }:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
version = "1.12.0";
|
version = "1.12.1";
|
||||||
name = "${stname}-${version}";
|
name = "${stname}-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "syncthing";
|
owner = "syncthing";
|
||||||
repo = "syncthing";
|
repo = "syncthing";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "09kqc66pnklhmlcn66c5zydnvy2mfs2hqzd1465ydww8bbgcncss";
|
sha256 = "1jyqkprb9ps8xc86qnf140wbx5kvshyihxxgym409kfks6dk3cq5";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "1jw0k1wm9mfsa2yr2fi2j8mrlykrlcwfnii07rafv9dnnwabs022";
|
vendorSha256 = "1xlkc47wfhsf6gzq9sgimlzqnrqdsjgc1zzfkjp3xzbbv5ay7wca";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
, python3Packages
|
, python3Packages
|
||||||
, gtk3
|
, gtk3
|
||||||
, cairo
|
, cairo
|
||||||
, aspellDicts
|
|
||||||
, buildEnv
|
|
||||||
, gnome3
|
, gnome3
|
||||||
, librsvg
|
, librsvg
|
||||||
, xvfb_run
|
, xvfb_run
|
||||||
@ -40,16 +38,19 @@ python3Packages.buildPythonApplication rec {
|
|||||||
make l10n_compile
|
make l10n_compile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
ASPELL_CONF = "dict-dir ${buildEnv {
|
|
||||||
name = "aspell-all-dicts";
|
|
||||||
paths = lib.collect lib.isDerivation aspellDicts;
|
|
||||||
}}/lib/aspell";
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# paperwork-shell needs to be re-wrapped with access to paperwork
|
# paperwork-shell needs to be re-wrapped with access to paperwork
|
||||||
cp ${python3Packages.paperwork-shell}/bin/.paperwork-cli-wrapped $out/bin/paperwork-cli
|
cp ${python3Packages.paperwork-shell}/bin/.paperwork-cli-wrapped $out/bin/paperwork-cli
|
||||||
# install desktop files and icons
|
# install desktop files and icons
|
||||||
XDG_DATA_HOME=$out/share $out/bin/paperwork-gtk install --user
|
XDG_DATA_HOME=$out/share $out/bin/paperwork-gtk install --user
|
||||||
|
|
||||||
|
# fixes [WARNING] [openpaperwork_core.resources.setuptools] Failed to find
|
||||||
|
# resource file paperwork_gtk.icon.out/paperwork_128.png, tried at path
|
||||||
|
# /nix/store/3n5lz6y8k9yks76f0nar3smc8djan3xr-paperwork-2.0.2/lib/python3.8/site-packages/paperwork_gtk/icon/out/paperwork_128.png.
|
||||||
|
site=$out/lib/${python3Packages.python.libPrefix}/site-packages/paperwork_gtk
|
||||||
|
for i in $site/data/paperwork_*.png; do
|
||||||
|
ln -s $i $site/icon/out;
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ xvfb_run dbus.daemon ];
|
checkInputs = [ xvfb_run dbus.daemon ];
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
, paperwork-backend
|
, paperwork-backend
|
||||||
, fabulous
|
, fabulous
|
||||||
, getkey
|
, getkey
|
||||||
|
, psutil
|
||||||
|
|
||||||
, pkgs
|
, pkgs
|
||||||
}:
|
}:
|
||||||
@ -34,6 +35,7 @@ buildPythonPackage rec {
|
|||||||
paperwork-backend
|
paperwork-backend
|
||||||
fabulous
|
fabulous
|
||||||
getkey
|
getkey
|
||||||
|
psutil
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{fetchFromGitLab}:
|
{fetchFromGitLab}:
|
||||||
rec {
|
rec {
|
||||||
version = "2.0.1";
|
version = "2.0.2";
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
repo = "paperwork";
|
repo = "paperwork";
|
||||||
group = "World";
|
group = "World";
|
||||||
owner = "OpenPaperwork";
|
owner = "OpenPaperwork";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "16pc4drwpjl4937wdavs6wk0j1qs474b072wplhs8ywxfgqip1h4";
|
sha256 = "1di7nnl8ywyiwfpl5m1kvip1m0hvijbmqmkdpviwqw7ajizrr1ly";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
36
pkgs/applications/radio/soundmodem/default.nix
Normal file
36
pkgs/applications/radio/soundmodem/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ stdenv, fetchurl, pkg-config, alsaLib, audiofile, gtk2, libxml2 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "soundmodem";
|
||||||
|
version = "0.20";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://archive.org/download/${name}-${version}/${name}-${version}.tar.gz";
|
||||||
|
sha256 = "156l3wjnh5rcisxb42kcmlf74swf679v4xnj09zy5j74rd4h721z";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
buildInputs = [ alsaLib audiofile gtk2 libxml2 ];
|
||||||
|
|
||||||
|
patches = [ ./matFix.patch ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Audio based modem for ham radio supporting ax.25";
|
||||||
|
longDescription = ''
|
||||||
|
This software allows a standard PC soundcard to be used as a packet radio "modem". The whole processing is done on the main processor CPU.
|
||||||
|
Unlike previous packet radio modem software, this new release offers several new benefits:
|
||||||
|
- Now uses standard operating system sound drivers (OSS/Free under Linux, /dev/audio under Solaris and DirectSound under Windows), thus runs on all soundcards for which drivers for the desired operating system are available.
|
||||||
|
- No fixed relationship between bitrate, sampling rate, and modem parameters. Modems may be parametrized, and multiple modems may even run on the same audio channel!
|
||||||
|
- Usermode solution allows the use of MMX, VIS, Floating point and other media instruction sets to speed up computation.
|
||||||
|
- Cross platform builds from a single source code provides ubiquitous availability.
|
||||||
|
'';
|
||||||
|
#homepage = "http://gna.org/projects/soundmodem"; # official, but "Connection refused"
|
||||||
|
homepage = "http://soundmodem.vk4msl.id.au/";
|
||||||
|
downloadPage = "https://archive.org/download/${name}-${version}/${name}-${version}.tar.gz";
|
||||||
|
license = licenses.gpl2Only;
|
||||||
|
maintainers = with maintainers; [ ymarkus ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
11
pkgs/applications/radio/soundmodem/matFix.patch
Normal file
11
pkgs/applications/radio/soundmodem/matFix.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/matlib/mat.hh 2003-01-06 23:47:26.000000000 +0100
|
||||||
|
+++ b/matlib/mat.copy.hh 2021-01-06 10:05:34.332415179 +0100
|
||||||
|
@@ -91,7 +91,7 @@
|
||||||
|
memcpy(c, r, d1 * d3 * sizeof(c[0]));
|
||||||
|
}
|
||||||
|
|
||||||
|
-template<typename T> void mdet(const T *c, unsigned int d)
|
||||||
|
+template<typename T> int mdet(const T *c, unsigned int d)
|
||||||
|
{
|
||||||
|
T *c2;
|
||||||
|
unsigned int i, j, k, l;
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkg-config, cmake, gtk3,
|
{ stdenv, fetchFromGitHub, pkg-config, cmake, gtk3, wxGTK30-gtk3,
|
||||||
wxGTK30-gtk3, curl, gettext, glib, indilib, libnova }:
|
curl, gettext, glib, indilib, libnova, wrapGAppsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "phd2";
|
pname = "phd2";
|
||||||
@ -12,13 +12,18 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1ih7m9lilh12xbhmwm9kkicaqy72mi3firl6df7m5x38n2zj3zm4";
|
sha256 = "1ih7m9lilh12xbhmwm9kkicaqy72mi3firl6df7m5x38n2zj3zm4";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ];
|
||||||
buildInputs = [ gtk3 wxGTK30-gtk3 curl gettext glib indilib libnova ];
|
buildInputs = [ gtk3 wxGTK30-gtk3 curl gettext glib indilib libnova ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DOPENSOURCE_ONLY=1"
|
"-DOPENSOURCE_ONLY=1"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Fix broken wrapped name scheme by moving wrapped binary to where wrapper expects it
|
||||||
|
postFixup = ''
|
||||||
|
mv $out/bin/.phd2.bin-wrapped $out/bin/.phd2-wrapped.bin
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://openphdguiding.org/";
|
homepage = "https://openphdguiding.org/";
|
||||||
description = "Telescope auto-guidance application";
|
description = "Telescope auto-guidance application";
|
||||||
|
30
pkgs/applications/science/biology/fastp/default.nix
Normal file
30
pkgs/applications/science/biology/fastp/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, zlib
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "fastp";
|
||||||
|
version = "0.20.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "OpenGene";
|
||||||
|
repo = "fastp";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-pANwppkO9pfV9vctB7HmNCzYRtf+Xt+5HMKzvFuvyFM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -D fastp $out/bin/fastp
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Ultra-fast all-in-one FASTQ preprocessor";
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = "https://github.com/OpenGene/fastp";
|
||||||
|
maintainers = with maintainers; [ jbedo ];
|
||||||
|
platforms = platforms.x86_64;
|
||||||
|
};
|
||||||
|
}
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "last";
|
pname = "last";
|
||||||
version = "1145";
|
version = "1170";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://last.cbrc.jp/last-${version}.zip";
|
url = "http://last.cbrc.jp/last-${version}.zip";
|
||||||
sha256 = "0g54nmxxrirgid1i1k5i6rf7vnjpk9548sy06yqb4fj7vdzqgq99";
|
sha256 = "sha256-hBuG6QGXtBrvNrtaZU+i8gxu2ZQw+srFRkbuWoL5JHc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1jqjzhch0rips0vp04prvb8vmc20c5pdmsqn8knadcf91yy859fh";
|
sha256 = "1jqjzhch0rips0vp04prvb8vmc20c5pdmsqn8knadcf91yy859fh";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = if mpi then [ pkgs.openmpi ] else [];
|
buildInputs = stdenv.lib.optionals mpi [ pkgs.openmpi ];
|
||||||
|
|
||||||
# TODO darwin, AVX and AVX2 makefile targets
|
# TODO darwin, AVX and AVX2 makefile targets
|
||||||
buildPhase = if mpi then ''
|
buildPhase = if mpi then ''
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "varscan";
|
pname = "varscan";
|
||||||
version = "2.4.2";
|
version = "2.4.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/dkoboldt/varscan/releases/download/${version}/VarScan.v${version}.jar";
|
url = "https://github.com/dkoboldt/varscan/raw/master/VarScan.v${version}.jar";
|
||||||
sha256 = "0cfhshinyqgwc6i7zf8lhbfybyly2x5anrz824zyvdhzz5i69zrl";
|
sha256 = "sha256-+yO3KrZ2+1qJvQIJHCtsmv8hC5a+4E2d7mrvTYtygU0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ jre makeWrapper ];
|
buildInputs = [ jre makeWrapper ];
|
||||||
|
@ -4,12 +4,12 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "6.5";
|
version = "6.6";
|
||||||
pname = "quantum-espresso";
|
pname = "quantum-espresso";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://gitlab.com/QEF/q-e/-/archive/qe-${version}/q-e-qe-${version}.tar.gz";
|
url = "https://gitlab.com/QEF/q-e/-/archive/qe-${version}/q-e-qe-${version}.tar.gz";
|
||||||
sha256 = "00nnsq1vq579xsmkvwrgs6bdqdcbdlsmcp4yfynnvs40ca52m2r5";
|
sha256 = "0b3718bwdqfyssyz25jknijar79qh5cf1bbizv9faliz135mcilj";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
71
pkgs/applications/science/electronics/diylc/default.nix
Normal file
71
pkgs/applications/science/electronics/diylc/default.nix
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
{ stdenv, fetchurl, makeDesktopItem, unzip, bash, jre8 }:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "diylc";
|
||||||
|
version = "4.15.1";
|
||||||
|
files = {
|
||||||
|
app = fetchurl {
|
||||||
|
url = "https://github.com/bancika/diy-layout-creator/releases/download/v${version}/diylc-${version}.zip";
|
||||||
|
sha256 = "09vzbxas654n8npxljqljf930y5gcjfvv3r4dv97dwk5sy66xvaf";
|
||||||
|
};
|
||||||
|
icon16 = fetchurl {
|
||||||
|
url = "https://raw.githubusercontent.com/bancika/diy-layout-creator/v${version}/diylc/diylc-core/src/org/diylc/core/images/icon_small.png";
|
||||||
|
sha256 = "1is50aidfwzwfzwqv57s2hwhx0r5c21cp77bkl93xkdqkh2wd8x4";
|
||||||
|
};
|
||||||
|
icon32 = fetchurl {
|
||||||
|
url = "https://raw.githubusercontent.com/bancika/diy-layout-creator/v${version}/diylc/diylc-core/src/org/diylc/core/images/icon_medium.png";
|
||||||
|
sha256 = "0a45p18n84xz1nd3zv3y16jlimvqzhbzg3q3f4lawgx4rcrn2n3d";
|
||||||
|
};
|
||||||
|
icon48 = fetchurl {
|
||||||
|
url = "https://raw.githubusercontent.com/bancika/diy-layout-creator/v${version}/diylc/diylc-core/src/org/diylc/core/images/icon_large.png";
|
||||||
|
sha256 = "06dkz0dcy8hfmnzr5ri5n1sh8r7mg83kzbvs3zy58wwhgzs1ddk6";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
launcher = makeDesktopItem {
|
||||||
|
name = "diylc";
|
||||||
|
desktopName = "DIY Layout Creator";
|
||||||
|
comment = "Multi platform circuit layout and schematic drawing tool";
|
||||||
|
exec = "diylc";
|
||||||
|
icon = "diylc_icon";
|
||||||
|
categories = "Development;Electronics;";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
inherit pname version;
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
|
||||||
|
buildInputs = [ jre8 ];
|
||||||
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -d $out/share/diylc
|
||||||
|
${unzip}/bin/unzip -UU ${files.app} -d $out/share/diylc
|
||||||
|
rm $out/share/diylc/diylc.exe
|
||||||
|
rm $out/share/diylc/run.sh
|
||||||
|
|
||||||
|
# Nope, the icon cannot be named 'diylc' because KDE does not like it.
|
||||||
|
install -Dm644 ${files.icon16} $out/share/icons/hicolor/16x16/apps/diylc_icon.png
|
||||||
|
install -Dm644 ${files.icon32} $out/share/icons/hicolor/32x32/apps/diylc_icon.png
|
||||||
|
install -Dm644 ${files.icon48} $out/share/icons/hicolor/48x48/apps/diylc_icon.png
|
||||||
|
|
||||||
|
install -d $out/share/applications
|
||||||
|
ln -s ${launcher}/share/applications/* $out/share/applications/
|
||||||
|
|
||||||
|
install -d $out/bin
|
||||||
|
cat <<EOF > $out/bin/diylc
|
||||||
|
#!${bash}/bin/sh
|
||||||
|
cd $out/share/diylc
|
||||||
|
${jre8}/bin/java -Xms512m -Xmx2048m -Dorg.diylc.scriptRun=true -Dfile.encoding=UTF-8 -cp diylc.jar:lib org.diylc.DIYLCStarter
|
||||||
|
EOF
|
||||||
|
chmod +x $out/bin/diylc
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Multi platform circuit layout and schematic drawing tool";
|
||||||
|
homepage = "https://bancika.github.io/diy-layout-creator/";
|
||||||
|
changelog = "https://github.com/bancika/diy-layout-creator/releases";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -1,19 +1,37 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv
|
||||||
, m4, tcsh, libX11, tcl, tk
|
, fetchurl
|
||||||
, cairo, ncurses, mesa_glu, python3
|
, python3
|
||||||
|
, m4
|
||||||
|
, cairo
|
||||||
|
, libX11
|
||||||
|
, mesa_glu
|
||||||
|
, ncurses
|
||||||
|
, tcl
|
||||||
|
, tcsh
|
||||||
|
, tk
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "magic-vlsi";
|
pname = "magic-vlsi";
|
||||||
version = "8.3.80";
|
version = "8.3.109";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://opencircuitdesign.com/magic/archive/magic-${version}.tgz";
|
url = "http://opencircuitdesign.com/magic/archive/magic-${version}.tgz";
|
||||||
sha256 = "0a5x4sh5xsr79pqbgv6221jc4fvaxkg2pvrdhy1cs4bmsc1sbm9j";
|
sha256 = "sha256-ZK4OF5XwjW1OJmOVUFqLklfpM10eIwCILygqIyjRbEQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ m4 tcsh libX11 tcl tk cairo ncurses mesa_glu ];
|
|
||||||
nativeBuildInputs = [ python3 ];
|
nativeBuildInputs = [ python3 ];
|
||||||
|
buildInputs = [
|
||||||
|
cairo
|
||||||
|
libX11
|
||||||
|
m4
|
||||||
|
mesa_glu
|
||||||
|
ncurses
|
||||||
|
tcl
|
||||||
|
tcsh
|
||||||
|
tk
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
@ -37,6 +55,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "VLSI layout tool written in Tcl";
|
description = "VLSI layout tool written in Tcl";
|
||||||
homepage = "http://opencircuitdesign.com/magic/";
|
homepage = "http://opencircuitdesign.com/magic/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ anna328p thoughtpolice ];
|
maintainers = with maintainers; [ anna328p thoughtpolice AndersonTorres ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "lean";
|
pname = "lean";
|
||||||
version = "3.23.0";
|
version = "3.24.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "leanprover-community";
|
owner = "leanprover-community";
|
||||||
repo = "lean";
|
repo = "lean";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "09mklc1p6ms1jayg2f89hqfmhca3h5744lli936l38ypn1d00sxx";
|
sha256 = "npzBuZ37KrUYwC0TglryVTqui/3/t1ma1Zjpnty0d7c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
@ -0,0 +1,25 @@
|
|||||||
|
diff --git a/src/sage/interfaces/sympy.py b/src/sage/interfaces/sympy.py
|
||||||
|
index cc35a42a9f..6e577d5d8d 100644
|
||||||
|
--- a/src/sage/interfaces/sympy.py
|
||||||
|
+++ b/src/sage/interfaces/sympy.py
|
||||||
|
@@ -397,7 +397,7 @@ def _sympysage_rf(self):
|
||||||
|
sage: from sympy import Symbol, rf
|
||||||
|
sage: _ = var('x, y')
|
||||||
|
sage: rfxy = rf(Symbol('x'), Symbol('y'))
|
||||||
|
- sage: assert rising_factorial(x,y)._sympy_() == rfxy.rewrite('gamma')
|
||||||
|
+ sage: assert rising_factorial(x,y)._sympy_() == rfxy.rewrite('gamma', piecewise=False)
|
||||||
|
sage: assert rising_factorial(x,y) == rfxy._sage_()
|
||||||
|
"""
|
||||||
|
from sage.arith.all import rising_factorial
|
||||||
|
diff --git a/src/sage/symbolic/expression.pyx b/src/sage/symbolic/expression.pyx
|
||||||
|
index 7c18ec1efa..c2619ac42d 100644
|
||||||
|
--- a/src/sage/symbolic/expression.pyx
|
||||||
|
+++ b/src/sage/symbolic/expression.pyx
|
||||||
|
@@ -955,6 +955,6 @@ cdef class Expression(CommutativeRingElement):
|
||||||
|
sage: unicode_art(13 - I)
|
||||||
|
13 - ⅈ
|
||||||
|
sage: unicode_art(1.3 - I)
|
||||||
|
- 1.3 - 1.0⋅ⅈ
|
||||||
|
+ 1.3 - ⅈ
|
||||||
|
sage: unicode_art(cos(I))
|
||||||
|
cosh(1)
|
@ -103,6 +103,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# adapt sage's Image class to pillow 8.0.1 (https://trac.sagemath.org/ticket/30971)
|
# adapt sage's Image class to pillow 8.0.1 (https://trac.sagemath.org/ticket/30971)
|
||||||
./patches/pillow-update.patch
|
./patches/pillow-update.patch
|
||||||
|
|
||||||
|
# fix test output with sympy 1.7 (https://trac.sagemath.org/ticket/30985)
|
||||||
|
./patches/sympy-1.7-update.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
|
patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation, lib, fetchpatch, fetchFromGitHub, cmake, boost17x, ceres-solver, eigen,
|
{ mkDerivation, lib, fetchFromGitHub, cmake, boost17x, ceres-solver, eigen,
|
||||||
freeimage, glog, libGLU, glew, qtbase,
|
freeimage, glog, libGLU, glew, qtbase,
|
||||||
cudaSupport ? false, cudatoolkit ? null }:
|
cudaSupport ? false, cudatoolkit ? null }:
|
||||||
|
|
||||||
@ -7,22 +7,15 @@ assert !cudaSupport || cudatoolkit != null;
|
|||||||
let boost_static = boost17x.override { enableStatic = true; };
|
let boost_static = boost17x.override { enableStatic = true; };
|
||||||
in
|
in
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
version = "3.5";
|
version = "3.6";
|
||||||
pname = "colmap";
|
pname = "colmap";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "colmap";
|
owner = "colmap";
|
||||||
repo = "colmap";
|
repo = "colmap";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1vnb62p0y2bnga173wmjs0lnyqdjikv0fkcxjzxm8187khk2lly8";
|
sha256 = "1kfivdmhpmdxjjf30rr57y2iy7xmdpg4h8aw3qgacv8ckfpgda3n";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/colmap/colmap/commit/6af3d8b0048cecc3b9fc6f4e78c3214dd038180b.patch";
|
|
||||||
sha256 = "1zv5girmv4hv78w1xn131v8njwhpbyylc1m15731lnhrs8bri0jq";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost_static ceres-solver eigen
|
boost_static ceres-solver eigen
|
||||||
freeimage glog libGLU glew qtbase
|
freeimage glog libGLU glew qtbase
|
||||||
|
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, gsl
|
||||||
|
, mpfr
|
||||||
|
, perl
|
||||||
|
, python3
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "ViennaRNA";
|
||||||
|
version = "2.4.17";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_4_x/${pname}-${version}.tar.gz";
|
||||||
|
sha256 = "08f1h2a8fn1s2zwf1244smiydhgwxgcnzy6irpdlmpvwygv0irmi";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gsl
|
||||||
|
mpfr
|
||||||
|
perl
|
||||||
|
python3
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-cluster"
|
||||||
|
"--with-kinwalker"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Prediction and comparison of RNA secondary structures";
|
||||||
|
homepage = "https://www.tbi.univie.ac.at/RNA/";
|
||||||
|
license = licenses.unfree;
|
||||||
|
maintainers = with maintainers; [ prusnak ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
55
pkgs/applications/terminal-emulators/germinal/default.nix
Normal file
55
pkgs/applications/terminal-emulators/germinal/default.nix
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, pkg-config
|
||||||
|
, appstream-glib
|
||||||
|
, dbus
|
||||||
|
, pango
|
||||||
|
, pcre2
|
||||||
|
, tmux
|
||||||
|
, vte
|
||||||
|
, wrapGAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "germinal";
|
||||||
|
version = "26";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Keruspe";
|
||||||
|
repo = "Germinal";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-HUi+skF4bJj5CY2cNTOC4tl7jhvpXYKqBx2rqKzjlo0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
|
||||||
|
buildInputs = [
|
||||||
|
appstream-glib
|
||||||
|
dbus
|
||||||
|
pango
|
||||||
|
pcre2
|
||||||
|
vte
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-dbusservicesdir=${placeholder "out"}/etc/dbus-1/system-services/"
|
||||||
|
];
|
||||||
|
|
||||||
|
dontWrapGApps = true;
|
||||||
|
|
||||||
|
fixupPhase = ''
|
||||||
|
runHook preFixup
|
||||||
|
wrapProgram $out/bin/germinal \
|
||||||
|
--prefix PATH ":" "${stdenv.lib.makeBinPath [ tmux ]}" \
|
||||||
|
"''${gappsWrapperArgs[@]}"
|
||||||
|
runHook postFixup
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A minimal terminal emulator";
|
||||||
|
homepage = "https://github.com/Keruspe/Germinal";
|
||||||
|
license = with licenses; gpl3Plus;
|
||||||
|
platforms = with platforms; unix;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
|
};
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user