Merge master into staging-next
This commit is contained in:
commit
1523382160
@ -3514,6 +3514,12 @@
|
|||||||
githubId = 1608697;
|
githubId = 1608697;
|
||||||
name = "Jens Binkert";
|
name = "Jens Binkert";
|
||||||
};
|
};
|
||||||
|
jeremyschlatter = {
|
||||||
|
email = "github@jeremyschlatter.com";
|
||||||
|
github = "jeremyschlatter";
|
||||||
|
githubId = 5741620;
|
||||||
|
name = "Jeremy Schlatter";
|
||||||
|
};
|
||||||
jerith666 = {
|
jerith666 = {
|
||||||
email = "github@matt.mchenryfamily.org";
|
email = "github@matt.mchenryfamily.org";
|
||||||
github = "jerith666";
|
github = "jerith666";
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
, name ? "nixos-disk-image"
|
, name ? "nixos-disk-image"
|
||||||
|
|
||||||
, # Disk image format, one of qcow2, qcow2-compressed, vpc, raw.
|
, # Disk image format, one of qcow2, qcow2-compressed, vdi, vpc, raw.
|
||||||
format ? "raw"
|
format ? "raw"
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -57,6 +57,7 @@ let format' = format; in let
|
|||||||
|
|
||||||
filename = "nixos." + {
|
filename = "nixos." + {
|
||||||
qcow2 = "qcow2";
|
qcow2 = "qcow2";
|
||||||
|
vdi = "vdi";
|
||||||
vpc = "vhd";
|
vpc = "vhd";
|
||||||
raw = "img";
|
raw = "img";
|
||||||
}.${format};
|
}.${format};
|
||||||
|
@ -334,6 +334,7 @@
|
|||||||
./services/games/minecraft-server.nix
|
./services/games/minecraft-server.nix
|
||||||
./services/games/minetest-server.nix
|
./services/games/minetest-server.nix
|
||||||
./services/games/openarena.nix
|
./services/games/openarena.nix
|
||||||
|
./services/games/teeworlds.nix
|
||||||
./services/games/terraria.nix
|
./services/games/terraria.nix
|
||||||
./services/hardware/acpid.nix
|
./services/hardware/acpid.nix
|
||||||
./services/hardware/actkbd.nix
|
./services/hardware/actkbd.nix
|
||||||
|
@ -21,9 +21,11 @@ in
|
|||||||
(mkRenamedOptionModule [ "networking" "defaultMailServer" "useTLS" ] [ "services" "ssmtp" "useTLS" ])
|
(mkRenamedOptionModule [ "networking" "defaultMailServer" "useTLS" ] [ "services" "ssmtp" "useTLS" ])
|
||||||
(mkRenamedOptionModule [ "networking" "defaultMailServer" "useSTARTTLS" ] [ "services" "ssmtp" "useSTARTTLS" ])
|
(mkRenamedOptionModule [ "networking" "defaultMailServer" "useSTARTTLS" ] [ "services" "ssmtp" "useSTARTTLS" ])
|
||||||
(mkRenamedOptionModule [ "networking" "defaultMailServer" "authUser" ] [ "services" "ssmtp" "authUser" ])
|
(mkRenamedOptionModule [ "networking" "defaultMailServer" "authUser" ] [ "services" "ssmtp" "authUser" ])
|
||||||
(mkRenamedOptionModule [ "networking" "defaultMailServer" "authPass" ] [ "services" "ssmtp" "authPass" ])
|
|
||||||
(mkRenamedOptionModule [ "networking" "defaultMailServer" "authPassFile" ] [ "services" "ssmtp" "authPassFile" ])
|
(mkRenamedOptionModule [ "networking" "defaultMailServer" "authPassFile" ] [ "services" "ssmtp" "authPassFile" ])
|
||||||
(mkRenamedOptionModule [ "networking" "defaultMailServer" "setSendmail" ] [ "services" "ssmtp" "setSendmail" ])
|
(mkRenamedOptionModule [ "networking" "defaultMailServer" "setSendmail" ] [ "services" "ssmtp" "setSendmail" ])
|
||||||
|
|
||||||
|
(mkRemovedOptionModule [ "networking" "defaultMailServer" "authPass" ] "authPass has been removed since it leaks the clear-text password into the world-readable store. Use authPassFile instead and make sure it's not a store path")
|
||||||
|
(mkRemovedOptionModule [ "services" "ssmtp" "authPass" ] "authPass has been removed since it leaks the clear-text password into the world-readable store. Use authPassFile instead and make sure it's not a store path")
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
@ -45,6 +47,21 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
settings = mkOption {
|
||||||
|
type = with types; attrsOf (oneOf [ bool str ]);
|
||||||
|
default = {};
|
||||||
|
description = ''
|
||||||
|
<citerefentry><refentrytitle>ssmtp</refentrytitle><manvolnum>5</manvolnum></citerefentry> configuration. Refer
|
||||||
|
to <link xlink:href="https://linux.die.net/man/5/ssmtp.conf"/> for details on supported values.
|
||||||
|
'';
|
||||||
|
example = literalExample ''
|
||||||
|
{
|
||||||
|
Debug = true;
|
||||||
|
FromLineOverride = false;
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
hostName = mkOption {
|
hostName = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
example = "mail.example.org";
|
example = "mail.example.org";
|
||||||
@ -101,18 +118,6 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
authPass = mkOption {
|
|
||||||
type = types.str;
|
|
||||||
default = "";
|
|
||||||
example = "correctHorseBatteryStaple";
|
|
||||||
description = ''
|
|
||||||
Password used for SMTP auth. (STORED PLAIN TEXT, WORLD-READABLE IN NIX STORE)
|
|
||||||
|
|
||||||
It's recommended to use <option>authPassFile</option>
|
|
||||||
which takes precedence over <option>authPass</option>.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
authPassFile = mkOption {
|
authPassFile = mkOption {
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
@ -121,11 +126,6 @@ in
|
|||||||
Path to a file that contains the password used for SMTP auth. The file
|
Path to a file that contains the password used for SMTP auth. The file
|
||||||
should not contain a trailing newline, if the password does not contain one.
|
should not contain a trailing newline, if the password does not contain one.
|
||||||
This file should be readable by the users that need to execute ssmtp.
|
This file should be readable by the users that need to execute ssmtp.
|
||||||
|
|
||||||
<option>authPassFile</option> takes precedence over <option>authPass</option>.
|
|
||||||
|
|
||||||
Warning: when <option>authPass</option> is non-empty <option>authPassFile</option>
|
|
||||||
defaults to a file in the WORLD-READABLE Nix store containing that password.
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -142,25 +142,28 @@ in
|
|||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
services.ssmtp.authPassFile = mkIf (cfg.authPass != "")
|
services.ssmtp.settings = mkMerge [
|
||||||
(mkDefault (toString (pkgs.writeTextFile {
|
({
|
||||||
name = "ssmtp-authpass";
|
MailHub = cfg.hostName;
|
||||||
text = cfg.authPass;
|
FromLineOverride = mkDefault true;
|
||||||
})));
|
UseTLS = cfg.useTLS;
|
||||||
|
UseSTARTTLS = cfg.useSTARTTLS;
|
||||||
|
})
|
||||||
|
(mkIf (cfg.root != "") { root = cfg.root; })
|
||||||
|
(mkIf (cfg.domain != "") { rewriteDomain = cfg.domain; })
|
||||||
|
(mkIf (cfg.authUser != "") { AuthUser = cfg.authUser; })
|
||||||
|
(mkIf (cfg.authPassFile != null) { AuthPassFile = cfg.authPassFile; })
|
||||||
|
];
|
||||||
|
|
||||||
environment.etc."ssmtp/ssmtp.conf".text =
|
environment.etc."ssmtp/ssmtp.conf".source =
|
||||||
let yesNo = yes : if yes then "YES" else "NO"; in
|
let
|
||||||
''
|
toStr = value:
|
||||||
MailHub=${cfg.hostName}
|
if value == true then "YES"
|
||||||
FromLineOverride=YES
|
else if value == false then "NO"
|
||||||
${optionalString (cfg.root != "") "root=${cfg.root}"}
|
else builtins.toString value
|
||||||
${optionalString (cfg.domain != "") "rewriteDomain=${cfg.domain}"}
|
;
|
||||||
UseTLS=${yesNo cfg.useTLS}
|
in
|
||||||
UseSTARTTLS=${yesNo cfg.useSTARTTLS}
|
pkgs.writeText "ssmtp.conf" (concatStringsSep "\n" (mapAttrsToList (key: value: "${key}=${toStr value}") cfg.settings));
|
||||||
#Debug=YES
|
|
||||||
${optionalString (cfg.authUser != "") "AuthUser=${cfg.authUser}"}
|
|
||||||
${optionalString (cfg.authPassFile != null) "AuthPassFile=${cfg.authPassFile}"}
|
|
||||||
'';
|
|
||||||
|
|
||||||
environment.systemPackages = [pkgs.ssmtp];
|
environment.systemPackages = [pkgs.ssmtp];
|
||||||
|
|
||||||
|
119
nixos/modules/services/games/teeworlds.nix
Normal file
119
nixos/modules/services/games/teeworlds.nix
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.services.teeworlds;
|
||||||
|
register = cfg.register;
|
||||||
|
|
||||||
|
teeworldsConf = pkgs.writeText "teeworlds.cfg" ''
|
||||||
|
sv_port ${toString cfg.port}
|
||||||
|
sv_register ${if cfg.register then "1" else "0"}
|
||||||
|
${optionalString (cfg.name != null) "sv_name ${cfg.name}"}
|
||||||
|
${optionalString (cfg.motd != null) "sv_motd ${cfg.motd}"}
|
||||||
|
${optionalString (cfg.password != null) "password ${cfg.password}"}
|
||||||
|
${optionalString (cfg.rconPassword != null) "sv_rcon_password ${cfg.rconPassword}"}
|
||||||
|
${concatStringsSep "\n" cfg.extraOptions}
|
||||||
|
'';
|
||||||
|
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options = {
|
||||||
|
services.teeworlds = {
|
||||||
|
enable = mkEnableOption "Teeworlds Server";
|
||||||
|
|
||||||
|
openPorts = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "Whether to open firewall ports for Teeworlds";
|
||||||
|
};
|
||||||
|
|
||||||
|
name = mkOption {
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = null;
|
||||||
|
description = ''
|
||||||
|
Name of the server. Defaults to 'unnamed server'.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
register = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
example = true;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Whether the server registers as public server in the global server list. This is disabled by default because of privacy.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
motd = mkOption {
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = null;
|
||||||
|
description = ''
|
||||||
|
Set the server message of the day text.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
password = mkOption {
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = null;
|
||||||
|
description = ''
|
||||||
|
Password to connect to the server.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
rconPassword = mkOption {
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = null;
|
||||||
|
description = ''
|
||||||
|
Password to access the remote console. If not set, a randomly generated one is displayed in the server log.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
port = mkOption {
|
||||||
|
type = types.int;
|
||||||
|
default = 8303;
|
||||||
|
description = ''
|
||||||
|
Port the server will listen on.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
extraOptions = mkOption {
|
||||||
|
type = types.listOf types.str;
|
||||||
|
default = [];
|
||||||
|
description = ''
|
||||||
|
Extra configuration lines for the <filename>teeworlds.cfg</filename>. See <link xlink:href="https://www.teeworlds.com/?page=docs&wiki=server_settings">Teeworlds Documentation</link>.
|
||||||
|
'';
|
||||||
|
example = [ "sv_map dm1" "sv_gametype dm" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
networking.firewall = mkIf cfg.openPorts {
|
||||||
|
allowedUDPPorts = [ cfg.port ];
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.services.teeworlds = {
|
||||||
|
description = "Teeworlds Server";
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
after = [ "network.target" ];
|
||||||
|
|
||||||
|
serviceConfig = {
|
||||||
|
DynamicUser = true;
|
||||||
|
ExecStart = "${pkgs.teeworlds}/bin/teeworlds_srv -f ${teeworldsConf}";
|
||||||
|
|
||||||
|
# Hardening
|
||||||
|
CapabilityBoundingSet = false;
|
||||||
|
PrivateDevices = true;
|
||||||
|
PrivateUsers = true;
|
||||||
|
ProtectHome = true;
|
||||||
|
ProtectKernelLogs = true;
|
||||||
|
ProtectKernelModules = true;
|
||||||
|
ProtectKernelTunables = true;
|
||||||
|
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ];
|
||||||
|
RestrictNamespaces = true;
|
||||||
|
SystemCallArchitectures = "native";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -1,69 +1,17 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, options, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
inherit (pkgs) ipfs runCommand makeWrapper;
|
|
||||||
|
|
||||||
cfg = config.services.ipfs;
|
cfg = config.services.ipfs;
|
||||||
|
opt = options.services.ipfs;
|
||||||
|
|
||||||
ipfsFlags = toString ([
|
ipfsFlags = toString ([
|
||||||
(optionalString cfg.autoMount "--mount")
|
(optionalString cfg.autoMount "--mount")
|
||||||
#(optionalString cfg.autoMigrate "--migrate")
|
|
||||||
(optionalString cfg.enableGC "--enable-gc")
|
(optionalString cfg.enableGC "--enable-gc")
|
||||||
(optionalString (cfg.serviceFdlimit != null) "--manage-fdlimit=false")
|
(optionalString (cfg.serviceFdlimit != null) "--manage-fdlimit=false")
|
||||||
(optionalString (cfg.defaultMode == "offline") "--offline")
|
(optionalString (cfg.defaultMode == "offline") "--offline")
|
||||||
(optionalString (cfg.defaultMode == "norouting") "--routing=none")
|
(optionalString (cfg.defaultMode == "norouting") "--routing=none")
|
||||||
] ++ cfg.extraFlags);
|
] ++ cfg.extraFlags);
|
||||||
|
|
||||||
defaultDataDir = if versionAtLeast config.system.stateVersion "17.09" then
|
|
||||||
"/var/lib/ipfs" else
|
|
||||||
"/var/lib/ipfs/.ipfs";
|
|
||||||
|
|
||||||
# Wrapping the ipfs binary with the environment variable IPFS_PATH set to dataDir because we can't set it in the user environment
|
|
||||||
wrapped = runCommand "ipfs" { buildInputs = [ makeWrapper ]; preferLocalBuild = true; } ''
|
|
||||||
mkdir -p "$out/bin"
|
|
||||||
makeWrapper "${ipfs}/bin/ipfs" "$out/bin/ipfs" \
|
|
||||||
--set IPFS_PATH ${cfg.dataDir} \
|
|
||||||
--prefix PATH : /run/wrappers/bin
|
|
||||||
'';
|
|
||||||
|
|
||||||
|
|
||||||
commonEnv = {
|
|
||||||
environment.IPFS_PATH = cfg.dataDir;
|
|
||||||
path = [ wrapped ];
|
|
||||||
serviceConfig.User = cfg.user;
|
|
||||||
serviceConfig.Group = cfg.group;
|
|
||||||
};
|
|
||||||
|
|
||||||
baseService = recursiveUpdate commonEnv {
|
|
||||||
wants = [ "ipfs-init.service" ];
|
|
||||||
# NB: migration must be performed prior to pre-start, else we get the failure message!
|
|
||||||
preStart = optionalString cfg.autoMount ''
|
|
||||||
ipfs --local config Mounts.FuseAllowOther --json true
|
|
||||||
ipfs --local config Mounts.IPFS ${cfg.ipfsMountDir}
|
|
||||||
ipfs --local config Mounts.IPNS ${cfg.ipnsMountDir}
|
|
||||||
'' + concatStringsSep "\n" (collect
|
|
||||||
isString
|
|
||||||
(mapAttrsRecursive
|
|
||||||
(path: value:
|
|
||||||
# Using heredoc below so that the value is never improperly quoted
|
|
||||||
''
|
|
||||||
read value <<EOF
|
|
||||||
${builtins.toJSON value}
|
|
||||||
EOF
|
|
||||||
ipfs --local config --json "${concatStringsSep "." path}" "$value"
|
|
||||||
'')
|
|
||||||
({ Addresses.API = cfg.apiAddress;
|
|
||||||
Addresses.Gateway = cfg.gatewayAddress;
|
|
||||||
Addresses.Swarm = cfg.swarmAddress;
|
|
||||||
} //
|
|
||||||
cfg.extraConfig))
|
|
||||||
);
|
|
||||||
serviceConfig = {
|
|
||||||
ExecStart = "${wrapped}/bin/ipfs daemon ${ipfsFlags}";
|
|
||||||
Restart = "on-failure";
|
|
||||||
RestartSec = 1;
|
|
||||||
} // optionalAttrs (cfg.serviceFdlimit != null) { LimitNOFILE = cfg.serviceFdlimit; };
|
|
||||||
};
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
###### interface
|
###### interface
|
||||||
@ -88,7 +36,9 @@ in {
|
|||||||
|
|
||||||
dataDir = mkOption {
|
dataDir = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = defaultDataDir;
|
default = if versionAtLeast config.system.stateVersion "17.09"
|
||||||
|
then "/var/lib/ipfs"
|
||||||
|
else "/var/lib/ipfs/.ipfs";
|
||||||
description = "The data dir for IPFS";
|
description = "The data dir for IPFS";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -98,18 +48,6 @@ in {
|
|||||||
description = "systemd service that is enabled by default";
|
description = "systemd service that is enabled by default";
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
autoMigrate = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = ''
|
|
||||||
Whether IPFS should try to migrate the file system automatically.
|
|
||||||
|
|
||||||
The daemon will need to be able to download a binary from https://ipfs.io to perform the migration.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
|
|
||||||
autoMount = mkOption {
|
autoMount = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
@ -199,13 +137,21 @@ in {
|
|||||||
example = 64*1024;
|
example = 64*1024;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
startWhenNeeded = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "Whether to use socket activation to start IPFS when needed.";
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
###### implementation
|
###### implementation
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = [ wrapped ];
|
environment.systemPackages = [ pkgs.ipfs ];
|
||||||
|
environment.variables.IPFS_PATH = cfg.dataDir;
|
||||||
|
|
||||||
programs.fuse = mkIf cfg.autoMount {
|
programs.fuse = mkIf cfg.autoMount {
|
||||||
userAllowOther = true;
|
userAllowOther = true;
|
||||||
};
|
};
|
||||||
@ -234,10 +180,14 @@ in {
|
|||||||
"d '${cfg.ipnsMountDir}' - ${cfg.user} ${cfg.group} - -"
|
"d '${cfg.ipnsMountDir}' - ${cfg.user} ${cfg.group} - -"
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.services.ipfs-init = recursiveUpdate commonEnv {
|
systemd.packages = [ pkgs.ipfs ];
|
||||||
|
|
||||||
|
systemd.services.ipfs-init = {
|
||||||
description = "IPFS Initializer";
|
description = "IPFS Initializer";
|
||||||
|
|
||||||
before = [ "ipfs.service" "ipfs-offline.service" "ipfs-norouting.service" ];
|
environment.IPFS_PATH = cfg.dataDir;
|
||||||
|
|
||||||
|
path = [ pkgs.ipfs ];
|
||||||
|
|
||||||
script = ''
|
script = ''
|
||||||
if [[ ! -f ${cfg.dataDir}/config ]]; then
|
if [[ ! -f ${cfg.dataDir}/config ]]; then
|
||||||
@ -251,34 +201,63 @@ in {
|
|||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
|
User = cfg.user;
|
||||||
|
Group = cfg.group;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO These 3 definitions possibly be further abstracted through use of a function
|
systemd.services.ipfs = {
|
||||||
# like: mutexServices "ipfs" [ "", "offline", "norouting" ] { ... shared conf here ... }
|
path = [ "/run/wrappers" pkgs.ipfs ];
|
||||||
|
environment.IPFS_PATH = cfg.dataDir;
|
||||||
|
|
||||||
systemd.services.ipfs = recursiveUpdate baseService {
|
wants = [ "ipfs-init.service" ];
|
||||||
description = "IPFS Daemon";
|
after = [ "ipfs-init.service" ];
|
||||||
wantedBy = mkIf (cfg.defaultMode == "online") [ "multi-user.target" ];
|
|
||||||
after = [ "network.target" "ipfs-init.service" ];
|
preStart = optionalString cfg.autoMount ''
|
||||||
conflicts = [ "ipfs-offline.service" "ipfs-norouting.service"];
|
ipfs --local config Mounts.FuseAllowOther --json true
|
||||||
|
ipfs --local config Mounts.IPFS ${cfg.ipfsMountDir}
|
||||||
|
ipfs --local config Mounts.IPNS ${cfg.ipnsMountDir}
|
||||||
|
'' + concatStringsSep "\n" (collect
|
||||||
|
isString
|
||||||
|
(mapAttrsRecursive
|
||||||
|
(path: value:
|
||||||
|
# Using heredoc below so that the value is never improperly quoted
|
||||||
|
''
|
||||||
|
read value <<EOF
|
||||||
|
${builtins.toJSON value}
|
||||||
|
EOF
|
||||||
|
ipfs --local config --json "${concatStringsSep "." path}" "$value"
|
||||||
|
'')
|
||||||
|
({ Addresses.API = cfg.apiAddress;
|
||||||
|
Addresses.Gateway = cfg.gatewayAddress;
|
||||||
|
Addresses.Swarm = cfg.swarmAddress;
|
||||||
|
} //
|
||||||
|
cfg.extraConfig))
|
||||||
|
);
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = ["" "${pkgs.ipfs}/bin/ipfs daemon ${ipfsFlags}"];
|
||||||
|
User = cfg.user;
|
||||||
|
Group = cfg.group;
|
||||||
|
} // optionalAttrs (cfg.serviceFdlimit != null) { LimitNOFILE = cfg.serviceFdlimit; };
|
||||||
|
} // optionalAttrs (!cfg.startWhenNeeded) {
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.ipfs-offline = recursiveUpdate baseService {
|
systemd.sockets.ipfs-gateway = {
|
||||||
description = "IPFS Daemon (offline mode)";
|
wantedBy = [ "sockets.target" ];
|
||||||
wantedBy = mkIf (cfg.defaultMode == "offline") [ "multi-user.target" ];
|
socketConfig.ListenStream = [ "" ]
|
||||||
after = [ "ipfs-init.service" ];
|
++ lib.optional (cfg.gatewayAddress == opt.gatewayAddress.default) [ "127.0.0.1:8080" "[::1]:8080" ];
|
||||||
conflicts = [ "ipfs.service" "ipfs-norouting.service"];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.ipfs-norouting = recursiveUpdate baseService {
|
systemd.sockets.ipfs-api = {
|
||||||
description = "IPFS Daemon (no routing mode)";
|
wantedBy = [ "sockets.target" ];
|
||||||
wantedBy = mkIf (cfg.defaultMode == "norouting") [ "multi-user.target" ];
|
socketConfig.ListenStream = [ "" "%t/ipfs.sock" ]
|
||||||
after = [ "ipfs-init.service" ];
|
++ lib.optional (cfg.apiAddress == opt.apiAddress.default) [ "127.0.0.1:5001" "[::1]:5001" ];
|
||||||
conflicts = [ "ipfs.service" "ipfs-offline.service"];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -232,18 +232,22 @@ let
|
|||||||
'';
|
'';
|
||||||
preStop = ''
|
preStop = ''
|
||||||
state="/run/nixos/network/routes/${i.name}"
|
state="/run/nixos/network/routes/${i.name}"
|
||||||
while read cidr; do
|
if [ -e "$state" ]; then
|
||||||
echo -n "deleting route $cidr... "
|
while read cidr; do
|
||||||
ip route del "$cidr" dev "${i.name}" >/dev/null 2>&1 && echo "done" || echo "failed"
|
echo -n "deleting route $cidr... "
|
||||||
done < "$state"
|
ip route del "$cidr" dev "${i.name}" >/dev/null 2>&1 && echo "done" || echo "failed"
|
||||||
rm -f "$state"
|
done < "$state"
|
||||||
|
rm -f "$state"
|
||||||
|
fi
|
||||||
|
|
||||||
state="/run/nixos/network/addresses/${i.name}"
|
state="/run/nixos/network/addresses/${i.name}"
|
||||||
while read cidr; do
|
if [ -e "$state" ]; then
|
||||||
echo -n "deleting address $cidr... "
|
while read cidr; do
|
||||||
ip addr del "$cidr" dev "${i.name}" >/dev/null 2>&1 && echo "done" || echo "failed"
|
echo -n "deleting address $cidr... "
|
||||||
done < "$state"
|
ip addr del "$cidr" dev "${i.name}" >/dev/null 2>&1 && echo "done" || echo "failed"
|
||||||
rm -f "$state"
|
done < "$state"
|
||||||
|
rm -f "$state"
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -21,5 +21,12 @@ import ./make-test-python.nix ({ pkgs, ...} : {
|
|||||||
)
|
)
|
||||||
|
|
||||||
machine.succeed(f"ipfs cat /ipfs/{ipfs_hash.strip()} | grep fnord")
|
machine.succeed(f"ipfs cat /ipfs/{ipfs_hash.strip()} | grep fnord")
|
||||||
|
|
||||||
|
ipfs_hash = machine.succeed(
|
||||||
|
"echo fnord2 | ipfs --api /unix/run/ipfs.sock add | awk '{ print $2 }'"
|
||||||
|
)
|
||||||
|
machine.succeed(
|
||||||
|
f"ipfs --api /unix/run/ipfs.sock cat /ipfs/{ipfs_hash.strip()} | grep fnord2"
|
||||||
|
)
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
55
nixos/tests/teeworlds.nix
Normal file
55
nixos/tests/teeworlds.nix
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
import ./make-test-python.nix ({ pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
client =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{ imports = [ ./common/x11.nix ];
|
||||||
|
environment.systemPackages = [ pkgs.teeworlds ];
|
||||||
|
};
|
||||||
|
|
||||||
|
in {
|
||||||
|
name = "teeworlds";
|
||||||
|
meta = with pkgs.stdenv.lib.maintainers; {
|
||||||
|
maintainers = [ hax404 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
nodes =
|
||||||
|
{ server =
|
||||||
|
{ services.teeworlds = {
|
||||||
|
enable = true;
|
||||||
|
openPorts = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
client1 = client;
|
||||||
|
client2 = client;
|
||||||
|
};
|
||||||
|
|
||||||
|
testScript =
|
||||||
|
''
|
||||||
|
start_all()
|
||||||
|
|
||||||
|
server.wait_for_unit("teeworlds.service")
|
||||||
|
server.wait_until_succeeds("ss --numeric --udp --listening | grep -q 8303")
|
||||||
|
|
||||||
|
client1.wait_for_x()
|
||||||
|
client2.wait_for_x()
|
||||||
|
|
||||||
|
client1.execute("teeworlds 'player_name Alice;connect server'&")
|
||||||
|
server.wait_until_succeeds(
|
||||||
|
'journalctl -u teeworlds -e | grep --extended-regexp -q "team_join player=\'[0-9]:Alice"'
|
||||||
|
)
|
||||||
|
|
||||||
|
client2.execute("teeworlds 'player_name Bob;connect server'&")
|
||||||
|
server.wait_until_succeeds(
|
||||||
|
'journalctl -u teeworlds -e | grep --extended-regexp -q "team_join player=\'[0-9]:Bob"'
|
||||||
|
)
|
||||||
|
|
||||||
|
server.sleep(10) # wait for a while to get a nice screenshot
|
||||||
|
|
||||||
|
client1.screenshot("screen_client1")
|
||||||
|
client2.screenshot("screen_client2")
|
||||||
|
'';
|
||||||
|
|
||||||
|
})
|
@ -3,7 +3,7 @@
|
|||||||
, qca-qt5, qjson, qtquickcontrols2, qtscript, qtwebengine
|
, qca-qt5, qjson, qtquickcontrols2, qtscript, qtwebengine
|
||||||
, karchive, kcmutils, kconfig, kdnssd, kguiaddons, kinit, kirigami2, knewstuff, knotifyconfig, ktexteditor, kwindowsystem
|
, karchive, kcmutils, kconfig, kdnssd, kguiaddons, kinit, kirigami2, knewstuff, knotifyconfig, ktexteditor, kwindowsystem
|
||||||
, fftw, phonon, plasma-framework, threadweaver
|
, fftw, phonon, plasma-framework, threadweaver
|
||||||
, curl, ffmpeg, gdk-pixbuf, libaio, libmtp, loudmouth, lzo, lz4, mysql57, pcre, snappy, taglib, taglib_extras
|
, curl, ffmpeg_3, gdk-pixbuf, libaio, libmtp, loudmouth, lzo, lz4, mysql57, pcre, snappy, taglib, taglib_extras
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
@ -26,7 +26,7 @@ mkDerivation rec {
|
|||||||
qca-qt5 qjson qtquickcontrols2 qtscript qtwebengine
|
qca-qt5 qjson qtquickcontrols2 qtscript qtwebengine
|
||||||
karchive kcmutils kconfig kdnssd kguiaddons kinit kirigami2 knewstuff knotifyconfig ktexteditor kwindowsystem
|
karchive kcmutils kconfig kdnssd kguiaddons kinit kirigami2 knewstuff knotifyconfig ktexteditor kwindowsystem
|
||||||
phonon plasma-framework threadweaver
|
phonon plasma-framework threadweaver
|
||||||
curl fftw ffmpeg gdk-pixbuf libaio libmtp loudmouth lz4 lzo mysql57.server mysql57.server.static
|
curl fftw ffmpeg_3 gdk-pixbuf libaio libmtp loudmouth lz4 lzo mysql57.server mysql57.server.static
|
||||||
pcre snappy taglib taglib_extras
|
pcre snappy taglib taglib_extras
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
, curl
|
, curl
|
||||||
, dbus
|
, dbus
|
||||||
, doxygen
|
, doxygen
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, fftw
|
, fftw
|
||||||
, fftwSinglePrec
|
, fftwSinglePrec
|
||||||
, flac
|
, flac
|
||||||
@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
|
|||||||
cppunit
|
cppunit
|
||||||
curl
|
curl
|
||||||
dbus
|
dbus
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
fftw
|
fftw
|
||||||
fftwSinglePrec
|
fftwSinglePrec
|
||||||
flac
|
flac
|
||||||
@ -149,8 +149,8 @@ stdenv.mkDerivation rec {
|
|||||||
sed 's|/usr/include/libintl.h|${glibc.dev}/include/libintl.h|' -i wscript
|
sed 's|/usr/include/libintl.h|${glibc.dev}/include/libintl.h|' -i wscript
|
||||||
patchShebangs ./tools/
|
patchShebangs ./tools/
|
||||||
substituteInPlace libs/ardour/video_tools_paths.cc \
|
substituteInPlace libs/ardour/video_tools_paths.cc \
|
||||||
--replace 'ffmpeg_exe = X_("");' 'ffmpeg_exe = X_("${ffmpeg}/bin/ffmpeg");' \
|
--replace 'ffmpeg_exe = X_("");' 'ffmpeg_exe = X_("${ffmpeg_3}/bin/ffmpeg");' \
|
||||||
--replace 'ffprobe_exe = X_("");' 'ffprobe_exe = X_("${ffmpeg}/bin/ffprobe");'
|
--replace 'ffprobe_exe = X_("");' 'ffprobe_exe = X_("${ffmpeg_3}/bin/ffprobe");'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, wrapGAppsHook, gettext, glib, gtk3
|
{ stdenv, fetchurl, pkgconfig, wrapGAppsHook, gettext, glib, gtk3
|
||||||
, libmowgli, dbus-glib, libxml2, xorg, gnome3, alsaLib
|
, libmowgli, dbus-glib, libxml2, xorg, gnome3, alsaLib
|
||||||
, libpulseaudio, libjack2, fluidsynth, libmad, libogg, libvorbis
|
, libpulseaudio, libjack2, fluidsynth, libmad, libogg, libvorbis
|
||||||
, libcdio, libcddb, flac, ffmpeg, mpg123, libcue, libmms, libbs2b
|
, libcdio, libcddb, flac, ffmpeg_3, mpg123, libcue, libmms, libbs2b
|
||||||
, libsndfile, libmodplug, libsamplerate, soxr, lirc, curl, wavpack
|
, libsndfile, libmodplug, libsamplerate, soxr, lirc, curl, wavpack
|
||||||
, neon, faad2, lame, libnotify, libsidplayfp
|
, neon, faad2, lame, libnotify, libsidplayfp
|
||||||
}:
|
}:
|
||||||
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
gettext glib gtk3 libmowgli dbus-glib libxml2
|
gettext glib gtk3 libmowgli dbus-glib libxml2
|
||||||
xorg.libXcomposite gnome3.adwaita-icon-theme alsaLib libjack2
|
xorg.libXcomposite gnome3.adwaita-icon-theme alsaLib libjack2
|
||||||
libpulseaudio fluidsynth libmad libogg libvorbis libcdio
|
libpulseaudio fluidsynth libmad libogg libvorbis libcdio
|
||||||
libcddb flac ffmpeg mpg123 libcue libmms libbs2b libsndfile
|
libcddb flac ffmpeg_3 mpg123 libcue libmms libbs2b libsndfile
|
||||||
libmodplug libsamplerate soxr lirc curl wavpack neon faad2
|
libmodplug libsamplerate soxr lirc curl wavpack neon faad2
|
||||||
lame libnotify libsidplayfp
|
lame libnotify libsidplayfp
|
||||||
];
|
];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
mkDerivation, lib, fetchurl, fetchpatch,
|
mkDerivation, lib, fetchurl, fetchpatch,
|
||||||
gettext, pkgconfig,
|
gettext, pkgconfig,
|
||||||
qtbase,
|
qtbase,
|
||||||
alsaLib, curl, faad2, ffmpeg, flac, fluidsynth, gdk-pixbuf, lame, libbs2b,
|
alsaLib, curl, faad2, ffmpeg_3, flac, fluidsynth, gdk-pixbuf, lame, libbs2b,
|
||||||
libcddb, libcdio, libcue, libjack2, libmad, libmms, libmodplug,
|
libcddb, libcdio, libcue, libjack2, libmad, libmms, libmodplug,
|
||||||
libmowgli, libnotify, libogg, libpulseaudio, libsamplerate, libsidplayfp,
|
libmowgli, libnotify, libogg, libpulseaudio, libsamplerate, libsidplayfp,
|
||||||
libsndfile, libvorbis, libxml2, lirc, mpg123, neon, qtmultimedia, soxr,
|
libsndfile, libvorbis, libxml2, lirc, mpg123, neon, qtmultimedia, soxr,
|
||||||
@ -45,7 +45,7 @@ mkDerivation {
|
|||||||
qtbase
|
qtbase
|
||||||
|
|
||||||
# Plugin dependencies
|
# Plugin dependencies
|
||||||
alsaLib curl faad2 ffmpeg flac fluidsynth gdk-pixbuf lame libbs2b libcddb
|
alsaLib curl faad2 ffmpeg_3 flac fluidsynth gdk-pixbuf lame libbs2b libcddb
|
||||||
libcdio libcue libjack2 libmad libmms libmodplug libmowgli
|
libcdio libcue libjack2 libmad libmms libmodplug libmowgli
|
||||||
libnotify libogg libpulseaudio libsamplerate libsidplayfp libsndfile
|
libnotify libogg libpulseaudio libsamplerate libsidplayfp libsndfile
|
||||||
libvorbis libxml2 lirc mpg123 neon qtmultimedia soxr wavpack
|
libvorbis libxml2 lirc mpg123 neon qtmultimedia soxr wavpack
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchzip, wxGTK30, pkgconfig, file, gettext,
|
{ stdenv, fetchzip, wxGTK30, pkgconfig, file, gettext,
|
||||||
libvorbis, libmad, libjack2, lv2, lilv, serd, sord, sratom, suil, alsaLib, libsndfile, soxr, flac, lame,
|
libvorbis, libmad, libjack2, lv2, lilv, serd, sord, sratom, suil, alsaLib, libsndfile, soxr, flac, lame,
|
||||||
expat, libid3tag, ffmpeg, soundtouch, /*, portaudio - given up fighting their portaudio.patch */
|
expat, libid3tag, ffmpeg_3, soundtouch, /*, portaudio - given up fighting their portaudio.patch */
|
||||||
autoconf, automake, libtool
|
autoconf, automake, libtool
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
file gettext wxGTK30 expat alsaLib
|
file gettext wxGTK30 expat alsaLib
|
||||||
libsndfile soxr libid3tag libjack2 lv2 lilv serd sord sratom suil wxGTK30.gtk
|
libsndfile soxr libid3tag libjack2 lv2 lilv serd sord sratom suil wxGTK30.gtk
|
||||||
ffmpeg libmad lame libvorbis flac soundtouch
|
ffmpeg_3 libmad lame libvorbis flac soundtouch
|
||||||
]; #ToDo: detach sbsms
|
]; #ToDo: detach sbsms
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, alsaLib, bzip2, cairo, dpkg, freetype, gdk-pixbuf
|
{ stdenv, fetchurl, alsaLib, bzip2, cairo, dpkg, freetype, gdk-pixbuf
|
||||||
, wrapGAppsHook, gtk2, gtk3, harfbuzz, jdk, lib, xorg
|
, wrapGAppsHook, gtk2, gtk3, harfbuzz, jdk, lib, xorg
|
||||||
, libbsd, libjack2, libpng, ffmpeg
|
, libbsd, libjack2, libpng, ffmpeg_3
|
||||||
, libxkbcommon
|
, libxkbcommon
|
||||||
, makeWrapper, pixman, autoPatchelfHook
|
, makeWrapper, pixman, autoPatchelfHook
|
||||||
, xdg_utils, zenity, zlib }:
|
, xdg_utils, zenity, zlib }:
|
||||||
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
binPath = lib.makeBinPath [
|
binPath = lib.makeBinPath [
|
||||||
xdg_utils zenity ffmpeg
|
xdg_utils zenity ffmpeg_3
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, ffmpeg, sox }:
|
{ stdenv, fetchurl, ffmpeg_3, sox }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "bs1770gain";
|
pname = "bs1770gain";
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1p6yz5q7czyf9ard65sp4kawdlkg40cfscr3b24znymmhs3p7rbk";
|
sha256 = "1p6yz5q7czyf9ard65sp4kawdlkg40cfscr3b24znymmhs3p7rbk";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ffmpeg sox ];
|
buildInputs = [ ffmpeg_3 sox ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error";
|
NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
, withTaglib ? true, taglib, taglib_extras
|
, withTaglib ? true, taglib, taglib_extras
|
||||||
, withHttpStream ? true, qtmultimedia
|
, withHttpStream ? true, qtmultimedia
|
||||||
, withReplaygain ? true, ffmpeg, speex, mpg123
|
, withReplaygain ? true, ffmpeg_3, speex, mpg123
|
||||||
, withMtp ? true, libmtp
|
, withMtp ? true, libmtp
|
||||||
, withOnlineServices ? true
|
, withOnlineServices ? true
|
||||||
, withDevices ? true, udisks2
|
, withDevices ? true, udisks2
|
||||||
@ -50,7 +50,7 @@ in mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ qtbase qtsvg ]
|
buildInputs = [ qtbase qtsvg ]
|
||||||
++ lib.optionals withTaglib [ taglib taglib_extras ]
|
++ lib.optionals withTaglib [ taglib taglib_extras ]
|
||||||
++ lib.optionals withReplaygain [ ffmpeg speex mpg123 ]
|
++ lib.optionals withReplaygain [ ffmpeg_3 speex mpg123 ]
|
||||||
++ lib.optional withHttpStream qtmultimedia
|
++ lib.optional withHttpStream qtmultimedia
|
||||||
++ lib.optional withCdda cdparanoia
|
++ lib.optional withCdda cdparanoia
|
||||||
++ lib.optional withCddb libcddb
|
++ lib.optional withCddb libcddb
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, alsaLib, file, fluidsynth, ffmpeg, jack2,
|
{ stdenv, fetchFromGitHub, alsaLib, file, fluidsynth, ffmpeg_3, jack2,
|
||||||
liblo, libpulseaudio, libsndfile, pkgconfig, python3Packages,
|
liblo, libpulseaudio, libsndfile, pkgconfig, python3Packages,
|
||||||
which, withFrontend ? true,
|
which, withFrontend ? true,
|
||||||
withQt ? true, qtbase ? null, wrapQtAppsHook ? null,
|
withQt ? true, qtbase ? null, wrapQtAppsHook ? null,
|
||||||
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||||||
] ++ optional withFrontend pyqt5;
|
] ++ optional withFrontend pyqt5;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
file liblo alsaLib fluidsynth ffmpeg jack2 libpulseaudio libsndfile
|
file liblo alsaLib fluidsynth ffmpeg_3 jack2 libpulseaudio libsndfile
|
||||||
] ++ pythonPath
|
] ++ pythonPath
|
||||||
++ optional withQt qtbase
|
++ optional withQt qtbase
|
||||||
++ optional withGtk2 gtk2
|
++ optional withGtk2 gtk2
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
, aacSupport ? true, faad2 ? null
|
, aacSupport ? true, faad2 ? null
|
||||||
, opusSupport ? true, opusfile ? null
|
, opusSupport ? true, opusfile ? null
|
||||||
, wavpackSupport ? false, wavpack ? null
|
, wavpackSupport ? false, wavpack ? null
|
||||||
, ffmpegSupport ? false, ffmpeg ? null
|
, ffmpegSupport ? false, ffmpeg_3 ? null
|
||||||
, apeSupport ? true, yasm ? null
|
, apeSupport ? true, yasm ? null
|
||||||
# misc plugins
|
# misc plugins
|
||||||
, zipSupport ? true, libzip ? null
|
, zipSupport ? true, libzip ? null
|
||||||
@ -45,7 +45,7 @@ assert cdaSupport -> (libcdio != null && libcddb != null);
|
|||||||
assert aacSupport -> faad2 != null;
|
assert aacSupport -> faad2 != null;
|
||||||
assert opusSupport -> opusfile != null;
|
assert opusSupport -> opusfile != null;
|
||||||
assert zipSupport -> libzip != null;
|
assert zipSupport -> libzip != null;
|
||||||
assert ffmpegSupport -> ffmpeg != null;
|
assert ffmpegSupport -> ffmpeg_3 != null;
|
||||||
assert apeSupport -> yasm != null;
|
assert apeSupport -> yasm != null;
|
||||||
assert artworkSupport -> imlib2 != null;
|
assert artworkSupport -> imlib2 != null;
|
||||||
assert hotkeysSupport -> libX11 != null;
|
assert hotkeysSupport -> libX11 != null;
|
||||||
@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional aacSupport faad2
|
++ optional aacSupport faad2
|
||||||
++ optional opusSupport opusfile
|
++ optional opusSupport opusfile
|
||||||
++ optional zipSupport libzip
|
++ optional zipSupport libzip
|
||||||
++ optional ffmpegSupport ffmpeg
|
++ optional ffmpegSupport ffmpeg_3
|
||||||
++ optional apeSupport yasm
|
++ optional apeSupport yasm
|
||||||
++ optional artworkSupport imlib2
|
++ optional artworkSupport imlib2
|
||||||
++ optional hotkeysSupport libX11
|
++ optional hotkeysSupport libX11
|
||||||
|
@ -14,7 +14,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pkgs; [
|
propagatedBuildInputs = with pkgs; [
|
||||||
python3Packages.numpy flac vorbis-tools ffmpeg faad2 lame
|
python3Packages.numpy flac vorbis-tools ffmpeg_3 faad2 lame
|
||||||
];
|
];
|
||||||
|
|
||||||
# There are no tests
|
# There are no tests
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv, fetchurl
|
||||||
, pkgconfig, cmake, python, ffmpeg, phonon, automoc4
|
, pkgconfig, cmake, python, ffmpeg_3, phonon, automoc4
|
||||||
, chromaprint, docbook_xml_dtd_45, docbook_xsl, libxslt
|
, chromaprint, docbook_xml_dtd_45, docbook_xsl, libxslt
|
||||||
, id3lib, taglib, mp4v2, flac, libogg, libvorbis
|
, id3lib, taglib, mp4v2, flac, libogg, libvorbis
|
||||||
, zlib, readline , qtbase, qttools, qtmultimedia, qtquickcontrols
|
, zlib, readline , qtbase, qttools, qtmultimedia, qtquickcontrols
|
||||||
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||||
buildInputs = with stdenv.lib;
|
buildInputs = with stdenv.lib;
|
||||||
[ pkgconfig cmake python ffmpeg phonon automoc4
|
[ pkgconfig cmake python ffmpeg_3 phonon automoc4
|
||||||
chromaprint docbook_xml_dtd_45 docbook_xsl libxslt
|
chromaprint docbook_xml_dtd_45 docbook_xsl libxslt
|
||||||
id3lib taglib mp4v2 flac libogg libvorbis zlib readline
|
id3lib taglib mp4v2 flac libogg libvorbis zlib readline
|
||||||
qtbase qttools qtmultimedia qtquickcontrols ];
|
qtbase qttools qtmultimedia qtquickcontrols ];
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
, musepackSupport ? true, libmpc, libmpcdec, taglib
|
, musepackSupport ? true, libmpc, libmpcdec, taglib
|
||||||
, vorbisSupport ? true, libvorbis
|
, vorbisSupport ? true, libvorbis
|
||||||
, speexSupport ? true, speex
|
, speexSupport ? true, speex
|
||||||
, ffmpegSupport ? true, ffmpeg
|
, ffmpegSupport ? true, ffmpeg_3
|
||||||
, sndfileSupport ? true, libsndfile
|
, sndfileSupport ? true, libsndfile
|
||||||
, wavpackSupport ? true, wavpack
|
, wavpackSupport ? true, wavpack
|
||||||
# Misc
|
# Misc
|
||||||
@ -60,7 +60,7 @@ in stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optionals musepackSupport [ libmpc libmpcdec taglib ]
|
++ stdenv.lib.optionals musepackSupport [ libmpc libmpcdec taglib ]
|
||||||
++ opt vorbisSupport libvorbis
|
++ opt vorbisSupport libvorbis
|
||||||
++ opt speexSupport speex
|
++ opt speexSupport speex
|
||||||
++ opt (ffmpegSupport && !withffmpeg4) ffmpeg
|
++ opt (ffmpegSupport && !withffmpeg4) ffmpeg_3
|
||||||
++ opt (ffmpegSupport && withffmpeg4) ffmpeg_4
|
++ opt (ffmpegSupport && withffmpeg4) ffmpeg_4
|
||||||
++ opt sndfileSupport libsndfile
|
++ opt sndfileSupport libsndfile
|
||||||
++ opt wavpackSupport wavpack
|
++ opt wavpackSupport wavpack
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, boost
|
, boost
|
||||||
, curl
|
, curl
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, lame
|
, lame
|
||||||
, libev
|
, libev
|
||||||
, libmicrohttpd
|
, libmicrohttpd
|
||||||
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||||||
alsaLib
|
alsaLib
|
||||||
boost
|
boost
|
||||||
curl
|
curl
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
lame
|
lame
|
||||||
libev
|
libev
|
||||||
libmicrohttpd
|
libmicrohttpd
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, libao, json_c, libgcrypt, ffmpeg, curl }:
|
{ fetchurl, stdenv, pkgconfig, libao, json_c, libgcrypt, ffmpeg_3, curl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pianobar-2020.04.05";
|
name = "pianobar-2020.04.05";
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libao json_c libgcrypt ffmpeg curl
|
libao json_c libgcrypt ffmpeg_3 curl
|
||||||
];
|
];
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ];
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, curl, libmms
|
, curl, libmms
|
||||||
# input plugins
|
# input plugins
|
||||||
, libmad, taglib, libvorbis, libogg, flac, libmpcdec, libmodplug, libsndfile
|
, libmad, taglib, libvorbis, libogg, flac, libmpcdec, libmodplug, libsndfile
|
||||||
, libcdio, cdparanoia, libcddb, faad2, ffmpeg, wildmidi
|
, libcdio, cdparanoia, libcddb, faad2, ffmpeg_3, wildmidi
|
||||||
# output plugins
|
# output plugins
|
||||||
, alsaLib, libpulseaudio
|
, alsaLib, libpulseaudio
|
||||||
# effect plugins
|
# effect plugins
|
||||||
@ -44,7 +44,7 @@ mkDerivation rec {
|
|||||||
curl libmms
|
curl libmms
|
||||||
# input plugins
|
# input plugins
|
||||||
libmad taglib libvorbis libogg flac libmpcdec libmodplug libsndfile
|
libmad taglib libvorbis libogg flac libmpcdec libmodplug libsndfile
|
||||||
libcdio cdparanoia libcddb faad2 ffmpeg wildmidi
|
libcdio cdparanoia libcddb faad2 ffmpeg_3 wildmidi
|
||||||
# output plugins
|
# output plugins
|
||||||
alsaLib libpulseaudio
|
alsaLib libpulseaudio
|
||||||
# effect plugins
|
# effect plugins
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, sox
|
, sox
|
||||||
}:
|
}:
|
||||||
@ -21,7 +21,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
(
|
(
|
||||||
substituteAll {
|
substituteAll {
|
||||||
src = ./ffmpeg-location.patch;
|
src = ./ffmpeg-location.patch;
|
||||||
inherit ffmpeg;
|
ffmpeg = ffmpeg_3;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, alsaLib, flac, libmad, libvorbis, mpg123
|
, alsaLib, flac, libmad, libvorbis, mpg123
|
||||||
, dsdSupport ? true
|
, dsdSupport ? true
|
||||||
, faad2Support ? true, faad2
|
, faad2Support ? true, faad2
|
||||||
, ffmpegSupport ? true, ffmpeg
|
, ffmpegSupport ? true, ffmpeg_3
|
||||||
, opusSupport ? true, opusfile
|
, opusSupport ? true, opusfile
|
||||||
, resampleSupport ? true, soxr
|
, resampleSupport ? true, soxr
|
||||||
, sslSupport ? true, openssl
|
, sslSupport ? true, openssl
|
||||||
@ -35,7 +35,7 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ alsaLib flac libmad libvorbis mpg123 ]
|
buildInputs = [ alsaLib flac libmad libvorbis mpg123 ]
|
||||||
++ optional faad2Support faad2
|
++ optional faad2Support faad2
|
||||||
++ optional ffmpegSupport ffmpeg
|
++ optional ffmpegSupport ffmpeg_3
|
||||||
++ optional opusSupport opusfile
|
++ optional opusSupport opusfile
|
||||||
++ optional resampleSupport soxr
|
++ optional resampleSupport soxr
|
||||||
++ optional sslSupport openssl;
|
++ optional sslSupport openssl;
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
let
|
let
|
||||||
version = "5.2.0";
|
version = "5.2.0";
|
||||||
bcpg = fetchurl {
|
bcpg = fetchurl {
|
||||||
url = "http://central.maven.org/maven2/org/bouncycastle/bcpg-jdk16/1.46/bcpg-jdk16-1.46.jar";
|
url = "mirror://maven/org/bouncycastle/bcpg-jdk16/1.46/bcpg-jdk16-1.46.jar";
|
||||||
sha256 = "16xhmwks4l65m5x150nd23y5lyppha9sa5fj65rzhxw66gbli82d";
|
sha256 = "16xhmwks4l65m5x150nd23y5lyppha9sa5fj65rzhxw66gbli82d";
|
||||||
};
|
};
|
||||||
jsr305 = fetchurl {
|
jsr305 = fetchurl {
|
||||||
url = "http://central.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar";
|
url = "mirror://maven/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar";
|
||||||
sha256 = "0s74pv8qjc42c7q8nbc0c3b1hgx0bmk3b8vbk1z80p4bbgx56zqy";
|
sha256 = "0s74pv8qjc42c7q8nbc0c3b1hgx0bmk3b8vbk1z80p4bbgx56zqy";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, flex, bison, pkgconfig, zlib, libtiff, libpng, fftw
|
{ stdenv, fetchFromGitHub, flex, bison, pkgconfig, zlib, libtiff, libpng, fftw
|
||||||
, cairo, readline, ffmpeg, makeWrapper, wxGTK30, netcdf, blas
|
, cairo, readline, ffmpeg_3, makeWrapper, wxGTK30, netcdf, blas
|
||||||
, proj, gdal, geos, sqlite, postgresql, libmysqlclient, python2Packages, libLAS, proj-datumgrid
|
, proj, gdal, geos, sqlite, postgresql, libmysqlclient, python2Packages, libLAS, proj-datumgrid
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo proj
|
buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo proj
|
||||||
readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql libmysqlclient blas
|
readline ffmpeg_3 makeWrapper wxGTK30 netcdf geos postgresql libmysqlclient blas
|
||||||
libLAS proj-datumgrid ]
|
libLAS proj-datumgrid ]
|
||||||
++ (with python2Packages; [ python dateutil wxPython30 numpy ]);
|
++ (with python2Packages; [ python dateutil wxPython30 numpy ]);
|
||||||
|
|
||||||
|
@ -50,13 +50,13 @@ let
|
|||||||
inherit (python2Packages) pygtk wrapPython python;
|
inherit (python2Packages) pygtk wrapPython python;
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "gimp";
|
pname = "gimp";
|
||||||
version = "2.10.18";
|
version = "2.10.20";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.gimp.org/pub/gimp/v${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
url = "http://download.gimp.org/pub/gimp/v${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "05np26g61fyr72s7qjfrcck8v57r0yswq5ihvqyzvgzfx08y3gv5";
|
sha256 = "4S+fh0saAHxCd7YKqB4LZzML5+YVPldJ6tg5uQL8ezw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig
|
{ stdenv, fetchFromGitHub, pkgconfig
|
||||||
, ffmpeg, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler
|
, ffmpeg_3, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation (rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ ffmpeg gtk3 imagemagick libarchive libspectre libwebp poppler ];
|
buildInputs = [ ffmpeg_3 gtk3 imagemagick libarchive libspectre libwebp poppler ];
|
||||||
|
|
||||||
prePatch = "patchShebangs .";
|
prePatch = "patchShebangs .";
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
mkDerivation, lib,
|
mkDerivation, lib,
|
||||||
extra-cmake-modules,
|
extra-cmake-modules,
|
||||||
ffmpeg, kio
|
ffmpeg_3, kio
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
@ -11,5 +11,5 @@ mkDerivation {
|
|||||||
maintainers = [ lib.maintainers.ttuegel ];
|
maintainers = [ lib.maintainers.ttuegel ];
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ extra-cmake-modules ];
|
nativeBuildInputs = [ extra-cmake-modules ];
|
||||||
buildInputs = [ ffmpeg kio ];
|
buildInputs = [ ffmpeg_3 kio ];
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
, flac, lame, libmad, libmpcdec, libvorbis
|
, flac, lame, libmad, libmpcdec, libvorbis
|
||||||
, libsamplerate, libsndfile, taglib
|
, libsamplerate, libsndfile, taglib
|
||||||
, cdparanoia, cdrdao, cdrtools, dvdplusrwtools, libburn, libdvdcss, libdvdread, vcdimager
|
, cdparanoia, cdrdao, cdrtools, dvdplusrwtools, libburn, libdvdcss, libdvdread, vcdimager
|
||||||
, ffmpeg, libmusicbrainz3, normalize, sox, transcode, kinit
|
, ffmpeg_3, libmusicbrainz3, normalize, sox, transcode, kinit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
@ -28,7 +28,7 @@ mkDerivation {
|
|||||||
# cd/dvd
|
# cd/dvd
|
||||||
cdparanoia libdvdcss libdvdread
|
cdparanoia libdvdcss libdvdread
|
||||||
# others
|
# others
|
||||||
ffmpeg libmusicbrainz3 shared-mime-info
|
ffmpeg_3 libmusicbrainz3 shared-mime-info
|
||||||
];
|
];
|
||||||
propagatedUserEnvPkgs = [ (lib.getBin kinit) ];
|
propagatedUserEnvPkgs = [ (lib.getBin kinit) ];
|
||||||
postFixup =
|
postFixup =
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{ stdenv, lib, fetchurl, makeDesktopItem, makeWrapper
|
{ stdenv, lib, fetchurl, makeDesktopItem, makeWrapper
|
||||||
, alsaLib, atk, cairo, cups, curl, dbus, expat, ffmpeg, fontconfig, freetype
|
, alsaLib, atk, cairo, cups, curl, dbus, expat, ffmpeg_3, fontconfig, freetype
|
||||||
, gdk-pixbuf, glib, glibc, gnome2, gtk2, libX11, libXScrnSaver, libXcomposite
|
, gdk-pixbuf, glib, glibc, gnome2, gtk2, libX11, libXScrnSaver, libXcomposite
|
||||||
, libXcursor, libXdamage, libXext, libXfixes, libXi, libXrandr, libXrender
|
, libXcursor, libXdamage, libXext, libXfixes, libXi, libXrandr, libXrender
|
||||||
, libXtst, libopus, libpulseaudio, libxcb, nspr, nss, pango, udev, x264
|
, libXtst, libopus, libpulseaudio, libxcb, nspr, nss, pango, udev, x264
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let libPath = lib.makeLibraryPath [
|
let libPath = lib.makeLibraryPath [
|
||||||
alsaLib atk cairo cups curl dbus expat ffmpeg fontconfig freetype gdk-pixbuf
|
alsaLib atk cairo cups curl dbus expat ffmpeg_3 fontconfig freetype gdk-pixbuf
|
||||||
glib glibc gnome2.GConf gtk2 libopus nspr nss pango stdenv.cc.cc udev x264
|
glib glibc gnome2.GConf gtk2 libopus nspr nss pango stdenv.cc.cc udev x264
|
||||||
libX11 libXScrnSaver libXcomposite libXcursor libXdamage libXext libXfixes
|
libX11 libXScrnSaver libXcomposite libXcursor libXdamage libXext libXfixes
|
||||||
libXi libXrandr libXrender libXtst libpulseaudio libxcb
|
libXi libXrandr libXrender libXtst libpulseaudio libxcb
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, stdenv, lib, fetchurl, boost, cmake, ffmpeg, gettext, glew
|
{ config, stdenv, lib, fetchurl, boost, cmake, ffmpeg_3, gettext, glew
|
||||||
, ilmbase, libXi, libX11, libXext, libXrender
|
, ilmbase, libXi, libX11, libXext, libXrender
|
||||||
, libjpeg, libpng, libsamplerate, libsndfile
|
, libjpeg, libpng, libsamplerate, libsndfile
|
||||||
, libtiff, libGLU, libGL, openal, opencolorio, openexr, openimagedenoise, openimageio2, openjpeg, python3Packages
|
, libtiff, libGLU, libGL, openal, opencolorio, openexr, openimagedenoise, openimageio2, openjpeg, python3Packages
|
||||||
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake ] ++ optional cudaSupport addOpenGLRunpath;
|
nativeBuildInputs = [ cmake ] ++ optional cudaSupport addOpenGLRunpath;
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ boost ffmpeg gettext glew ilmbase
|
[ boost ffmpeg_3 gettext glew ilmbase
|
||||||
freetype libjpeg libpng libsamplerate libsndfile libtiff
|
freetype libjpeg libpng libsamplerate libsndfile libtiff
|
||||||
opencolorio openexr openimagedenoise openimageio2 openjpeg python zlib fftw jemalloc
|
opencolorio openexr openimagedenoise openimageio2 openjpeg python zlib fftw jemalloc
|
||||||
alembic
|
alembic
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchFromGitHub, atomicparsley, flvstreamer, ffmpeg, makeWrapper, perl, perlPackages, rtmpdump}:
|
{stdenv, fetchFromGitHub, atomicparsley, flvstreamer, ffmpeg_3, makeWrapper, perl, perlPackages, rtmpdump}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ perlPackages.buildPerlPackage rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/man/man1
|
mkdir -p $out/bin $out/share/man/man1
|
||||||
cp get_iplayer $out/bin
|
cp get_iplayer $out/bin
|
||||||
wrapProgram $out/bin/get_iplayer --suffix PATH : ${makeBinPath [ atomicparsley ffmpeg flvstreamer rtmpdump ]} --prefix PERL5LIB : $PERL5LIB
|
wrapProgram $out/bin/get_iplayer --suffix PATH : ${makeBinPath [ atomicparsley ffmpeg_3 flvstreamer rtmpdump ]} --prefix PERL5LIB : $PERL5LIB
|
||||||
cp get_iplayer.1 $out/share/man/man1
|
cp get_iplayer.1 $out/share/man/man1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
61
pkgs/applications/misc/gitit/default.nix
Normal file
61
pkgs/applications/misc/gitit/default.nix
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
{ lib, haskellPackages, haskell, removeReferencesTo
|
||||||
|
# “Plugins” are a fancy way of saying gitit will invoke
|
||||||
|
# GHC at *runtime*, which in turn makes it pull GHC
|
||||||
|
# into its runtime closure. Only enable if you really need
|
||||||
|
# that feature. But if you do you’ll want to use gitit
|
||||||
|
# as a library anyway.
|
||||||
|
, pluginSupport ? false
|
||||||
|
}:
|
||||||
|
|
||||||
|
# this is similar to what we do with the pandoc executable
|
||||||
|
|
||||||
|
let
|
||||||
|
plain = haskellPackages.gitit;
|
||||||
|
plugins =
|
||||||
|
if pluginSupport
|
||||||
|
then plain
|
||||||
|
else haskell.lib.disableCabalFlag plain "plugins";
|
||||||
|
static = haskell.lib.justStaticExecutables plugins;
|
||||||
|
|
||||||
|
in
|
||||||
|
(haskell.lib.overrideCabal static (drv: {
|
||||||
|
buildTools = (drv.buildTools or []) ++ [ removeReferencesTo ];
|
||||||
|
})).overrideAttrs (drv: {
|
||||||
|
|
||||||
|
# These libraries are still referenced, because they generate
|
||||||
|
# a `Paths_*` module for figuring out their version.
|
||||||
|
# The `Paths_*` module is generated by Cabal, and contains the
|
||||||
|
# version, but also paths to e.g. the data directories, which
|
||||||
|
# lead to a transitive runtime dependency on the whole GHC distribution.
|
||||||
|
# This should ideally be fixed in haskellPackages (or even Cabal),
|
||||||
|
# but a minimal gitit is important enough to patch it manually.
|
||||||
|
disallowedReferences = [
|
||||||
|
haskellPackages.pandoc-types
|
||||||
|
haskellPackages.HTTP
|
||||||
|
haskellPackages.pandoc
|
||||||
|
haskellPackages.happstack-server
|
||||||
|
haskellPackages.filestore
|
||||||
|
];
|
||||||
|
postInstall = ''
|
||||||
|
remove-references-to \
|
||||||
|
-t ${haskellPackages.pandoc-types} \
|
||||||
|
$out/bin/gitit
|
||||||
|
remove-references-to \
|
||||||
|
-t ${haskellPackages.HTTP} \
|
||||||
|
$out/bin/gitit
|
||||||
|
remove-references-to \
|
||||||
|
-t ${haskellPackages.pandoc} \
|
||||||
|
$out/bin/gitit
|
||||||
|
remove-references-to \
|
||||||
|
-t ${haskellPackages.happstack-server} \
|
||||||
|
$out/bin/gitit
|
||||||
|
remove-references-to \
|
||||||
|
-t ${haskellPackages.filestore} \
|
||||||
|
$out/bin/gitit
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = drv.meta // {
|
||||||
|
maintainers = drv.meta.maintainers or []
|
||||||
|
++ [ lib.maintainers.Profpatsch ];
|
||||||
|
};
|
||||||
|
})
|
@ -4,7 +4,7 @@
|
|||||||
, withCC ? true, opencc
|
, withCC ? true, opencc
|
||||||
, withEpwing ? true, libeb
|
, withEpwing ? true, libeb
|
||||||
, withExtraTiff ? true, libtiff
|
, withExtraTiff ? true, libtiff
|
||||||
, withFFmpeg ? true, libao, ffmpeg
|
, withFFmpeg ? true, libao, ffmpeg_3
|
||||||
, withMultimedia ? true
|
, withMultimedia ? true
|
||||||
, withZim ? true, zstd }:
|
, withZim ? true, zstd }:
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ mkDerivation rec {
|
|||||||
++ stdenv.lib.optional withCC opencc
|
++ stdenv.lib.optional withCC opencc
|
||||||
++ stdenv.lib.optional withEpwing libeb
|
++ stdenv.lib.optional withEpwing libeb
|
||||||
++ stdenv.lib.optional withExtraTiff libtiff
|
++ stdenv.lib.optional withExtraTiff libtiff
|
||||||
++ stdenv.lib.optionals withFFmpeg [ libao ffmpeg ]
|
++ stdenv.lib.optionals withFFmpeg [ libao ffmpeg_3 ]
|
||||||
++ stdenv.lib.optional withZim zstd;
|
++ stdenv.lib.optional withZim zstd;
|
||||||
|
|
||||||
qmakeFlags = with stdenv.lib; [
|
qmakeFlags = with stdenv.lib; [
|
||||||
|
@ -28,7 +28,7 @@ in buildFHSUserEnv {
|
|||||||
# DGen // TODO: libarchive is broken
|
# DGen // TODO: libarchive is broken
|
||||||
|
|
||||||
# Dolphin
|
# Dolphin
|
||||||
bluez ffmpeg gettext portaudio wxGTK30 miniupnpc mbedtls lzo sfml gsm
|
bluez ffmpeg_3 gettext portaudio wxGTK30 miniupnpc mbedtls lzo sfml gsm
|
||||||
wavpack orc nettle gmp pcre vulkan-loader
|
wavpack orc nettle gmp pcre vulkan-loader
|
||||||
|
|
||||||
# DOSBox
|
# DOSBox
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
, cryptopp
|
, cryptopp
|
||||||
, curl
|
, curl
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, freeimage
|
, freeimage
|
||||||
, gcc-unwrapped
|
, gcc-unwrapped
|
||||||
, libmediainfo
|
, libmediainfo
|
||||||
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||||||
c-ares
|
c-ares
|
||||||
cryptopp
|
cryptopp
|
||||||
curl
|
curl
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
freeimage
|
freeimage
|
||||||
gcc-unwrapped
|
gcc-unwrapped
|
||||||
libmediainfo
|
libmediainfo
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, autoconf, automake, c-ares, cryptopp, curl, doxygen, fetchFromGitHub
|
{ stdenv, autoconf, automake, c-ares, cryptopp, curl, doxygen, fetchFromGitHub
|
||||||
, fetchpatch, ffmpeg, libmediainfo, libraw, libsodium, libtool, libuv, libzen
|
, fetchpatch, ffmpeg_3, libmediainfo, libraw, libsodium, libtool, libuv, libzen
|
||||||
, lsb-release, mkDerivation, pkgconfig, qtbase, qttools, sqlite, swig, unzip
|
, lsb-release, mkDerivation, pkgconfig, qtbase, qttools, sqlite, swig, unzip
|
||||||
, wget }:
|
, wget }:
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ mkDerivation rec {
|
|||||||
c-ares
|
c-ares
|
||||||
cryptopp
|
cryptopp
|
||||||
curl
|
curl
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
libmediainfo
|
libmediainfo
|
||||||
libraw
|
libraw
|
||||||
libsodium
|
libsodium
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, perl
|
{ stdenv, fetchFromGitHub, cmake, perl
|
||||||
, alsaLib, libevdev, libopus, udev, SDL2
|
, alsaLib, libevdev, libopus, udev, SDL2
|
||||||
, ffmpeg, pkgconfig, xorg, libvdpau, libpulseaudio, libcec
|
, ffmpeg_3, pkgconfig, xorg, libvdpau, libpulseaudio, libcec
|
||||||
, curl, expat, avahi, enet, libuuid, libva
|
, curl, expat, avahi, enet, libuuid, libva
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ cmake perl ];
|
nativeBuildInputs = [ cmake perl ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsaLib libevdev libopus udev SDL2
|
alsaLib libevdev libopus udev SDL2
|
||||||
ffmpeg pkgconfig xorg.libxcb libvdpau libpulseaudio libcec
|
ffmpeg_3 pkgconfig xorg.libxcb libvdpau libpulseaudio libcec
|
||||||
xorg.libpthreadstubs curl expat avahi enet libuuid libva
|
xorg.libpthreadstubs curl expat avahi enet libuuid libva
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, python3Packages, ffmpeg }:
|
{ lib, python3Packages, ffmpeg_3 }:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
version = "2.0";
|
version = "2.0";
|
||||||
@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
blinker
|
blinker
|
||||||
];
|
];
|
||||||
|
|
||||||
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
|
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg_3}/bin" ];
|
||||||
|
|
||||||
# No tests included
|
# No tests included
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
, xorg
|
, xorg
|
||||||
, libXScrnSaver, libXcursor, libXtst, libGLU, libGL
|
, libXScrnSaver, libXcursor, libXtst, libGLU, libGL
|
||||||
, protobuf, speechd, libXdamage, cups
|
, protobuf, speechd, libXdamage, cups
|
||||||
, ffmpeg, libxslt, libxml2, at-spi2-core
|
, ffmpeg_3, libxslt, libxml2, at-spi2-core
|
||||||
, jre
|
, jre
|
||||||
, pipewire_0_2
|
, pipewire_0_2
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ let
|
|||||||
libpng libcap
|
libpng libcap
|
||||||
xdg_utils minizip libwebp
|
xdg_utils minizip libwebp
|
||||||
libusb1 re2 zlib
|
libusb1 re2 zlib
|
||||||
ffmpeg libxslt libxml2
|
ffmpeg_3 libxslt libxml2
|
||||||
# harfbuzz # in versions over 63 harfbuzz and freetype are being built together
|
# harfbuzz # in versions over 63 harfbuzz and freetype are being built together
|
||||||
# so we can't build with one from system and other from source
|
# so we can't build with one from system and other from source
|
||||||
] ++ (if (versionRange "0" "84") then [ yasm ] else [ nasm ]);
|
] ++ (if (versionRange "0" "84") then [ yasm ] else [ nasm ]);
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -48,7 +48,7 @@
|
|||||||
, gnused
|
, gnused
|
||||||
, gnugrep
|
, gnugrep
|
||||||
, gnupg
|
, gnupg
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, runtimeShell
|
, runtimeShell
|
||||||
, systemLocale ? config.i18n.defaultLocale or "en-US"
|
, systemLocale ? config.i18n.defaultLocale or "en-US"
|
||||||
}:
|
}:
|
||||||
@ -134,7 +134,7 @@ stdenv.mkDerivation {
|
|||||||
libpulseaudio
|
libpulseaudio
|
||||||
(lib.getDev libpulseaudio)
|
(lib.getDev libpulseaudio)
|
||||||
systemd
|
systemd
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
] + ":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" [
|
] + ":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" [
|
||||||
stdenv.cc.cc
|
stdenv.cc.cc
|
||||||
];
|
];
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -35,10 +35,10 @@ rec {
|
|||||||
|
|
||||||
firefox-esr-68 = common rec {
|
firefox-esr-68 = common rec {
|
||||||
pname = "firefox-esr";
|
pname = "firefox-esr";
|
||||||
ffversion = "68.8.0esr";
|
ffversion = "68.9.0esr";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
|
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
|
||||||
sha512 = "2rl5irkamxi8caa8krj0wng93lb82kk9mf09mgci87mj9hy6fxzcrlmiiffp14s03rv0raagrn4w54pbx1336mylq6saxmfhpf676hk";
|
sha512 = "mEMYANgPfGgK757t4p34IXgQkSoxmn9/jC5jfEPs1PTikiOkF6+ypjFegl+XlFP/bmtaV1ZJq6XMY85ZVjdbuA==";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, lib, fetchgit, makeDesktopItem
|
{ stdenv, lib, fetchgit, makeDesktopItem
|
||||||
, pkgconfig, autoconf213, alsaLib, bzip2, cairo
|
, pkgconfig, autoconf213, alsaLib, bzip2, cairo
|
||||||
, dbus, dbus-glib, ffmpeg, file, fontconfig, freetype
|
, dbus, dbus-glib, ffmpeg_3, file, fontconfig, freetype
|
||||||
, gnome2, gnum4, gtk2, hunspell, libevent, libjpeg
|
, gnome2, gnum4, gtk2, hunspell, libevent, libjpeg
|
||||||
, libnotify, libstartup_notification, makeWrapper
|
, libnotify, libstartup_notification, makeWrapper
|
||||||
, libGLU, libGL, perl, python2, libpulseaudio
|
, libGLU, libGL, perl, python2, libpulseaudio
|
||||||
@ -11,17 +11,17 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
libPath = lib.makeLibraryPath [ ffmpeg ];
|
libPath = lib.makeLibraryPath [ ffmpeg_3 ];
|
||||||
gtkVersion = if withGTK3 then "3" else "2";
|
gtkVersion = if withGTK3 then "3" else "2";
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "palemoon";
|
pname = "palemoon";
|
||||||
version = "28.9.3";
|
version = "28.10.0";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://github.com/MoonchildProductions/Pale-Moon.git";
|
url = "https://github.com/MoonchildProductions/Pale-Moon.git";
|
||||||
rev = "${version}_Release";
|
rev = "${version}_Release";
|
||||||
sha256 = "1f8vfjyihlr2l79mkfgdcvwjnh261n6imkps310x9x3977jiq2wr";
|
sha256 = "0c64vmrp46sbl1dgl9dq2vkmpgz9gvgd59dk02jqwyhx4lln1g2l";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ in stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsaLib bzip2 cairo dbus dbus-glib ffmpeg fontconfig freetype
|
alsaLib bzip2 cairo dbus dbus-glib ffmpeg_3 fontconfig freetype
|
||||||
gnome2.GConf gtk2 hunspell libevent libjpeg libnotify
|
gnome2.GConf gtk2 hunspell libevent libjpeg libnotify
|
||||||
libstartup_notification libGLU libGL
|
libstartup_notification libGLU libGL
|
||||||
libpulseaudio unzip yasm zip zlib
|
libpulseaudio unzip yasm zip zlib
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
# Media support (implies audio support)
|
# Media support (implies audio support)
|
||||||
, mediaSupport ? true
|
, mediaSupport ? true
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
|
|
||||||
, gmp
|
, gmp
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ let
|
|||||||
]
|
]
|
||||||
++ optionals pulseaudioSupport [ libpulseaudio ]
|
++ optionals pulseaudioSupport [ libpulseaudio ]
|
||||||
++ optionals mediaSupport [
|
++ optionals mediaSupport [
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
];
|
];
|
||||||
|
|
||||||
# Library search path for the fte transport
|
# Library search path for the fte transport
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
, glibc
|
, glibc
|
||||||
, libXScrnSaver, libXcursor, libXtst, libGLU, libGL
|
, libXScrnSaver, libXcursor, libXtst, libGLU, libGL
|
||||||
, protobuf, speechd, libXdamage, cups
|
, protobuf, speechd, libXdamage, cups
|
||||||
, ffmpeg, libxslt, libxml2, at-spi2-core
|
, ffmpeg_3, libxslt, libxml2, at-spi2-core
|
||||||
, jre
|
, jre
|
||||||
|
|
||||||
# optional dependencies
|
# optional dependencies
|
||||||
@ -93,7 +93,7 @@ let
|
|||||||
libpng libcap
|
libpng libcap
|
||||||
xdg_utils yasm minizip libwebp
|
xdg_utils yasm minizip libwebp
|
||||||
libusb1 re2 zlib
|
libusb1 re2 zlib
|
||||||
ffmpeg libxslt libxml2
|
ffmpeg_3 libxslt libxml2
|
||||||
# harfbuzz # in versions over 63 harfbuzz and freetype are being built together
|
# harfbuzz # in versions over 63 harfbuzz and freetype are being built together
|
||||||
# so we can't build with one from system and other from source
|
# so we can't build with one from system and other from source
|
||||||
];
|
];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, zlib, libX11, libXext, libSM, libICE
|
{ stdenv, fetchurl, zlib, libX11, libXext, libSM, libICE
|
||||||
, libXfixes, libXt, libXi, libXcursor, libXScrnSaver, libXcomposite, libXdamage, libXtst, libXrandr
|
, libXfixes, libXt, libXi, libXcursor, libXScrnSaver, libXcomposite, libXdamage, libXtst, libXrandr
|
||||||
, alsaLib, dbus, cups, libexif, ffmpeg, systemd
|
, alsaLib, dbus, cups, libexif, ffmpeg_3, systemd
|
||||||
, freetype, fontconfig, libXft, libXrender, libxcb, expat
|
, freetype, fontconfig, libXft, libXrender, libxcb, expat
|
||||||
, libuuid
|
, libuuid
|
||||||
, gstreamer, gst-plugins-base, libxml2
|
, gstreamer, gst-plugins-base, libxml2
|
||||||
@ -35,7 +35,7 @@ in stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
stdenv.cc.cc stdenv.cc.libc zlib libX11 libXt libXext libSM libICE libxcb
|
stdenv.cc.cc stdenv.cc.libc zlib libX11 libXt libXext libSM libICE libxcb
|
||||||
libXi libXft libXcursor libXfixes libXScrnSaver libXcomposite libXdamage libXtst libXrandr
|
libXi libXft libXcursor libXfixes libXScrnSaver libXcomposite libXdamage libXtst libXrandr
|
||||||
atk at-spi2-atk at-spi2-core alsaLib dbus cups gtk3 gdk-pixbuf libexif ffmpeg systemd
|
atk at-spi2-atk at-spi2-core alsaLib dbus cups gtk3 gdk-pixbuf libexif ffmpeg_3 systemd
|
||||||
freetype fontconfig libXrender libuuid expat glib nss nspr
|
freetype fontconfig libXrender libuuid expat glib nss nspr
|
||||||
gstreamer libxml2 gst-plugins-base pango cairo gnome2.GConf
|
gstreamer libxml2 gst-plugins-base pango cairo gnome2.GConf
|
||||||
libdrm mesa
|
libdrm mesa
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{stdenv, fetchurl, zlib, openssl, libre, librem, pkgconfig, gst_all_1
|
{stdenv, fetchurl, zlib, openssl, libre, librem, pkgconfig, gst_all_1
|
||||||
, cairo, mpg123, alsaLib, SDL, libv4l, celt, libsndfile, srtp, ffmpeg
|
, cairo, mpg123, alsaLib, SDL, libv4l, celt, libsndfile, srtp, ffmpeg_3
|
||||||
, gsm, speex, portaudio, spandsp, libuuid, ccache, libvpx
|
, gsm, speex, portaudio, spandsp, libuuid, ccache, libvpx
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [zlib openssl libre librem cairo mpg123
|
buildInputs = [zlib openssl libre librem cairo mpg123
|
||||||
alsaLib SDL libv4l celt libsndfile srtp ffmpeg gsm speex portaudio spandsp libuuid
|
alsaLib SDL libv4l celt libsndfile srtp ffmpeg_3 gsm speex portaudio spandsp libuuid
|
||||||
ccache libvpx
|
ccache libvpx
|
||||||
] ++ (with gst_all_1; [ gstreamer gst-libav gst-plugins-base gst-plugins-bad gst-plugins-good ]);
|
] ++ (with gst_all_1; [ gstreamer gst-libav gst-plugins-base gst-plugins-bad gst-plugins-good ]);
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
, cyrus_sasl
|
, cyrus_sasl
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, gdk-pixbuf
|
, gdk-pixbuf
|
||||||
, glib
|
, glib
|
||||||
, gnused
|
, gnused
|
||||||
@ -137,7 +137,7 @@ mkDerivation rec {
|
|||||||
bzrtp
|
bzrtp
|
||||||
cairo
|
cairo
|
||||||
cyrus_sasl
|
cyrus_sasl
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
gdk-pixbuf
|
gdk-pixbuf
|
||||||
glib
|
glib
|
||||||
gtk2
|
gtk2
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, pytest, aiodns, slixmpp, pyinotify, potr, mpd2, cffi, pkgconfig, setuptools }:
|
, pytest, aiodns, slixmpp, pyinotify, potr, mpd2, cffi, pkgconfig, setuptools }:
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "poezio";
|
pname = "poezio";
|
||||||
version = "0.13";
|
version = "0.13.1";
|
||||||
|
|
||||||
disabled = pythonOlder "3.4";
|
disabled = pythonOlder "3.4";
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ buildPythonApplication rec {
|
|||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "14ig7va0yf5wdhi8hk00f1wni8pj37agggdnvsicvcw2rz1cdw0x";
|
sha256 = "041y61pcbdb86s04qwp8s1g6bp84yskc7vdizwpi2hz18y01x5fy";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, libtoxcore
|
, libtoxcore
|
||||||
, libpthreadstubs, libXdmcp, libXScrnSaver
|
, libpthreadstubs, libXdmcp, libXScrnSaver
|
||||||
, qtbase, qtsvg, qttools, qttranslations
|
, qtbase, qtsvg, qttools, qttranslations
|
||||||
, ffmpeg, filter-audio, libexif, libsodium, libopus
|
, ffmpeg_3, filter-audio, libexif, libsodium, libopus
|
||||||
, libvpx, openal, pcre, qrencode, sqlcipher
|
, libvpx, openal, pcre, qrencode, sqlcipher
|
||||||
, AVFoundation ? null }:
|
, AVFoundation ? null }:
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ in mkDerivation {
|
|||||||
libtoxcore
|
libtoxcore
|
||||||
libpthreadstubs libXdmcp libXScrnSaver
|
libpthreadstubs libXdmcp libXScrnSaver
|
||||||
qtbase qtsvg qttranslations
|
qtbase qtsvg qttranslations
|
||||||
ffmpeg filter-audio libexif libopus libsodium
|
ffmpeg_3 filter-audio libexif libopus libsodium
|
||||||
libvpx openal pcre qrencode sqlcipher
|
libvpx openal pcre qrencode sqlcipher
|
||||||
] ++ lib.optionals stdenv.isDarwin [ AVFoundation] ;
|
] ++ lib.optionals stdenv.isDarwin [ AVFoundation] ;
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
, libsndfile
|
, libsndfile
|
||||||
, dbus
|
, dbus
|
||||||
, dbus_cplusplus
|
, dbus_cplusplus
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, udev
|
, udev
|
||||||
, pcre
|
, pcre
|
||||||
, gsm
|
, gsm
|
||||||
@ -101,7 +101,7 @@ stdenv.mkDerivation {
|
|||||||
libsndfile
|
libsndfile
|
||||||
dbus
|
dbus
|
||||||
dbus_cplusplus
|
dbus_cplusplus
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
udev
|
udev
|
||||||
pcre
|
pcre
|
||||||
gsm
|
gsm
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
, curl, sqlite, openssl
|
, curl, sqlite, openssl
|
||||||
, libuuid, openh264, libv4l, libxkbfile, libXv, zlib, libXmu
|
, libuuid, openh264, libv4l, libxkbfile, libXv, zlib, libXmu
|
||||||
, libXtst, libXdamage, pam, libXfixes, libXrender, libjpeg_original
|
, libXtst, libXdamage, pam, libXfixes, libXrender, libjpeg_original
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
# Sky is linked to the libjpeg 8 version and checks for the version number in the code.
|
# Sky is linked to the libjpeg 8 version and checks for the version number in the code.
|
||||||
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
file
|
file
|
||||||
qt5.qtbase
|
qt5.qtbase
|
||||||
SDL
|
SDL
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
sqlite
|
sqlite
|
||||||
openssl
|
openssl
|
||||||
openh264
|
openh264
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ mkDerivation, lib, fetchFromGitHub, pkg-config, python3, cmake, ninja
|
{ mkDerivation, lib, fetchFromGitHub, pkg-config, python3, cmake, ninja
|
||||||
, qtbase, qtimageformats, libsForQt5, hunspell, xdg_utils, ffmpeg, openalSoft
|
, qtbase, qtimageformats, libsForQt5, hunspell, xdg_utils, ffmpeg_3, openalSoft
|
||||||
, lzma, lz4, xxHash, zlib, minizip, openssl, libtgvoip, microsoft_gsl, tl-expected
|
, lzma, lz4, xxHash, zlib, minizip, openssl, libtgvoip, microsoft_gsl, tl-expected
|
||||||
, range-v3
|
, range-v3
|
||||||
}:
|
}:
|
||||||
@ -21,7 +21,7 @@ mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkg-config python3 cmake ninja ];
|
nativeBuildInputs = [ pkg-config python3 cmake ninja ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase qtimageformats ffmpeg openalSoft lzma lz4 xxHash libsForQt5.libdbusmenu
|
qtbase qtimageformats ffmpeg_3 openalSoft lzma lz4 xxHash libsForQt5.libdbusmenu
|
||||||
zlib minizip openssl hunspell libtgvoip microsoft_gsl tl-expected range-v3
|
zlib minizip openssl hunspell libtgvoip microsoft_gsl tl-expected range-v3
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -26,6 +26,14 @@ buildGoModule rec {
|
|||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install -D misc/systemd/ipfs.service $out/etc/systemd/system/ipfs.service
|
||||||
|
install -D misc/systemd/ipfs-api.socket $out/etc/systemd/system/ipfs-api.socket
|
||||||
|
install -D misc/systemd/ipfs-gateway.socket $out/etc/systemd/system/ipfs-gateway.socket
|
||||||
|
substituteInPlace $out/etc/systemd/system/ipfs.service \
|
||||||
|
--replace /usr/bin/ipfs $out/bin/ipfs
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A global, versioned, peer-to-peer filesystem";
|
description = "A global, versioned, peer-to-peer filesystem";
|
||||||
homepage = "https://ipfs.io/";
|
homepage = "https://ipfs.io/";
|
||||||
|
@ -4,11 +4,11 @@ with stdenv.lib;
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mpop";
|
pname = "mpop";
|
||||||
version = "1.4.9";
|
version = "1.4.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
|
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0hinmyd4lipy9wi3grwm72vv6xrpf4m08i9g9nlxzxnwfanw885q";
|
sha256 = "1243hazpiwgvz2m3p48cdh0yw1019i6xjxgc7qyhmxcdy0inb6wy";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, libupnp, gpgme, gnome3, glib, libssh, pkgconfig, protobuf, bzip2
|
{ stdenv, fetchFromGitHub, libupnp, gpgme, gnome3, glib, libssh, pkgconfig, protobuf, bzip2
|
||||||
, libXScrnSaver, speex, curl, libxml2, libxslt, sqlcipher, libmicrohttpd, opencv, qmake, ffmpeg
|
, libXScrnSaver, speex, curl, libxml2, libxslt, sqlcipher, libmicrohttpd, opencv, qmake, ffmpeg_3
|
||||||
, qtmultimedia, qtx11extras, qttools }:
|
, qtmultimedia, qtx11extras, qttools }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig qmake ];
|
nativeBuildInputs = [ pkgconfig qmake ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
speex libupnp gpgme gnome3.libgnome-keyring glib libssh qtmultimedia qtx11extras qttools
|
speex libupnp gpgme gnome3.libgnome-keyring glib libssh qtmultimedia qtx11extras qttools
|
||||||
protobuf bzip2 libXScrnSaver curl libxml2 libxslt sqlcipher libmicrohttpd opencv ffmpeg
|
protobuf bzip2 libXScrnSaver curl libxml2 libxslt sqlcipher libmicrohttpd opencv ffmpeg_3
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -7,13 +7,13 @@ python3Packages.buildPythonApplication rec {
|
|||||||
pname = "stig";
|
pname = "stig";
|
||||||
# This project has a different concept for pre release / alpha,
|
# This project has a different concept for pre release / alpha,
|
||||||
# Read the project's README for details: https://github.com/rndusr/stig#stig
|
# Read the project's README for details: https://github.com/rndusr/stig#stig
|
||||||
version = "0.10.1a";
|
version = "0.11.0a";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rndusr";
|
owner = "rndusr";
|
||||||
repo = "stig";
|
repo = "stig";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "076rlial6h1nhwdxf1mx5nf2zld5ci43cadj9wf8xms7zn8s6c8v";
|
sha256 = "192v8f80jfly12bqzsslpxlvm72kdqm3jl40x1az5czpg4ab3lb7";
|
||||||
};
|
};
|
||||||
|
|
||||||
# urwidtrees 1.0.3 is requested by the developer because 1.0.2 (which is packaged
|
# urwidtrees 1.0.3 is requested by the developer because 1.0.2 (which is packaged
|
||||||
@ -34,7 +34,6 @@ python3Packages.buildPythonApplication rec {
|
|||||||
pyxdg
|
pyxdg
|
||||||
blinker
|
blinker
|
||||||
natsort
|
natsort
|
||||||
maxminddb
|
|
||||||
setproctitle
|
setproctitle
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -53,6 +52,8 @@ python3Packages.buildPythonApplication rec {
|
|||||||
"tests"
|
"tests"
|
||||||
# test_string__month_day_hour_minute_second fails on darwin
|
# test_string__month_day_hour_minute_second fails on darwin
|
||||||
"--deselect=tests/client_test/ttypes_test.py::TestTimestamp::test_string__month_day_hour_minute_second"
|
"--deselect=tests/client_test/ttypes_test.py::TestTimestamp::test_string__month_day_hour_minute_second"
|
||||||
|
# TestScrollBarWithScrollable.test_wrapping_bug fails
|
||||||
|
"--deselect=tests/tui_test/scroll_test.py::TestScrollBarWithScrollable::test_wrapping_bug"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, alsaLib, ffmpeg, glib, openssl
|
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, alsaLib, ffmpeg_3, glib, openssl
|
||||||
, pcre, zlib, libX11, libXcursor, libXdamage, libXext, libXi, libXinerama
|
, pcre, zlib, libX11, libXcursor, libXdamage, libXext, libXi, libXinerama
|
||||||
, libXrandr, libXrender, libXv, libXtst, libxkbcommon, libxkbfile, wayland
|
, libXrandr, libXrender, libXv, libXtst, libxkbcommon, libxkbfile, wayland
|
||||||
, gstreamer, gst-plugins-base, gst-plugins-good, libunwind, orc, libxslt
|
, gstreamer, gst-plugins-base, gst-plugins-good, libunwind, orc, libxslt
|
||||||
@ -50,7 +50,7 @@ in stdenv.mkDerivation rec {
|
|||||||
[
|
[
|
||||||
alsaLib
|
alsaLib
|
||||||
cups
|
cups
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
glib
|
glib
|
||||||
gst-plugins-base
|
gst-plugins-base
|
||||||
gst-plugins-good
|
gst-plugins-good
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "rclone";
|
pname = "rclone";
|
||||||
version = "1.52.0";
|
version = "1.52.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0v0f3pv8qgk8ggrhm4p9brra1ppj53b51jhgh5xi0rhgpxss0d6r";
|
sha256 = "1v91c3wydpixi0p0afclp4baxchigy3czlm1mq9hn6cw973z6spf";
|
||||||
};
|
};
|
||||||
|
|
||||||
goPackagePath = "github.com/rclone/rclone";
|
goPackagePath = "github.com/rclone/rclone";
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
let
|
let
|
||||||
version = "1.13.0";
|
version = "1.13.0";
|
||||||
jarName = "bfg-${version}.jar";
|
jarName = "bfg-${version}.jar";
|
||||||
mavenUrl = "http://central.maven.org/maven2/com/madgag/bfg/${version}/${jarName}";
|
mavenUrl = "mirror://maven/com/madgag/bfg/${version}/${jarName}";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit version jarName;
|
inherit version jarName;
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
, libass
|
, libass
|
||||||
, fftw
|
, fftw
|
||||||
, ffms
|
, ffms
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, zlib
|
, zlib
|
||||||
, icu
|
, icu
|
||||||
@ -85,7 +85,7 @@ stdenv.mkDerivation
|
|||||||
libass
|
libass
|
||||||
fftw
|
fftw
|
||||||
ffms
|
ffms
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
zlib
|
zlib
|
||||||
icu
|
icu
|
||||||
boost
|
boost
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
||||||
, cairo, ffmpeg, ffms, libjpeg, log4cpp, pango
|
, cairo, ffmpeg_3, ffms, libjpeg, log4cpp, pango
|
||||||
, avxeditSupport ? false, qt4 ? null
|
, avxeditSupport ? false, qt4 ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ cairo ffmpeg ffms libjpeg log4cpp pango ]
|
buildInputs = [ cairo ffmpeg_3 ffms libjpeg log4cpp pango ]
|
||||||
++ optional avxeditSupport qt4;
|
++ optional avxeditSupport qt4;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, wrapGAppsHook, gtk2, boost, gtkmm2, scons,
|
{ stdenv, fetchFromGitHub, wrapGAppsHook, gtk2, boost, gtkmm2, scons,
|
||||||
mjpegtools, libdvdread, dvdauthor, gettext, dvdplusrwtools, libxmlxx, ffmpeg,
|
mjpegtools, libdvdread, dvdauthor, gettext, dvdplusrwtools, libxmlxx, ffmpeg_3,
|
||||||
enca, pkgconfig, fetchpatch }:
|
enca, pkgconfig, fetchpatch }:
|
||||||
|
|
||||||
let fetchPatchFromAur = {name, sha256}:
|
let fetchPatchFromAur = {name, sha256}:
|
||||||
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk2 gtkmm2 mjpegtools libdvdread dvdauthor boost dvdplusrwtools
|
gtk2 gtkmm2 mjpegtools libdvdread dvdauthor boost dvdplusrwtools
|
||||||
libxmlxx ffmpeg enca
|
libxmlxx ffmpeg_3 enca
|
||||||
];
|
];
|
||||||
|
|
||||||
prefixKey = "PREFIX=";
|
prefixKey = "PREFIX=";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, makeDesktopItem, ffmpeg
|
{ stdenv, fetchurl, makeDesktopItem, ffmpeg_3
|
||||||
, qmake, qttools, mkDerivation
|
, qmake, qttools, mkDerivation
|
||||||
, qtbase, qtdeclarative, qtlocation, qtquickcontrols2, qtwebchannel, qtwebengine
|
, qtbase, qtdeclarative, qtlocation, qtquickcontrols2, qtwebchannel, qtwebengine
|
||||||
}:
|
}:
|
||||||
@ -13,13 +13,13 @@ mkDerivation rec {
|
|||||||
url = "https://download.clipgrab.org/${pname}-${version}.tar.gz";
|
url = "https://download.clipgrab.org/${pname}-${version}.tar.gz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ffmpeg qtbase qtdeclarative qtlocation qtquickcontrols2 qtwebchannel qtwebengine ];
|
buildInputs = [ ffmpeg_3 qtbase qtdeclarative qtlocation qtquickcontrols2 qtwebchannel qtwebengine ];
|
||||||
nativeBuildInputs = [ qmake qttools ];
|
nativeBuildInputs = [ qmake qttools ];
|
||||||
|
|
||||||
postPatch = stdenv.lib.optionalString (ffmpeg != null) ''
|
postPatch = stdenv.lib.optionalString (ffmpeg_3 != null) ''
|
||||||
substituteInPlace converter_ffmpeg.cpp \
|
substituteInPlace converter_ffmpeg.cpp \
|
||||||
--replace '"ffmpeg"' '"${ffmpeg.bin}/bin/ffmpeg"' \
|
--replace '"ffmpeg"' '"${ffmpeg_3.bin}/bin/ffmpeg"' \
|
||||||
--replace '"ffmpeg ' '"${ffmpeg.bin}/bin/ffmpeg '
|
--replace '"ffmpeg ' '"${ffmpeg_3.bin}/bin/ffmpeg '
|
||||||
'';
|
'';
|
||||||
|
|
||||||
qmakeFlags = [ "clipgrab.pro" ];
|
qmakeFlags = [ "clipgrab.pro" ];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, python3Packages, ffmpeg, mplayer, vcdimager, cdrkit, dvdauthor
|
{ stdenv, fetchFromGitHub, python3Packages, ffmpeg_3, mplayer, vcdimager, cdrkit, dvdauthor
|
||||||
, gtk3, gettext, wrapGAppsHook, gdk-pixbuf, gobject-introspection }:
|
, gtk3, gettext, wrapGAppsHook, gdk-pixbuf, gobject-introspection }:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -30,11 +30,11 @@ in buildPythonApplication {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
gtk3 pygobject3 gdk-pixbuf dbus-python ffmpeg mplayer dvdauthor vcdimager cdrkit urllib3 setuptools
|
gtk3 pygobject3 gdk-pixbuf dbus-python ffmpeg_3 mplayer dvdauthor vcdimager cdrkit urllib3 setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, lib, fetchurl, writeScript, cdrtools, dvdauthor, ffmpeg, imagemagick, lame, mjpegtools, sox, transcode, vorbis-tools, runtimeShell }:
|
{ stdenv, lib, fetchurl, writeScript, cdrtools, dvdauthor, ffmpeg_3, imagemagick, lame, mjpegtools, sox, transcode, vorbis-tools, runtimeShell }:
|
||||||
|
|
||||||
let
|
let
|
||||||
binPath = lib.makeBinPath [ cdrtools dvdauthor ffmpeg imagemagick lame mjpegtools sox transcode vorbis-tools ];
|
binPath = lib.makeBinPath [ cdrtools dvdauthor ffmpeg_3 imagemagick lame mjpegtools sox transcode vorbis-tools ];
|
||||||
|
|
||||||
wrapper = writeScript "dvd-slideshow.sh" ''
|
wrapper = writeScript "dvd-slideshow.sh" ''
|
||||||
#!${runtimeShell}
|
#!${runtimeShell}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonApplication
|
, buildPythonApplication
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, tqdm
|
, tqdm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ buildPythonApplication rec {
|
|||||||
sha256 = "18dpck9grnr3wgbjvdh4mjlx0zfwcxpy4rnpmc39in0yk3w7li2x";
|
sha256 = "18dpck9grnr3wgbjvdh4mjlx0zfwcxpy4rnpmc39in0yk3w7li2x";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ ffmpeg tqdm ];
|
propagatedBuildInputs = [ ffmpeg_3 tqdm ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
$out/bin/ffmpeg-normalize --help > /dev/null
|
$out/bin/ffmpeg-normalize --help > /dev/null
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, python3Packages, gtk3, gobject-introspection, ffmpeg, wrapGAppsHook }:
|
{ lib, python3Packages, gtk3, gobject-introspection, ffmpeg_3, wrapGAppsHook }:
|
||||||
|
|
||||||
with python3Packages;
|
with python3Packages;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
@ -17,7 +17,7 @@ buildPythonApplication rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg ]})
|
gappsWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg_3 ]})
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, mkDerivation, fetchurl, autoPatchelfHook
|
{ stdenv, mkDerivation, fetchurl, autoPatchelfHook
|
||||||
, ffmpeg, openssl, qtbase, zlib, pkgconfig
|
, ffmpeg_3, openssl, qtbase, zlib, pkgconfig
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -29,7 +29,7 @@ in mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [ autoPatchelfHook pkgconfig ];
|
nativeBuildInputs = [ autoPatchelfHook pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ ffmpeg openssl qtbase zlib ];
|
buildInputs = [ ffmpeg_3 openssl qtbase zlib ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ lib, buildPythonApplication, fetchFromGitHub, pythonOlder, file, fetchpatch
|
{ lib, buildPythonApplication, fetchFromGitHub, pythonOlder, file, fetchpatch
|
||||||
, cairo, ffmpeg, sox, xdg_utils, texlive
|
, cairo, ffmpeg_3, sox, xdg_utils, texlive
|
||||||
, colour, numpy, pillow, progressbar, scipy, tqdm, opencv , pycairo, pydub
|
, colour, numpy, pillow, progressbar, scipy, tqdm, opencv , pycairo, pydub
|
||||||
, pbr, fetchPypi
|
, pbr, fetchPypi
|
||||||
}:
|
}:
|
||||||
@ -28,14 +28,14 @@ buildPythonApplication rec {
|
|||||||
pycairo
|
pycairo
|
||||||
pydub
|
pydub
|
||||||
|
|
||||||
cairo sox ffmpeg xdg_utils
|
cairo sox ffmpeg_3 xdg_utils
|
||||||
];
|
];
|
||||||
|
|
||||||
# Test with texlive to see whether it works but don't propagate
|
# Test with texlive to see whether it works but don't propagate
|
||||||
# because it's huge and optional
|
# because it's huge and optional
|
||||||
# TODO: Use smaller TexLive distribution
|
# TODO: Use smaller TexLive distribution
|
||||||
# Doesn't need everything but it's hard to figure out what it needs
|
# Doesn't need everything but it's hard to figure out what it needs
|
||||||
checkInputs = [ cairo sox ffmpeg xdg_utils texlive.combined.scheme-full ];
|
checkInputs = [ cairo sox ffmpeg_3 xdg_utils texlive.combined.scheme-full ];
|
||||||
|
|
||||||
# Simple test and complex test with LaTeX
|
# Simple test and complex test with LaTeX
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
@ -13,13 +13,13 @@ with stdenv.lib;
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mkvtoolnix";
|
pname = "mkvtoolnix";
|
||||||
version = "46.0.0";
|
version = "47.0.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "mbunkus";
|
owner = "mbunkus";
|
||||||
repo = "mkvtoolnix";
|
repo = "mkvtoolnix";
|
||||||
rev = "release-${version}";
|
rev = "release-${version}";
|
||||||
sha256 = "1vyfvpsllnzhzaaz3s9lqlnkmnqchyhxj2d47bfyizs982r5kg24";
|
sha256 = "1s8y9khyfjg06mr7rmm26pk0b3nbkcrs56r29a9l57wbkqyl7qp9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
||||||
, ffmpeg, libjpeg, libmicrohttpd }:
|
, ffmpeg_3, libjpeg, libmicrohttpd }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "motion";
|
pname = "motion";
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ ffmpeg libjpeg libmicrohttpd ];
|
buildInputs = [ ffmpeg_3 libjpeg libmicrohttpd ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Monitors the video signal from cameras";
|
description = "Monitors the video signal from cameras";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, stdenv, fetchurl, pkgconfig, freetype, yasm, ffmpeg
|
{ config, stdenv, fetchurl, pkgconfig, freetype, yasm, ffmpeg_3
|
||||||
, aalibSupport ? true, aalib ? null
|
, aalibSupport ? true, aalib ? null
|
||||||
, fontconfigSupport ? true, fontconfig ? null, freefont_ttf ? null
|
, fontconfigSupport ? true, fontconfig ? null, freefont_ttf ? null
|
||||||
, fribidiSupport ? true, fribidi ? null
|
, fribidiSupport ? true, fribidi ? null
|
||||||
@ -107,7 +107,7 @@ stdenv.mkDerivation rec {
|
|||||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
nativeBuildInputs = [ pkgconfig yasm ];
|
nativeBuildInputs = [ pkgconfig yasm ];
|
||||||
buildInputs = with stdenv.lib;
|
buildInputs = with stdenv.lib;
|
||||||
[ freetype ffmpeg ]
|
[ freetype ffmpeg_3 ]
|
||||||
++ optional aalibSupport aalib
|
++ optional aalibSupport aalib
|
||||||
++ optional fontconfigSupport fontconfig
|
++ optional fontconfigSupport fontconfig
|
||||||
++ optional fribidiSupport fribidi
|
++ optional fribidiSupport fribidi
|
||||||
@ -199,6 +199,7 @@ stdenv.mkDerivation rec {
|
|||||||
optional fontconfigSupport "-lfontconfig"
|
optional fontconfigSupport "-lfontconfig"
|
||||||
++ optional fribidiSupport "-lfribidi"
|
++ optional fribidiSupport "-lfribidi"
|
||||||
++ optionals x11Support [ "-lX11" "-lXext" ]
|
++ optionals x11Support [ "-lX11" "-lXext" ]
|
||||||
|
++ [ "-lfreetype" ]
|
||||||
);
|
);
|
||||||
|
|
||||||
installTargets = [ "install" ] ++ stdenv.lib.optional x11Support "install-gui";
|
installTargets = [ "install" ] ++ stdenv.lib.optional x11Support "install-gui";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ lib, stdenv, fetchurl, qt4, pkgconfig, boost, expat, cairo, python2Packages,
|
{ lib, stdenv, fetchurl, qt4, pkgconfig, boost, expat, cairo, python2Packages,
|
||||||
cmake, flex, bison, pango, librsvg, librevenge, libxml2, libcdr, libzip,
|
cmake, flex, bison, pango, librsvg, librevenge, libxml2, libcdr, libzip,
|
||||||
poppler, imagemagick, openexr, ffmpeg, opencolorio, openimageio,
|
poppler, imagemagick, openexr, ffmpeg_3, opencolorio, openimageio,
|
||||||
qmake4Hook, libpng, libGL, lndir }:
|
qmake4Hook, libpng, libGL, lndir }:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -68,7 +68,7 @@ let
|
|||||||
sha256 = "0s196i9fkgr9iw92c94mxgs1lkxbhynkf83vmsgrldflmf0xjky7";
|
sha256 = "0s196i9fkgr9iw92c94mxgs1lkxbhynkf83vmsgrldflmf0xjky7";
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libpng ffmpeg openexr opencolorio openimageio boost libGL
|
libpng ffmpeg_3 openexr opencolorio openimageio boost libGL
|
||||||
seexpr
|
seexpr
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub
|
{ stdenv, fetchFromGitHub
|
||||||
, pkgconfig, cmake, doxygen
|
, pkgconfig, cmake, doxygen
|
||||||
, libopenshot-audio, imagemagick, ffmpeg
|
, libopenshot-audio, imagemagick, ffmpeg_3
|
||||||
, swig, python3
|
, swig, python3
|
||||||
, unittest-cpp, cppzmq, zeromq
|
, unittest-cpp, cppzmq, zeromq
|
||||||
, qtbase, qtmultimedia }:
|
, qtbase, qtmultimedia }:
|
||||||
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig cmake doxygen ];
|
nativeBuildInputs = [ pkgconfig cmake doxygen ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ imagemagick ffmpeg swig python3 unittest-cpp
|
[ imagemagick ffmpeg_3 swig python3 unittest-cpp
|
||||||
cppzmq zeromq qtbase qtmultimedia ];
|
cppzmq zeromq qtbase qtmultimedia ];
|
||||||
|
|
||||||
LIBOPENSHOT_AUDIO_DIR = libopenshot-audio;
|
LIBOPENSHOT_AUDIO_DIR = libopenshot-audio;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
, glib
|
, glib
|
||||||
, cairo
|
, cairo
|
||||||
, keybinder3
|
, keybinder3
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, python3
|
, python3
|
||||||
, libxml2
|
, libxml2
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ which ffmpeg gifski ]})
|
gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ which ffmpeg_3 gifski ]})
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
, qtquickcontrols
|
, qtquickcontrols
|
||||||
, qtimageformats
|
, qtimageformats
|
||||||
, qtxmlpatterns
|
, qtxmlpatterns
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, guvcview
|
, guvcview
|
||||||
, cmake
|
, cmake
|
||||||
, ninja
|
, ninja
|
||||||
@ -40,7 +40,7 @@ mkDerivation rec {
|
|||||||
v4l-utils
|
v4l-utils
|
||||||
libv4l
|
libv4l
|
||||||
pcre
|
pcre
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
guvcview
|
guvcview
|
||||||
qwt
|
qwt
|
||||||
];
|
];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, mkDerivation, fetchurl, alsaLib, ffmpeg, libjack2, libX11, libXext, qtx11extras
|
{ stdenv, mkDerivation, fetchurl, alsaLib, ffmpeg_3, libjack2, libX11, libXext, qtx11extras
|
||||||
, libXfixes, libGLU, libGL, pkgconfig, libpulseaudio, qtbase, cmake, ninja
|
, libXfixes, libGLU, libGL, pkgconfig, libpulseaudio, qtbase, cmake, ninja
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig cmake ninja ];
|
nativeBuildInputs = [ pkgconfig cmake ninja ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsaLib ffmpeg libjack2 libX11 libXext libXfixes libGLU libGL
|
alsaLib ffmpeg_3 libjack2 libX11 libXext libXfixes libGLU libGL
|
||||||
libpulseaudio qtbase qtx11extras
|
libpulseaudio qtbase qtx11extras
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, pythonPackages, fetchFromGitHub, rtmpdump, ffmpeg }:
|
{ stdenv, pythonPackages, fetchFromGitHub, rtmpdump, ffmpeg_3 }:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
version = "1.4.1";
|
version = "1.4.1";
|
||||||
@ -13,7 +13,7 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
|
|
||||||
checkInputs = with pythonPackages; [ pytest mock requests-mock freezegun ];
|
checkInputs = with pythonPackages; [ pytest mock requests-mock freezegun ];
|
||||||
|
|
||||||
propagatedBuildInputs = (with pythonPackages; [ pycryptodome requests iso-639 iso3166 websocket_client isodate ]) ++ [ rtmpdump ffmpeg ];
|
propagatedBuildInputs = (with pythonPackages; [ pycryptodome requests iso-639 iso3166 websocket_client isodate ]) ++ [ rtmpdump ffmpeg_3 ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/streamlink/streamlink";
|
homepage = "https://github.com/streamlink/streamlink";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, fetchgit, vdr, alsaLib, fetchFromGitHub
|
{ stdenv, fetchurl, fetchgit, vdr, alsaLib, fetchFromGitHub
|
||||||
, libvdpau, libxcb, xcbutilwm, graphicsmagick, libav, pcre, xorgserver, ffmpeg
|
, libvdpau, libxcb, xcbutilwm, graphicsmagick, libav, pcre, xorgserver, ffmpeg_3
|
||||||
, libiconv, boost, libgcrypt, perl, utillinux, groff, libva, xorg, ncurses
|
, libiconv, boost, libgcrypt, perl, utillinux, groff, libva, xorg, ncurses
|
||||||
, callPackage
|
, callPackage
|
||||||
}: let
|
}: let
|
||||||
@ -52,7 +52,7 @@ in {
|
|||||||
name = "vdr-vaapidevice-0.7.0";
|
name = "vdr-vaapidevice-0.7.0";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
vdr libxcb xcbutilwm ffmpeg
|
vdr libxcb xcbutilwm ffmpeg_3
|
||||||
alsaLib
|
alsaLib
|
||||||
libvdpau # vdpau
|
libvdpau # vdpau
|
||||||
libva # va-api
|
libva # va-api
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, autoreconfHook
|
{ stdenv, fetchurl, autoreconfHook
|
||||||
, libarchive, perl, xorg, libdvdnav, libbluray
|
, libarchive, perl, xorg, libdvdnav, libbluray
|
||||||
, zlib, a52dec, libmad, faad2, ffmpeg, alsaLib
|
, zlib, a52dec, libmad, faad2, ffmpeg_3, alsaLib
|
||||||
, pkgconfig, dbus, fribidi, freefont_ttf, libebml, libmatroska
|
, pkgconfig, dbus, fribidi, freefont_ttf, libebml, libmatroska
|
||||||
, libvorbis, libtheora, speex, lua5, libgcrypt, libgpgerror, libupnp
|
, libvorbis, libtheora, speex, lua5, libgcrypt, libgpgerror, libupnp
|
||||||
, libcaca, libpulseaudio, flac, schroedinger, libxml2, librsvg
|
, libcaca, libpulseaudio, flac, schroedinger, libxml2, librsvg
|
||||||
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
|||||||
# which are not included here for no other reason that nobody has mentioned
|
# which are not included here for no other reason that nobody has mentioned
|
||||||
# needing them
|
# needing them
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread
|
zlib a52dec libmad faad2 ffmpeg_3 alsaLib libdvdnav libdvdnav.libdvdread
|
||||||
libbluray dbus fribidi libvorbis libtheora speex lua5 libgcrypt libgpgerror
|
libbluray dbus fribidi libvorbis libtheora speex lua5 libgcrypt libgpgerror
|
||||||
libupnp libcaca libpulseaudio flac schroedinger libxml2 librsvg mpeg2dec
|
libupnp libcaca libpulseaudio flac schroedinger libxml2 librsvg mpeg2dec
|
||||||
systemd gnutls avahi libcddb SDL SDL_image libmtp unzip taglib libarchive
|
systemd gnutls avahi libcddb SDL SDL_image libmtp unzip taglib libarchive
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, mkDerivation
|
{ stdenv, fetchFromGitHub, mkDerivation
|
||||||
, pkgconfig, qtbase, qttools, qmake, qtmultimedia, qtx11extras, alsaLib, libv4l, libXrandr
|
, pkgconfig, qtbase, qttools, qmake, qtmultimedia, qtx11extras, alsaLib, libv4l, libXrandr
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
@ -35,7 +35,7 @@ mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
substituteInPlace settings/QvkSettings.cpp --subst-var-by ffmpeg ${ffmpeg}
|
substituteInPlace settings/QvkSettings.cpp --subst-var-by ffmpeg ${ffmpeg_3}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, makeWrapper, ffmpeg, imagemagick, dzen2, xorg }:
|
{ stdenv, fetchFromGitHub, makeWrapper, ffmpeg_3, imagemagick, dzen2, xorg }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "xscast-unstable";
|
pname = "xscast-unstable";
|
||||||
@ -21,7 +21,7 @@ stdenv.mkDerivation {
|
|||||||
patchShebangs $out/bin
|
patchShebangs $out/bin
|
||||||
|
|
||||||
wrapProgram "$out/bin/xscast" \
|
wrapProgram "$out/bin/xscast" \
|
||||||
--prefix PATH : ${stdenv.lib.makeBinPath [ ffmpeg dzen2 xorg.xwininfo xorg.xinput xorg.xmodmap imagemagick ]}
|
--prefix PATH : ${stdenv.lib.makeBinPath [ ffmpeg_3 dzen2 xorg.xwininfo xorg.xinput xorg.xmodmap imagemagick ]}
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{ fetchurl, stdenv }:
|
{ fetchurl, stdenv }:
|
||||||
let
|
let
|
||||||
defaultRepos = [
|
defaultRepos = [
|
||||||
"http://central.maven.org/maven2"
|
"http://repo1.maven.org/maven2"
|
||||||
"http://oss.sonatype.org/content/repositories/releases"
|
"http://oss.sonatype.org/content/repositories/releases"
|
||||||
"http://oss.sonatype.org/content/repositories/public"
|
"http://oss.sonatype.org/content/repositories/public"
|
||||||
"http://repo.typesafe.com/typesafe/releases"
|
"http://repo.typesafe.com/typesafe/releases"
|
||||||
|
@ -426,7 +426,6 @@
|
|||||||
# Maven Central
|
# Maven Central
|
||||||
maven = [
|
maven = [
|
||||||
"https://repo1.maven.org/maven2/"
|
"https://repo1.maven.org/maven2/"
|
||||||
"https://central.maven.org/maven2/"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Alsa Project
|
# Alsa Project
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
, qtx11extras
|
, qtx11extras
|
||||||
, dtkcore
|
, dtkcore
|
||||||
, dtkwidget
|
, dtkwidget
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, ffmpegthumbnailer
|
, ffmpegthumbnailer
|
||||||
, mpv
|
, mpv
|
||||||
, pulseaudio
|
, pulseaudio
|
||||||
@ -41,7 +41,7 @@ mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
dtkcore
|
dtkcore
|
||||||
dtkwidget
|
dtkwidget
|
||||||
ffmpeg
|
ffmpeg_3
|
||||||
ffmpegthumbnailer
|
ffmpegthumbnailer
|
||||||
libdvdnav
|
libdvdnav
|
||||||
libdvdread
|
libdvdread
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "polari";
|
pname = "polari";
|
||||||
version = "3.36.2";
|
version = "3.36.3";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||||
sha256 = "12i0gp2kwp0b7af135q32qygkhh2025f74dqbaylfbmzacbdpz5c";
|
sha256 = "0fpmrvhd40yay051bzn4x3gsrzdv42nav0pm5ps0np8wk1z689jg";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -30,11 +30,11 @@ in
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "go";
|
pname = "go";
|
||||||
version = "1.13.11";
|
version = "1.13.12";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://dl.google.com/go/go${version}.src.tar.gz";
|
url = "https://dl.google.com/go/go${version}.src.tar.gz";
|
||||||
sha256 = "0y86q2k00lh8c7wj3lha43g804iwr61nap8j3i907l2sway1mvc9";
|
sha256 = "0d5s5rqyzp6ykj4x1dz8infcsmj3gy8djnf63ji971ypwi6jrfhp";
|
||||||
};
|
};
|
||||||
|
|
||||||
# perl is used for testing go vet
|
# perl is used for testing go vet
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, requireFile, perl, unzip, glibc, zlib, bzip2, gdk-pixbuf, xorg, glib, fontconfig, freetype, cairo, pango, gtk3, gtk2, ffmpeg, libGL, atk, alsaLib, libav_0_8, setJavaClassPath }:
|
{ stdenv, requireFile, perl, unzip, glibc, zlib, bzip2, gdk-pixbuf, xorg, glib, fontconfig, freetype, cairo, pango, gtk3, gtk2, ffmpeg_3, libGL, atk, alsaLib, libav_0_8, setJavaClassPath }:
|
||||||
|
|
||||||
let
|
let
|
||||||
common = javaVersion:
|
common = javaVersion:
|
||||||
@ -117,7 +117,7 @@ let
|
|||||||
}.${javaVersion}
|
}.${javaVersion}
|
||||||
}:${
|
}:${
|
||||||
stdenv.lib.strings.makeLibraryPath [ glibc xorg.libXxf86vm xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXrender
|
stdenv.lib.strings.makeLibraryPath [ glibc xorg.libXxf86vm xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXrender
|
||||||
glib zlib bzip2 alsaLib fontconfig freetype pango gtk3 gtk2 cairo gdk-pixbuf atk ffmpeg libGL ]}"
|
glib zlib bzip2 alsaLib fontconfig freetype pango gtk3 gtk2 cairo gdk-pixbuf atk ffmpeg_3 libGL ]}"
|
||||||
|
|
||||||
for f in $(find $out -type f -perm -0100); do
|
for f in $(find $out -type f -perm -0100); do
|
||||||
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$f" || true
|
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$f" || true
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, fetchurl, writeText, gradleGen, pkgconfig, perl, cmake
|
{ stdenv, lib, fetchurl, writeText, gradleGen, pkgconfig, perl, cmake
|
||||||
, gperf, gtk2, gtk3, libXtst, libXxf86vm, glib, alsaLib, ffmpeg, python, ruby
|
, gperf, gtk2, gtk3, libXtst, libXxf86vm, glib, alsaLib, ffmpeg_3, python, ruby
|
||||||
, openjdk11-bootstrap }:
|
, openjdk11-bootstrap }:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -19,7 +19,7 @@ let
|
|||||||
sha256 = "1h7qsylr7rnwnbimqjyn3whszp9kv4h3gpicsrb3mradxc9yv194";
|
sha256 = "1h7qsylr7rnwnbimqjyn3whszp9kv4h3gpicsrb3mradxc9yv194";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsaLib ffmpeg ];
|
buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsaLib ffmpeg_3 ];
|
||||||
nativeBuildInputs = [ gradle_ perl pkgconfig cmake gperf python ruby ];
|
nativeBuildInputs = [ gradle_ perl pkgconfig cmake gperf python ruby ];
|
||||||
|
|
||||||
dontUseCmakeConfigure = true;
|
dontUseCmakeConfigure = true;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, writeText, openjdk11_headless, gradleGen
|
{ stdenv, lib, fetchFromGitHub, writeText, openjdk11_headless, gradleGen
|
||||||
, pkgconfig, perl, cmake, gperf, gtk2, gtk3, libXtst, libXxf86vm, glib, alsaLib
|
, pkgconfig, perl, cmake, gperf, gtk2, gtk3, libXtst, libXxf86vm, glib, alsaLib
|
||||||
, ffmpeg, python, ruby }:
|
, ffmpeg_3, python, ruby }:
|
||||||
|
|
||||||
let
|
let
|
||||||
major = "14";
|
major = "14";
|
||||||
@ -21,7 +21,7 @@ let
|
|||||||
sha256 = "16aj15xksc266gv3y42m0g277pfvp71901lrngndcnpr7i2zshnr";
|
sha256 = "16aj15xksc266gv3y42m0g277pfvp71901lrngndcnpr7i2zshnr";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsaLib ffmpeg ];
|
buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsaLib ffmpeg_3 ];
|
||||||
nativeBuildInputs = [ gradle_ perl pkgconfig cmake gperf python ruby ];
|
nativeBuildInputs = [ gradle_ perl pkgconfig cmake gperf python ruby ];
|
||||||
|
|
||||||
dontUseCmakeConfigure = true;
|
dontUseCmakeConfigure = true;
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
, glib
|
, glib
|
||||||
, libxml2
|
, libxml2
|
||||||
, libav_0_8
|
, libav_0_8
|
||||||
, ffmpeg
|
, ffmpeg_3
|
||||||
, libxslt
|
, libxslt
|
||||||
, libGL
|
, libGL
|
||||||
, freetype
|
, freetype
|
||||||
@ -171,7 +171,7 @@ let result = stdenv.mkDerivation rec {
|
|||||||
* libXt is only needed on amd64
|
* libXt is only needed on amd64
|
||||||
*/
|
*/
|
||||||
libraries =
|
libraries =
|
||||||
[stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL xorg.libXxf86vm alsaLib fontconfig freetype pango gtk2 cairo gdk-pixbuf atk] ++
|
[stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg_3 libxslt libGL xorg.libXxf86vm alsaLib fontconfig freetype pango gtk2 cairo gdk-pixbuf atk] ++
|
||||||
(if swingSupport then [xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXp xorg.libXt xorg.libXrender stdenv.cc.cc] else []);
|
(if swingSupport then [xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXp xorg.libXt xorg.libXrender stdenv.cc.cc] else []);
|
||||||
|
|
||||||
rpath = stdenv.lib.strings.makeLibraryPath libraries;
|
rpath = stdenv.lib.strings.makeLibraryPath libraries;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, fetchurl, unzip, makeWrapper, setJavaClassPath
|
{ stdenv, lib, fetchurl, unzip, makeWrapper, setJavaClassPath
|
||||||
, zulu, glib, libxml2, libav_0_8, ffmpeg, libxslt, libGL, alsaLib
|
, zulu, glib, libxml2, libav_0_8, ffmpeg_3, libxslt, libGL, alsaLib
|
||||||
, fontconfig, freetype, gnome2, cairo, gdk-pixbuf, atk, xorg
|
, fontconfig, freetype, gnome2, cairo, gdk-pixbuf, atk, xorg
|
||||||
, swingSupport ? true }:
|
, swingSupport ? true }:
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ let
|
|||||||
extension = if stdenv.isDarwin then "zip" else "tar.gz";
|
extension = if stdenv.isDarwin then "zip" else "tar.gz";
|
||||||
|
|
||||||
libraries = [
|
libraries = [
|
||||||
stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL
|
stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg_3 libxslt libGL
|
||||||
xorg.libXxf86vm alsaLib fontconfig freetype gnome2.pango
|
xorg.libXxf86vm alsaLib fontconfig freetype gnome2.pango
|
||||||
gnome2.gtk cairo gdk-pixbuf atk
|
gnome2.gtk cairo gdk-pixbuf atk
|
||||||
] ++ (lib.optionals swingSupport (with xorg; [
|
] ++ (lib.optionals swingSupport (with xorg; [
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, fetchurl, unzip, makeWrapper, setJavaClassPath
|
{ stdenv, lib, fetchurl, unzip, makeWrapper, setJavaClassPath
|
||||||
, zulu, glib, libxml2, libav_0_8, ffmpeg, libxslt, libGL, alsaLib
|
, zulu, glib, libxml2, libav_0_8, ffmpeg_3, libxslt, libGL, alsaLib
|
||||||
, fontconfig, freetype, gnome2, cairo, gdk-pixbuf, atk, xorg, zlib
|
, fontconfig, freetype, gnome2, cairo, gdk-pixbuf, atk, xorg, zlib
|
||||||
, swingSupport ? true }:
|
, swingSupport ? true }:
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ let
|
|||||||
extension = if stdenv.isDarwin then "zip" else "tar.gz";
|
extension = if stdenv.isDarwin then "zip" else "tar.gz";
|
||||||
|
|
||||||
libraries = [
|
libraries = [
|
||||||
stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL
|
stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg_3 libxslt libGL
|
||||||
xorg.libXxf86vm alsaLib fontconfig freetype gnome2.pango
|
xorg.libXxf86vm alsaLib fontconfig freetype gnome2.pango
|
||||||
gnome2.gtk cairo gdk-pixbuf atk zlib
|
gnome2.gtk cairo gdk-pixbuf atk zlib
|
||||||
] ++ (lib.optionals swingSupport (with xorg; [
|
] ++ (lib.optionals swingSupport (with xorg; [
|
||||||
|
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