Merge staging-next into staging
This commit is contained in:
commit
cfe6081cee
|
@ -202,3 +202,8 @@
|
|||
|
||||
# Blockchains
|
||||
/pkgs/applications/blockchains @mmahut
|
||||
|
||||
# Go
|
||||
/pkgs/development/compilers/go @kalbasit @Mic92 @zowoq
|
||||
/pkgs/development/go-modules @kalbasit @Mic92 @zowoq
|
||||
/pkgs/development/go-packages @kalbasit @Mic92 @zowoq
|
||||
|
|
|
@ -40,7 +40,9 @@ pet = buildGoModule rec {
|
|||
|
||||
subPackages = [ "." ]; <co xml:id='ex-buildGoModule-2' />
|
||||
|
||||
runVend = true; <co xml:id='ex-buildGoModule-3' />
|
||||
deleteVendor = true; <co xml:id='ex-buildGoModule-3' />
|
||||
|
||||
runVend = true; <co xml:id='ex-buildGoModule-4' />
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple command-line snippet manager, written in Go";
|
||||
|
@ -67,6 +69,11 @@ pet = buildGoModule rec {
|
|||
</para>
|
||||
</callout>
|
||||
<callout arearefs='ex-buildGoModule-3'>
|
||||
<para>
|
||||
<varname>deleteVendor</varname> removes the pre-existing vendor directory and fetches the dependencies. This should only be used if the dependencies included in the vendor folder are broken or incomplete.
|
||||
</para>
|
||||
</callout>
|
||||
<callout arearefs='ex-buildGoModule-4'>
|
||||
<para>
|
||||
<varname>runVend</varname> runs the vend command to generate the vendor directory. This is useful if your code depends on c code and go mod tidy does not include the needed sources to build.
|
||||
</para>
|
||||
|
|
|
@ -640,8 +640,8 @@ and in this case the `python38` interpreter is automatically used.
|
|||
|
||||
### Interpreters
|
||||
|
||||
Versions 2.7, 3.5, 3.6, 3.7 and 3.8 of the CPython interpreter are available as
|
||||
respectively `python27`, `python35`, `python36`, `python37` and `python38`. The
|
||||
Versions 2.7, 3.6, 3.7 and 3.8 of the CPython interpreter are available as
|
||||
respectively `python27`, `python36`, `python37` and `python38`. The
|
||||
aliases `python2` and `python3` correspond to respectively `python27` and
|
||||
`python38`. The default interpreter, `python`, maps to `python2`. The PyPy
|
||||
interpreters compatible with Python 2.7 and 3 are available as `pypy27` and
|
||||
|
@ -689,15 +689,16 @@ attribute set is created for each available Python interpreter. The available
|
|||
sets are
|
||||
|
||||
* `pkgs.python27Packages`
|
||||
* `pkgs.python35Packages`
|
||||
* `pkgs.python36Packages`
|
||||
* `pkgs.python37Packages`
|
||||
* `pkgs.python38Packages`
|
||||
* `pkgs.python39Packages`
|
||||
* `pkgs.pypyPackages`
|
||||
|
||||
and the aliases
|
||||
|
||||
* `pkgs.python2Packages` pointing to `pkgs.python27Packages`
|
||||
* `pkgs.python3Packages` pointing to `pkgs.python37Packages`
|
||||
* `pkgs.python3Packages` pointing to `pkgs.python38Packages`
|
||||
* `pkgs.pythonPackages` pointing to `pkgs.python2Packages`
|
||||
|
||||
#### `buildPythonPackage` function
|
||||
|
|
|
@ -3954,6 +3954,12 @@
|
|||
githubId = 8735102;
|
||||
name = "John Ramsden";
|
||||
};
|
||||
johntitor = {
|
||||
email = "huyuumi.dev@gmail.com";
|
||||
github = "JohnTitor";
|
||||
githubId = 25030997;
|
||||
name = "Yuki Okushi";
|
||||
};
|
||||
jojosch = {
|
||||
name = "Johannes Schleifenbaum";
|
||||
email = "johannes@js-webcoding.de";
|
||||
|
@ -4661,6 +4667,12 @@
|
|||
fingerprint = "7FE2 113A A08B 695A C8B8 DDE6 AE53 B4C2 E58E DD45";
|
||||
}];
|
||||
};
|
||||
lf- = {
|
||||
email = "nix-maint@lfcode.ca";
|
||||
github = "lf-";
|
||||
githubId = 6652840;
|
||||
name = "Jade";
|
||||
};
|
||||
lheckemann = {
|
||||
email = "git@sphalerite.org";
|
||||
github = "lheckemann";
|
||||
|
|
|
@ -100,6 +100,35 @@ ROCR_EXT_DIR=`nix-build '<nixpkgs>' --no-out-link -A rocm-runtime-ext`/lib
|
|||
Image support Yes</screen>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section xml:id="sec-gpu-accel-opencl-intel">
|
||||
<title>Intel</title>
|
||||
|
||||
<para>
|
||||
<link
|
||||
xlink:href="https://en.wikipedia.org/wiki/List_of_Intel_graphics_processing_units#Gen8">Intel
|
||||
Gen8 and later GPUs</link> are supported by the Intel NEO OpenCL
|
||||
runtime that is provided by the
|
||||
<package>intel-compute-runtime</package> package. For Gen7 GPUs,
|
||||
the deprecated Beignet runtime can be used, which is provided
|
||||
by the <package>beignet</package> package. The proprietary Intel
|
||||
OpenCL runtime, in the <package>intel-ocl</package> package, is
|
||||
an alternative for Gen7 GPUs.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The <package>intel-compute-runtime</package>, <package>beignet</package>,
|
||||
or <package>intel-ocl</package> package can be added to
|
||||
<xref linkend="opt-hardware.opengl.extraPackages"/> to enable OpenCL
|
||||
support. For example, for Gen8 and later GPUs, the following
|
||||
configuration can be used:
|
||||
|
||||
<programlisting><xref linkend="opt-hardware.opengl.extraPackages"/> = [
|
||||
intel-compute-runtime
|
||||
];</programlisting>
|
||||
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section xml:id="sec-gpu-accel-vulkan">
|
||||
|
@ -190,4 +219,63 @@ GPU1:
|
|||
</para>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section xml:id="sec-gpu-accel-common-issues">
|
||||
<title>Common issues</title>
|
||||
|
||||
<section xml:id="sec-gpu-accel-common-issues-permissions">
|
||||
<title>User permissions</title>
|
||||
|
||||
<para>
|
||||
Except where noted explicitly, it should not be necessary to
|
||||
adjust user permissions to use these acceleration APIs. In the default
|
||||
configuration, GPU devices have world-read/write permissions
|
||||
(<filename>/dev/dri/renderD*</filename>) or are tagged as
|
||||
<code>uaccess</code> (<filename>/dev/dri/card*</filename>). The
|
||||
access control lists of devices with the <varname>uaccess</varname>
|
||||
tag will be updated automatically when a user logs in through
|
||||
<command>systemd-logind</command>. For example, if the user
|
||||
<emphasis>jane</emphasis> is logged in, the access control list
|
||||
should look as follows:
|
||||
|
||||
<screen><prompt>$</prompt> getfacl /dev/dri/card0
|
||||
# file: dev/dri/card0
|
||||
# owner: root
|
||||
# group: video
|
||||
user::rw-
|
||||
user:jane:rw-
|
||||
group::rw-
|
||||
mask::rw-
|
||||
other::---</screen>
|
||||
|
||||
If you disabled (this functionality of) <command>systemd-logind</command>,
|
||||
you may need to add the user to the <code>video</code> group and
|
||||
log in again.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section xml:id="sec-gpu-accel-common-issues-mixing-nixpkgs">
|
||||
<title>Mixing different versions of nixpkgs</title>
|
||||
|
||||
<para>
|
||||
The <emphasis>Installable Client Driver</emphasis> (ICD)
|
||||
mechanism used by OpenCL and Vulkan loads runtimes into its address
|
||||
space using <code>dlopen</code>. Mixing an ICD loader mechanism and
|
||||
runtimes from different version of nixpkgs may not work. For example,
|
||||
if the ICD loader uses an older version of <package>glibc</package>
|
||||
than the runtime, the runtime may not be loadable due to
|
||||
missing symbols. Unfortunately, the loader will generally be quiet
|
||||
about such issues.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If you suspect that you are running into library version mismatches
|
||||
between an ICL loader and a runtime, you could run an application with
|
||||
the <code>LD_DEBUG</code> variable set to get more diagnostic
|
||||
information. For example, OpenCL can be tested with
|
||||
<code>LD_DEBUG=files clinfo</code>, which should report missing
|
||||
symbols.
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
||||
</chapter>
|
||||
|
|
|
@ -114,6 +114,17 @@ systemd.services.mysql.serviceConfig.ProtectHome = lib.mkForce "read-only";
|
|||
systemd.services.mysql.serviceConfig.ReadWritePaths = [ "/var/data" ];
|
||||
</programlisting>
|
||||
</para>
|
||||
<para>
|
||||
The MySQL service no longer runs its <literal>systemd</literal> service startup script as <literal>root</literal> anymore. A dedicated non <literal>root</literal>
|
||||
super user account is required for operation. This means users with an existing MySQL or MariaDB database server are required to run the following SQL statements
|
||||
as a super admin user before upgrading:
|
||||
<programlisting>
|
||||
CREATE USER IF NOT EXISTS 'mysql'@'localhost' identified with unix_socket;
|
||||
GRANT ALL PRIVILEGES ON *.* TO 'mysql'@'localhost' WITH GRANT OPTION;
|
||||
</programlisting>
|
||||
If you use MySQL instead of MariaDB please replace <literal>unix_socket</literal> with <literal>auth_socket</literal>. If you have changed the value of <xref linkend="opt-services.mysql.user"/>
|
||||
from the default of <literal>mysql</literal> to a different user please change <literal>'mysql'@'localhost'</literal> to the corresponding user instead.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
|
@ -661,6 +672,7 @@ services.dokuwiki."mywiki" = {
|
|||
...
|
||||
};
|
||||
</programlisting>
|
||||
The base package has also been upgraded to the 2020-07-29 "Hogfather" release. Plugins might be incompatible or require upgrading.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
|
|
@ -489,6 +489,7 @@
|
|||
./services/misc/parsoid.nix
|
||||
./services/misc/plex.nix
|
||||
./services/misc/tautulli.nix
|
||||
./services/misc/pinnwand.nix
|
||||
./services/misc/pykms.nix
|
||||
./services/misc/radarr.nix
|
||||
./services/misc/redmine.nix
|
||||
|
|
|
@ -6,12 +6,10 @@ let
|
|||
|
||||
cfg = config.services.mysql;
|
||||
|
||||
mysql = cfg.package;
|
||||
|
||||
isMariaDB = lib.getName mysql == lib.getName pkgs.mariadb;
|
||||
isMariaDB = lib.getName cfg.package == lib.getName pkgs.mariadb;
|
||||
|
||||
mysqldOptions =
|
||||
"--user=${cfg.user} --datadir=${cfg.dataDir} --basedir=${mysql}";
|
||||
"--user=${cfg.user} --datadir=${cfg.dataDir} --basedir=${cfg.package}";
|
||||
|
||||
settingsFile = pkgs.writeText "my.cnf" (
|
||||
generators.toINI { listsAsDuplicateKeys = true; } cfg.settings +
|
||||
|
@ -22,7 +20,7 @@ in
|
|||
|
||||
{
|
||||
imports = [
|
||||
(mkRemovedOptionModule [ "services" "mysql" "pidDir" ] "Don't wait for pidfiles, describe dependencies through systemd")
|
||||
(mkRemovedOptionModule [ "services" "mysql" "pidDir" ] "Don't wait for pidfiles, describe dependencies through systemd.")
|
||||
(mkRemovedOptionModule [ "services" "mysql" "rootPassword" ] "Use socket authentication or set the password outside of the nix store.")
|
||||
];
|
||||
|
||||
|
@ -46,25 +44,31 @@ in
|
|||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
example = literalExample "0.0.0.0";
|
||||
description = "Address to bind to. The default is to bind to all addresses";
|
||||
description = "Address to bind to. The default is to bind to all addresses.";
|
||||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.int;
|
||||
default = 3306;
|
||||
description = "Port of MySQL";
|
||||
description = "Port of MySQL.";
|
||||
};
|
||||
|
||||
user = mkOption {
|
||||
type = types.str;
|
||||
default = "mysql";
|
||||
description = "User account under which MySQL runs";
|
||||
description = "User account under which MySQL runs.";
|
||||
};
|
||||
|
||||
group = mkOption {
|
||||
type = types.str;
|
||||
default = "mysql";
|
||||
description = "Group under which MySQL runs.";
|
||||
};
|
||||
|
||||
dataDir = mkOption {
|
||||
type = types.path;
|
||||
example = "/var/lib/mysql";
|
||||
description = "Location where MySQL stores its table files";
|
||||
description = "Location where MySQL stores its table files.";
|
||||
};
|
||||
|
||||
configFile = mkOption {
|
||||
|
@ -171,7 +175,7 @@ in
|
|||
initialScript = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
description = "A file containing SQL statements to be executed on the first startup. Can be used for granting certain permissions on the database";
|
||||
description = "A file containing SQL statements to be executed on the first startup. Can be used for granting certain permissions on the database.";
|
||||
};
|
||||
|
||||
ensureDatabases = mkOption {
|
||||
|
@ -259,33 +263,33 @@ in
|
|||
serverId = mkOption {
|
||||
type = types.int;
|
||||
default = 1;
|
||||
description = "Id of the MySQL server instance. This number must be unique for each instance";
|
||||
description = "Id of the MySQL server instance. This number must be unique for each instance.";
|
||||
};
|
||||
|
||||
masterHost = mkOption {
|
||||
type = types.str;
|
||||
description = "Hostname of the MySQL master server";
|
||||
description = "Hostname of the MySQL master server.";
|
||||
};
|
||||
|
||||
slaveHost = mkOption {
|
||||
type = types.str;
|
||||
description = "Hostname of the MySQL slave server";
|
||||
description = "Hostname of the MySQL slave server.";
|
||||
};
|
||||
|
||||
masterUser = mkOption {
|
||||
type = types.str;
|
||||
description = "Username of the MySQL replication user";
|
||||
description = "Username of the MySQL replication user.";
|
||||
};
|
||||
|
||||
masterPassword = mkOption {
|
||||
type = types.str;
|
||||
description = "Password of the MySQL replication user";
|
||||
description = "Password of the MySQL replication user.";
|
||||
};
|
||||
|
||||
masterPort = mkOption {
|
||||
type = types.int;
|
||||
default = 3306;
|
||||
description = "Port number on which the MySQL master server runs";
|
||||
description = "Port number on which the MySQL master server runs.";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -317,29 +321,33 @@ in
|
|||
binlog-ignore-db = [ "information_schema" "performance_schema" "mysql" ];
|
||||
})
|
||||
(mkIf (!isMariaDB) {
|
||||
plugin-load-add = optional (cfg.ensureUsers != []) "auth_socket.so";
|
||||
plugin-load-add = "auth_socket.so";
|
||||
})
|
||||
];
|
||||
|
||||
users.users.mysql = {
|
||||
description = "MySQL server user";
|
||||
group = "mysql";
|
||||
uid = config.ids.uids.mysql;
|
||||
users.users = optionalAttrs (cfg.user == "mysql") {
|
||||
mysql = {
|
||||
description = "MySQL server user";
|
||||
group = cfg.group;
|
||||
uid = config.ids.uids.mysql;
|
||||
};
|
||||
};
|
||||
|
||||
users.groups.mysql.gid = config.ids.gids.mysql;
|
||||
users.groups = optionalAttrs (cfg.group == "mysql") {
|
||||
mysql.gid = config.ids.gids.mysql;
|
||||
};
|
||||
|
||||
environment.systemPackages = [mysql];
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
|
||||
environment.etc."my.cnf".source = cfg.configFile;
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d '${cfg.dataDir}' 0700 ${cfg.user} mysql - -"
|
||||
"z '${cfg.dataDir}' 0700 ${cfg.user} mysql - -"
|
||||
"d '${cfg.dataDir}' 0700 '${cfg.user}' '${cfg.group}' - -"
|
||||
"z '${cfg.dataDir}' 0700 '${cfg.user}' '${cfg.group}' - -"
|
||||
];
|
||||
|
||||
systemd.services.mysql = let
|
||||
hasNotify = (cfg.package == pkgs.mariadb);
|
||||
hasNotify = isMariaDB;
|
||||
in {
|
||||
description = "MySQL Server";
|
||||
|
||||
|
@ -357,125 +365,127 @@ in
|
|||
|
||||
preStart = if isMariaDB then ''
|
||||
if ! test -e ${cfg.dataDir}/mysql; then
|
||||
${mysql}/bin/mysql_install_db --defaults-file=/etc/my.cnf ${mysqldOptions}
|
||||
${cfg.package}/bin/mysql_install_db --defaults-file=/etc/my.cnf ${mysqldOptions}
|
||||
touch ${cfg.dataDir}/mysql_init
|
||||
fi
|
||||
'' else ''
|
||||
if ! test -e ${cfg.dataDir}/mysql; then
|
||||
${mysql}/bin/mysqld --defaults-file=/etc/my.cnf ${mysqldOptions} --initialize-insecure
|
||||
${cfg.package}/bin/mysqld --defaults-file=/etc/my.cnf ${mysqldOptions} --initialize-insecure
|
||||
touch ${cfg.dataDir}/mysql_init
|
||||
fi
|
||||
'';
|
||||
|
||||
postStart = let
|
||||
# The super user account to use on *first* run of MySQL server
|
||||
superUser = if isMariaDB then cfg.user else "root";
|
||||
in ''
|
||||
${optionalString (!hasNotify) ''
|
||||
# Wait until the MySQL server is available for use
|
||||
count=0
|
||||
while [ ! -e /run/mysqld/mysqld.sock ]
|
||||
do
|
||||
if [ $count -eq 30 ]
|
||||
then
|
||||
echo "Tried 30 times, giving up..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "MySQL daemon not yet started. Waiting for 1 second..."
|
||||
count=$((count++))
|
||||
sleep 1
|
||||
done
|
||||
''}
|
||||
|
||||
if [ -f ${cfg.dataDir}/mysql_init ]
|
||||
then
|
||||
# While MariaDB comes with a 'mysql' super user account since 10.4.x, MySQL does not
|
||||
# Since we don't want to run this service as 'root' we need to ensure the account exists on first run
|
||||
( echo "CREATE USER IF NOT EXISTS '${cfg.user}'@'localhost' IDENTIFIED WITH ${if isMariaDB then "unix_socket" else "auth_socket"};"
|
||||
echo "GRANT ALL PRIVILEGES ON *.* TO '${cfg.user}'@'localhost' WITH GRANT OPTION;"
|
||||
) | ${cfg.package}/bin/mysql -u ${superUser} -N
|
||||
|
||||
${concatMapStrings (database: ''
|
||||
# Create initial databases
|
||||
if ! test -e "${cfg.dataDir}/${database.name}"; then
|
||||
echo "Creating initial database: ${database.name}"
|
||||
( echo 'create database `${database.name}`;'
|
||||
|
||||
${optionalString (database.schema != null) ''
|
||||
echo 'use `${database.name}`;'
|
||||
|
||||
# TODO: this silently falls through if database.schema does not exist,
|
||||
# we should catch this somehow and exit, but can't do it here because we're in a subshell.
|
||||
if [ -f "${database.schema}" ]
|
||||
then
|
||||
cat ${database.schema}
|
||||
elif [ -d "${database.schema}" ]
|
||||
then
|
||||
cat ${database.schema}/mysql-databases/*.sql
|
||||
fi
|
||||
''}
|
||||
) | ${cfg.package}/bin/mysql -u ${superUser} -N
|
||||
fi
|
||||
'') cfg.initialDatabases}
|
||||
|
||||
${optionalString (cfg.replication.role == "master")
|
||||
''
|
||||
# Set up the replication master
|
||||
|
||||
( echo "use mysql;"
|
||||
echo "CREATE USER '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' IDENTIFIED WITH mysql_native_password;"
|
||||
echo "SET PASSWORD FOR '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' = PASSWORD('${cfg.replication.masterPassword}');"
|
||||
echo "GRANT REPLICATION SLAVE ON *.* TO '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}';"
|
||||
) | ${cfg.package}/bin/mysql -u ${superUser} -N
|
||||
''}
|
||||
|
||||
${optionalString (cfg.replication.role == "slave")
|
||||
''
|
||||
# Set up the replication slave
|
||||
|
||||
( echo "stop slave;"
|
||||
echo "change master to master_host='${cfg.replication.masterHost}', master_user='${cfg.replication.masterUser}', master_password='${cfg.replication.masterPassword}';"
|
||||
echo "start slave;"
|
||||
) | ${cfg.package}/bin/mysql -u ${superUser} -N
|
||||
''}
|
||||
|
||||
${optionalString (cfg.initialScript != null)
|
||||
''
|
||||
# Execute initial script
|
||||
# using toString to avoid copying the file to nix store if given as path instead of string,
|
||||
# as it might contain credentials
|
||||
cat ${toString cfg.initialScript} | ${cfg.package}/bin/mysql -u ${superUser} -N
|
||||
''}
|
||||
|
||||
rm ${cfg.dataDir}/mysql_init
|
||||
fi
|
||||
|
||||
${optionalString (cfg.ensureDatabases != []) ''
|
||||
(
|
||||
${concatMapStrings (database: ''
|
||||
echo "CREATE DATABASE IF NOT EXISTS \`${database}\`;"
|
||||
'') cfg.ensureDatabases}
|
||||
) | ${cfg.package}/bin/mysql -N
|
||||
''}
|
||||
|
||||
${concatMapStrings (user:
|
||||
''
|
||||
( echo "CREATE USER IF NOT EXISTS '${user.name}'@'localhost' IDENTIFIED WITH ${if isMariaDB then "unix_socket" else "auth_socket"};"
|
||||
${concatStringsSep "\n" (mapAttrsToList (database: permission: ''
|
||||
echo "GRANT ${permission} ON ${database} TO '${user.name}'@'localhost';"
|
||||
'') user.ensurePermissions)}
|
||||
) | ${cfg.package}/bin/mysql -N
|
||||
'') cfg.ensureUsers}
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
Type = if hasNotify then "notify" else "simple";
|
||||
Restart = "on-abort";
|
||||
RestartSec = "5s";
|
||||
# The last two environment variables are used for starting Galera clusters
|
||||
ExecStart = "${mysql}/bin/mysqld --defaults-file=/etc/my.cnf ${mysqldOptions} $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION";
|
||||
ExecStartPost =
|
||||
let
|
||||
setupScript = pkgs.writeScript "mysql-setup" ''
|
||||
#!${pkgs.runtimeShell} -e
|
||||
|
||||
${optionalString (!hasNotify) ''
|
||||
# Wait until the MySQL server is available for use
|
||||
count=0
|
||||
while [ ! -e /run/mysqld/mysqld.sock ]
|
||||
do
|
||||
if [ $count -eq 30 ]
|
||||
then
|
||||
echo "Tried 30 times, giving up..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "MySQL daemon not yet started. Waiting for 1 second..."
|
||||
count=$((count++))
|
||||
sleep 1
|
||||
done
|
||||
''}
|
||||
|
||||
if [ -f ${cfg.dataDir}/mysql_init ]
|
||||
then
|
||||
${concatMapStrings (database: ''
|
||||
# Create initial databases
|
||||
if ! test -e "${cfg.dataDir}/${database.name}"; then
|
||||
echo "Creating initial database: ${database.name}"
|
||||
( echo 'create database `${database.name}`;'
|
||||
|
||||
${optionalString (database.schema != null) ''
|
||||
echo 'use `${database.name}`;'
|
||||
|
||||
# TODO: this silently falls through if database.schema does not exist,
|
||||
# we should catch this somehow and exit, but can't do it here because we're in a subshell.
|
||||
if [ -f "${database.schema}" ]
|
||||
then
|
||||
cat ${database.schema}
|
||||
elif [ -d "${database.schema}" ]
|
||||
then
|
||||
cat ${database.schema}/mysql-databases/*.sql
|
||||
fi
|
||||
''}
|
||||
) | ${mysql}/bin/mysql -u root -N
|
||||
fi
|
||||
'') cfg.initialDatabases}
|
||||
|
||||
${optionalString (cfg.replication.role == "master")
|
||||
''
|
||||
# Set up the replication master
|
||||
|
||||
( echo "use mysql;"
|
||||
echo "CREATE USER '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' IDENTIFIED WITH mysql_native_password;"
|
||||
echo "SET PASSWORD FOR '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' = PASSWORD('${cfg.replication.masterPassword}');"
|
||||
echo "GRANT REPLICATION SLAVE ON *.* TO '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}';"
|
||||
) | ${mysql}/bin/mysql -u root -N
|
||||
''}
|
||||
|
||||
${optionalString (cfg.replication.role == "slave")
|
||||
''
|
||||
# Set up the replication slave
|
||||
|
||||
( echo "stop slave;"
|
||||
echo "change master to master_host='${cfg.replication.masterHost}', master_user='${cfg.replication.masterUser}', master_password='${cfg.replication.masterPassword}';"
|
||||
echo "start slave;"
|
||||
) | ${mysql}/bin/mysql -u root -N
|
||||
''}
|
||||
|
||||
${optionalString (cfg.initialScript != null)
|
||||
''
|
||||
# Execute initial script
|
||||
# using toString to avoid copying the file to nix store if given as path instead of string,
|
||||
# as it might contain credentials
|
||||
cat ${toString cfg.initialScript} | ${mysql}/bin/mysql -u root -N
|
||||
''}
|
||||
|
||||
rm ${cfg.dataDir}/mysql_init
|
||||
fi
|
||||
|
||||
${optionalString (cfg.ensureDatabases != []) ''
|
||||
(
|
||||
${concatMapStrings (database: ''
|
||||
echo "CREATE DATABASE IF NOT EXISTS \`${database}\`;"
|
||||
'') cfg.ensureDatabases}
|
||||
) | ${mysql}/bin/mysql -u root -N
|
||||
''}
|
||||
|
||||
${concatMapStrings (user:
|
||||
''
|
||||
( echo "CREATE USER IF NOT EXISTS '${user.name}'@'localhost' IDENTIFIED WITH ${if isMariaDB then "unix_socket" else "auth_socket"};"
|
||||
${concatStringsSep "\n" (mapAttrsToList (database: permission: ''
|
||||
echo "GRANT ${permission} ON ${database} TO '${user.name}'@'localhost';"
|
||||
'') user.ensurePermissions)}
|
||||
) | ${mysql}/bin/mysql -u root -N
|
||||
'') cfg.ensureUsers}
|
||||
'';
|
||||
in
|
||||
# ensureDatbases & ensureUsers depends on this script being run as root
|
||||
# when the user has secured their mysql install
|
||||
"+${setupScript}";
|
||||
ExecStart = "${cfg.package}/bin/mysqld --defaults-file=/etc/my.cnf ${mysqldOptions} $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION";
|
||||
# User and group
|
||||
User = cfg.user;
|
||||
Group = "mysql";
|
||||
Group = cfg.group;
|
||||
# Runtime directory and mode
|
||||
RuntimeDirectory = "mysqld";
|
||||
RuntimeDirectoryMode = "0755";
|
||||
|
|
|
@ -0,0 +1,78 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.services.pinnwand;
|
||||
|
||||
format = pkgs.formats.toml {};
|
||||
configFile = format.generate "pinnwand.toml" cfg.settings;
|
||||
in
|
||||
{
|
||||
options.services.pinnwand = {
|
||||
enable = mkEnableOption "Pinnwand";
|
||||
|
||||
port = mkOption {
|
||||
type = types.port;
|
||||
description = "The port to listen on.";
|
||||
default = 8000;
|
||||
};
|
||||
|
||||
settings = mkOption {
|
||||
type = format.type;
|
||||
description = ''
|
||||
Your <filename>pinnwand.toml</filename> as a Nix attribute set. Look up
|
||||
possible options in the <link xlink:href="https://github.com/supakeen/pinnwand/blob/master/pinnwand.toml-example">pinnwand.toml-example</link>.
|
||||
'';
|
||||
default = {
|
||||
# https://github.com/supakeen/pinnwand/blob/master/pinnwand.toml-example
|
||||
database_uri = "sqlite:///var/lib/pinnwand/pinnwand.db";
|
||||
preferred_lexeres = [];
|
||||
paste_size = 262144;
|
||||
paste_help = ''
|
||||
<p>Welcome to pinnwand, this site is a pastebin. It allows you to share code with others. If you write code in the text area below and press the paste button you will be given a link you can share with others so they can view your code as well.</p><p>People with the link can view your pasted code, only you can remove your paste and it expires automatically. Note that anyone could guess the URI to your paste so don't rely on it being private.</p>
|
||||
'';
|
||||
footer = ''
|
||||
View <a href="//github.com/supakeen/pinnwand" target="_BLANK">source code</a>, the <a href="/removal">removal</a> or <a href="/expiry">expiry</a> stories, or read the <a href="/about">about</a> page.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
systemd.services.pinnwand = {
|
||||
description = "Pinnwannd HTTP Server";
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
unitConfig.Documentation = "https://pinnwand.readthedocs.io/en/latest/";
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.pinnwand}/bin/pinnwand --configuration-path ${configFile} http --port ${toString(cfg.port)}";
|
||||
StateDirectory = "pinnwand";
|
||||
StateDirectoryMode = "0700";
|
||||
|
||||
AmbientCapabilities = [];
|
||||
CapabilityBoundingSet = "";
|
||||
DevicePolicy = "closed";
|
||||
DynamicUser = true;
|
||||
LockPersonality = true;
|
||||
MemoryDenyWriteExecute = true;
|
||||
PrivateDevices = true;
|
||||
PrivateUsers = true;
|
||||
ProtectClock = true;
|
||||
ProtectControlGroups = true;
|
||||
ProtectKernelLogs = true;
|
||||
ProtectHome = true;
|
||||
ProtectHostname = true;
|
||||
ProtectKernelModules = true;
|
||||
ProtectKernelTunables = true;
|
||||
RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" ];
|
||||
RestrictNamespaces = true;
|
||||
RestrictRealtime = true;
|
||||
SystemCallArchitectures = "native";
|
||||
SystemCallFilter = "@system-service";
|
||||
UMask = "0077";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -101,6 +101,7 @@ in
|
|||
ferm = handleTest ./ferm.nix {};
|
||||
firefox = handleTest ./firefox.nix {};
|
||||
firefox-esr = handleTest ./firefox.nix { esr = true; };
|
||||
firejail = handleTest ./firejail.nix {};
|
||||
firewall = handleTest ./firewall.nix {};
|
||||
fish = handleTest ./fish.nix {};
|
||||
flannel = handleTestOn ["x86_64-linux"] ./flannel.nix {};
|
||||
|
@ -268,6 +269,7 @@ in
|
|||
pgjwt = handleTest ./pgjwt.nix {};
|
||||
pgmanage = handleTest ./pgmanage.nix {};
|
||||
php = handleTest ./php {};
|
||||
pinnwand = handleTest ./pinnwand.nix {};
|
||||
plasma5 = handleTest ./plasma5.nix {};
|
||||
plotinus = handleTest ./plotinus.nix {};
|
||||
podman = handleTestOn ["x86_64-linux"] ./podman.nix {};
|
||||
|
|
|
@ -0,0 +1,82 @@
|
|||
import ./make-test-python.nix ({ pkgs, ...} : {
|
||||
name = "firejail";
|
||||
meta = with pkgs.stdenv.lib.maintainers; {
|
||||
maintainers = [ sgo ];
|
||||
};
|
||||
|
||||
nodes.machine = { ... }: {
|
||||
imports = [ ./common/user-account.nix ];
|
||||
|
||||
programs.firejail = {
|
||||
enable = true;
|
||||
wrappedBinaries = {
|
||||
bash-jailed = "${pkgs.bash}/bin/bash";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.setupFirejailTest = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
before = [ "multi-user.target" ];
|
||||
|
||||
environment = {
|
||||
HOME = "/home/alice";
|
||||
};
|
||||
|
||||
unitConfig = {
|
||||
type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
user = "alice";
|
||||
};
|
||||
|
||||
script = ''
|
||||
cd $HOME
|
||||
|
||||
mkdir .password-store && echo s3cret > .password-store/secret
|
||||
mkdir my-secrets && echo s3cret > my-secrets/secret
|
||||
|
||||
echo publ1c > public
|
||||
|
||||
mkdir -p .config/firejail
|
||||
echo 'blacklist ''${HOME}/my-secrets' > .config/firejail/globals.local
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
start_all()
|
||||
machine.wait_for_unit("multi-user.target")
|
||||
|
||||
# Test path acl with wrapper
|
||||
machine.succeed("sudo -u alice bash-jailed -c 'cat ~/public' | grep -q publ1c")
|
||||
machine.fail(
|
||||
"sudo -u alice bash-jailed -c 'cat ~/.password-store/secret' | grep -q s3cret"
|
||||
)
|
||||
machine.fail("sudo -u alice bash-jailed -c 'cat ~/my-secrets/secret' | grep -q s3cret")
|
||||
|
||||
|
||||
# Test path acl with firejail executable
|
||||
machine.succeed("sudo -u alice firejail -- bash -c 'cat ~/public' | grep -q publ1c")
|
||||
machine.fail(
|
||||
"sudo -u alice firejail -- bash -c 'cat ~/.password-store/secret' | grep -q s3cret"
|
||||
)
|
||||
machine.fail(
|
||||
"sudo -u alice firejail -- bash -c 'cat ~/my-secrets/secret' | grep -q s3cret"
|
||||
)
|
||||
|
||||
# Disabling profiles
|
||||
machine.succeed(
|
||||
"sudo -u alice bash -c 'firejail --noprofile -- cat ~/.password-store/secret' | grep -q s3cret"
|
||||
)
|
||||
|
||||
# CVE-2020-17367
|
||||
machine.fail(
|
||||
"sudo -u alice firejail --private-tmp id --output=/tmp/vuln1 && cat /tmp/vuln1"
|
||||
)
|
||||
|
||||
# CVE-2020-17368
|
||||
machine.fail(
|
||||
"sudo -u alice firejail --private-tmp --output=/tmp/foo 'bash -c $(id>/tmp/vuln2;echo id)' && cat /tmp/vuln2"
|
||||
)
|
||||
'';
|
||||
})
|
||||
|
|
@ -0,0 +1,86 @@
|
|||
import ./make-test-python.nix ({ pkgs, ...}:
|
||||
let
|
||||
pythonEnv = pkgs.python3.withPackages (py: with py; [ appdirs toml ]);
|
||||
|
||||
port = 8000;
|
||||
baseUrl = "http://server:${toString port}";
|
||||
|
||||
configureSteck = pkgs.writeScript "configure.py" ''
|
||||
#!${pythonEnv.interpreter}
|
||||
import appdirs
|
||||
import toml
|
||||
import os
|
||||
|
||||
CONFIG = {
|
||||
"base": "${baseUrl}/",
|
||||
"confirm": False,
|
||||
"magic": True,
|
||||
"ignore": True
|
||||
}
|
||||
|
||||
os.makedirs(appdirs.user_config_dir('steck'))
|
||||
with open(os.path.join(appdirs.user_config_dir('steck'), 'steck.toml'), "w") as fd:
|
||||
toml.dump(CONFIG, fd)
|
||||
'';
|
||||
in
|
||||
{
|
||||
name = "pinnwand";
|
||||
meta = with pkgs.stdenv.lib.maintainers; {
|
||||
maintainers =[ hexa ];
|
||||
};
|
||||
|
||||
nodes = {
|
||||
server = { config, ... }:
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
port
|
||||
];
|
||||
|
||||
services.pinnwand = {
|
||||
enable = true;
|
||||
port = port;
|
||||
};
|
||||
};
|
||||
|
||||
client = { pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [ pkgs.steck ];
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
start_all()
|
||||
|
||||
server.wait_for_unit("pinnwand.service")
|
||||
client.wait_for_unit("network.target")
|
||||
|
||||
# create steck.toml config file
|
||||
client.succeed("${configureSteck}")
|
||||
|
||||
# wait until the server running pinnwand is reachable
|
||||
client.wait_until_succeeds("ping -c1 server")
|
||||
|
||||
# make sure pinnwand is listening
|
||||
server.wait_until_succeeds("ss -lnp | grep ${toString port}")
|
||||
|
||||
# send the contents of /etc/machine-id
|
||||
response = client.succeed("steck paste /etc/machine-id")
|
||||
|
||||
# parse the steck response
|
||||
raw_url = None
|
||||
removal_link = None
|
||||
for line in response.split("\n"):
|
||||
if line.startswith("View link:"):
|
||||
raw_url = f"${baseUrl}/raw/{line.split('/')[-1]}"
|
||||
if line.startswith("Removal link:"):
|
||||
removal_link = line.split(":", 1)[1]
|
||||
|
||||
# check whether paste matches what we sent
|
||||
client.succeed(f"curl {raw_url} > /tmp/machine-id")
|
||||
client.succeed("diff /tmp/machine-id /etc/machine-id")
|
||||
|
||||
# remove paste and check that it's not available any more
|
||||
client.succeed(f"curl {removal_link}")
|
||||
client.fail(f"curl --fail {raw_url}")
|
||||
'';
|
||||
})
|
|
@ -12,13 +12,13 @@ let
|
|||
;
|
||||
in pythonPackages.buildPythonApplication rec {
|
||||
pname = "picard";
|
||||
version = "2.3.2";
|
||||
version = "2.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "metabrainz";
|
||||
repo = pname;
|
||||
rev = "release-${version}";
|
||||
sha256 = "1785wnxhasp4j8w2a8bgbfp3gyhc7zac18r5fqw5qcndz2hfk5mc";
|
||||
sha256 = "0s4jmcg1n6ayxf7x0amq67rgn6y127h98s2k4fcna6n9477krrwf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ]
|
||||
|
@ -37,6 +37,7 @@ in pythonPackages.buildPythonApplication rec {
|
|||
mutagen
|
||||
chromaprint
|
||||
discid
|
||||
dateutil
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
|
|
|
@ -9,17 +9,19 @@
|
|||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "parity";
|
||||
version = "3.0.0";
|
||||
pname = "openethereum";
|
||||
version = "3.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "paritytech";
|
||||
repo = "parity-ethereum";
|
||||
owner = "openethereum";
|
||||
repo = "openethereum";
|
||||
rev = "v${version}";
|
||||
sha256 = "124km8c2d7877yzd885wzlcl3gky15isx0z2l1qg1q3cqdsb5mjf";
|
||||
sha256 = "08dkcrga1x18csh6pw6f54x5xwijppyjhg46cf4p452xc1l3a6ir";
|
||||
};
|
||||
|
||||
cargoSha256 = "0m4pms7agfyqk6gz6fwxdl8jmcyhphhzh3x4vykbi6186y7a8ihq";
|
||||
cargoSha256 = "1xliragihwjfc5qmfm0ng519bw8a28m1w1yqcl9mpk8zywiybaah";
|
||||
|
||||
cargoPatches = [ ./lock.patch ];
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||
nativeBuildInputs = [
|
||||
|
@ -38,7 +40,7 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "Fast, light, robust Ethereum implementation";
|
||||
homepage = "http://parity.io";
|
||||
homepage = "http://parity.io/ethereum";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ akru xrelkd ];
|
||||
platforms = platforms.linux;
|
|
@ -0,0 +1,20 @@
|
|||
--- /nix/store/hv764a65zmfzw5scjhz5839agv10da6x-source/Cargo.lock 1969-12-31 16:00:01.000000000 -0800
|
||||
+++ ./Cargo.lock 2020-07-31 21:30:31.146750066 -0700
|
||||
@@ -3113,7 +3113,7 @@
|
||||
|
||||
[[package]]
|
||||
name = "openethereum"
|
||||
-version = "3.0.0"
|
||||
+version = "3.0.1"
|
||||
dependencies = [
|
||||
"ansi_term",
|
||||
"atty",
|
||||
@@ -3562,7 +3562,7 @@
|
||||
|
||||
[[package]]
|
||||
name = "parity-version"
|
||||
-version = "3.0.0"
|
||||
+version = "3.0.1"
|
||||
dependencies = [
|
||||
"parity-bytes",
|
||||
"rlp",
|
|
@ -11,8 +11,8 @@ let
|
|||
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
|
||||
|
||||
sha256 = {
|
||||
x86_64-linux = "162qwjmm439zplcyjhbb961ircqpdfw13h9ybnik1q128f4650ky";
|
||||
x86_64-darwin = "1kmg1h1gnx9kdnigjzpqd6rlzv7bz01h29ldla2srfr2q6nr0r9v";
|
||||
x86_64-linux = "0rrs2v97xhlxyjvipss5dmk88j7b03kyszwyhy46755954nzm85j";
|
||||
x86_64-darwin = "1vmr78wf6cpib6j0f5gxs8683n27jk96lm4mwg6ji1np6b00m8nx";
|
||||
}.${system};
|
||||
in
|
||||
callPackage ./generic.nix rec {
|
||||
|
@ -21,7 +21,7 @@ in
|
|||
|
||||
# Please backport all compatible updates to the stable release.
|
||||
# This is important for the extension ecosystem.
|
||||
version = "1.47.3";
|
||||
version = "1.48.0";
|
||||
pname = "vscode";
|
||||
|
||||
executableName = "code" + lib.optionalString isInsiders "-insiders";
|
||||
|
|
|
@ -11,8 +11,8 @@ let
|
|||
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
|
||||
|
||||
sha256 = {
|
||||
x86_64-linux = "01wzdwb6laa0kwgwwvqri06ckdixg1w4fwcx400vhg3mby4n9wvl";
|
||||
x86_64-darwin = "1byh1x839w4r88yv0k7jpvxvida1xpf7pvnsp6vnawvqpbmdwlw0";
|
||||
x86_64-linux = "1zf2z6rbm18cib4crnn8r6ggx3cc2irwqjhbka2zmq38z7l3qv6c";
|
||||
x86_64-darwin = "1rgbr1q35q0q64kzap6g72nyvcp5wjmyzi8701536az7mxjfvjz4";
|
||||
}.${system};
|
||||
|
||||
sourceRoot = {
|
||||
|
@ -27,7 +27,7 @@ in
|
|||
|
||||
# Please backport all compatible updates to the stable release.
|
||||
# This is important for the extension ecosystem.
|
||||
version = "1.47.3";
|
||||
version = "1.48.0";
|
||||
pname = "vscodium";
|
||||
|
||||
executableName = "codium";
|
||||
|
|
|
@ -1,88 +0,0 @@
|
|||
{ stdenv, fetchurl, dpkg, makeWrapper, gcc, libGLU, libGL, xdg_utils,
|
||||
dbus, alsaLib, cups, fontconfig, glib, icu, libpng12,
|
||||
xkeyboard_config, zlib, libxslt, libxml2, sqlite, orc,
|
||||
libX11, libXcursor, libXrandr, libxcb, libXi, libSM, libICE,
|
||||
libXrender, libXcomposite }:
|
||||
|
||||
let version = "2018SP2"; in
|
||||
stdenv.mkDerivation {
|
||||
pname = "draftsight";
|
||||
inherit version;
|
||||
|
||||
nativeBuildInputs = [ dpkg makeWrapper ];
|
||||
|
||||
unpackPhase = ''
|
||||
mkdir $out
|
||||
mkdir $out/draftsight
|
||||
dpkg -x $src $out/draftsight
|
||||
'';
|
||||
|
||||
# Both executables and bundled libraries need patching to find their
|
||||
# dependencies. The makeWrapper & QT_XKB_CONFIG_ROOT is to
|
||||
# alleviate "xkbcommon: ERROR: failed to add default include path
|
||||
# /usr/share/X11/xkb" and "Qt: Failed to create XKB context!".
|
||||
installPhase = ''
|
||||
mkdir $out/bin
|
||||
for exe in DraftSight dsHttpApiController dsHttpApiService FxCrashRptApp HelpGuide; do
|
||||
echo "Patching $exe..."
|
||||
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath $libPath:\$ORIGIN/../Libraries \
|
||||
$out/draftsight/opt/dassault-systemes/DraftSight/Linux/$exe
|
||||
makeWrapper $out/draftsight/opt/dassault-systemes/DraftSight/Linux/$exe \
|
||||
$out/bin/$exe \
|
||||
--prefix "QT_XKB_CONFIG_ROOT" ":" "${xkeyboard_config}/share/X11/xkb"
|
||||
done
|
||||
for lib in $out/draftsight/opt/dassault-systemes/DraftSight/Libraries/*.so*; do
|
||||
# DraftSight ships with broken symlinks for some reason
|
||||
if [ -f $(readlink -f $lib) ]
|
||||
then
|
||||
echo "Patching $lib..."
|
||||
patchelf --set-rpath $libPath:\$ORIGIN/../Libraries $lib
|
||||
else
|
||||
echo "Ignoring broken link $lib"
|
||||
fi
|
||||
done
|
||||
for lib in $out/draftsight/opt/dassault-systemes/DraftSight/APISDK/lib/cpp/*.so*; do
|
||||
if [ -f $(readlink $lib) ]
|
||||
then
|
||||
echo "Patching $lib..."
|
||||
chmod u+w $lib
|
||||
patchelf --set-rpath $libPath:\$ORIGIN/../Libraries $lib
|
||||
else
|
||||
echo "Ignoring broken link $lib"
|
||||
fi
|
||||
done
|
||||
# These libraries shouldn't really be here anyway:
|
||||
find $out/draftsight/opt/dassault-systemes/DraftSight/APISDK/Samples/C++ \
|
||||
-type d -name _lib | xargs rm -r
|
||||
'';
|
||||
|
||||
# TODO: Figure out why HelpGuide segfaults at startup.
|
||||
|
||||
# This must be here for main window graphics to appear (without it
|
||||
# it also gives the error: "QXcbIntegration: Cannot create platform
|
||||
# OpenGL context, neither GLX nor EGL are enabled"). My guess is
|
||||
# that it dlopen()'s libraries in paths removed by shrinking RPATH.
|
||||
dontPatchELF = true;
|
||||
|
||||
src = fetchurl {
|
||||
name = "draftSight.deb";
|
||||
url = "http://dl-ak.solidworks.com/nonsecure/draftsight/${version}/draftSight.deb";
|
||||
sha256 = "05lrvml0zkzqg0sj6sj2h8h66hxdmsw5fg9fwz923r1y8j48qxdx";
|
||||
};
|
||||
|
||||
libPath = stdenv.lib.makeLibraryPath [ gcc.cc libGLU libGL xdg_utils
|
||||
dbus alsaLib cups.lib fontconfig glib icu libpng12
|
||||
xkeyboard_config zlib libxslt libxml2 sqlite orc libX11
|
||||
libXcursor libXrandr libxcb libXi libSM libICE libXrender
|
||||
libXcomposite ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "2D design & drafting application, meant to be similar to AutoCAD";
|
||||
longDescription = "Professional-grade 2D design and drafting solution from Dassault Systèmes that lets you create, edit, view and mark up any kind of 2D CAD drawing.";
|
||||
homepage = "https://www.3ds.com/products-services/draftsight-cad-software/";
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
maintainers = with maintainers; [ hodapp ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
|
@ -18,13 +18,13 @@
|
|||
|
||||
mkDerivation rec {
|
||||
pname = "nomacs";
|
||||
version = "3.16.224";
|
||||
version = "3.17.2045";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nomacs";
|
||||
repo = "nomacs";
|
||||
rev = version;
|
||||
sha256 = "05d4hqg0gl3g9s2xf1hr7mc7g4cqarcap4nzxxa51fsphw2b8x16";
|
||||
sha256 = "1lchdmmw2sg0xbpcnsk3sxh120xpcv1lh2khf4h5zzdlccbklq7l";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
|
@ -17,11 +17,11 @@ let python = python3Packages.python; in
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "blender";
|
||||
version = "2.83.3";
|
||||
version = "2.83.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.blender.org/source/${pname}-${version}.tar.xz";
|
||||
sha256 = "18m27abp4j3xv48dr6ddr2mqcvx2vkjffr487z90059yv9k0yh2p";
|
||||
sha256 = "1y4phkzrxy17kpjbg0jbz1236nw8w8p006x1crbqmvwz8wd3dm46";
|
||||
};
|
||||
|
||||
patches = lib.optional stdenv.isDarwin ./darwin.patch;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, libmediainfo, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "20.03";
|
||||
version = "20.08";
|
||||
pname = "mediainfo";
|
||||
src = fetchurl {
|
||||
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
|
||||
sha256 = "1f1shnycf0f1fwka9k9s250l228xjkg0k4k73h8bpld8msighgnw";
|
||||
sha256 = "1baf2dj5s3g1x4ssqli1b2r1203syk42m09zhp36qcinmfixv11l";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
|
|
@ -86,11 +86,11 @@ in
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "brave";
|
||||
version = "1.11.97";
|
||||
version = "1.12.112";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
|
||||
sha256 = "1wmjwk98fvzy5slyqpzpnn1mx663q3pvcyr3fzcinf6v971vz3q2";
|
||||
sha256 = "0nvxmz1wrr6cfyhbnrfjsy9szbjmvjl6080pgkp25xa8rcql5gmb";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -8,12 +8,12 @@
|
|||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.20.2";
|
||||
version = "2.21";
|
||||
pname = "links2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/download/links-${version}.tar.bz2";
|
||||
sha256 = "097ll98ympzfx7qfdyhc52yzvsp167x5nnjs6v8ih496wv80fksb";
|
||||
sha256 = "0qqdcghsdqm7l6kyi0k752ws3ak5crw85pqkcb11wy67j62yspi8";
|
||||
};
|
||||
|
||||
buildInputs = with stdenv.lib;
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "helm";
|
||||
version = "3.2.4";
|
||||
version = "3.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "helm";
|
||||
repo = "helm";
|
||||
rev = "v${version}";
|
||||
sha256 = "1plpk8qnv11d47qz93h57abjchyp6ahgyazyp0c6rv24vb9fp9zi";
|
||||
sha256 = "0bp2yscrvdm46w2nxas5zs9mcvdn2yp05k0wmcjl7gh42fs6hmcs";
|
||||
};
|
||||
vendorSha256 = "0j25m56cwzjd9b75v7xlb26q81bsmln77k23h9n8v2f2gqwwpkrl";
|
||||
vendorSha256 = "0lccglh5qpm5kp8xp1pn7y4cfxjpax83gyzjmnhh9h5y9zwgqp03";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "minikube";
|
||||
version = "1.12.2";
|
||||
version = "1.12.3";
|
||||
|
||||
vendorSha256 = "0smjj2sq09k1ai79lk74gi056hfls7qy8x08wkq2g24fxi06cr94";
|
||||
vendorSha256 = "014zgkh1l6838s5bmcxpvvyap96sd8ammrz5d7fncx0afik7zc4m";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -21,7 +21,7 @@ buildGoModule rec {
|
|||
owner = "kubernetes";
|
||||
repo = "minikube";
|
||||
rev = "v${version}";
|
||||
sha256 = "1x28s6d2nibm76qd3kjsa7wkyhqvnwdy9rfwk9xf45hzrx9700sm";
|
||||
sha256 = "0z8hinhx521rphcm0cd5lli5jy09lw1jw63q2a4fqlmhpw39qrj9";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ go-bindata installShellFiles pkg-config which ];
|
||||
|
|
|
@ -19,16 +19,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "newsflash";
|
||||
version = "1.0.4";
|
||||
version = "1.0.5";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "news-flash";
|
||||
repo = "news_flash_gtk";
|
||||
rev = version;
|
||||
sha256 = "0x0ws3mhkvf1a8986c8mh2navvvmkkiwymn0smrybffsgqdd2jh1";
|
||||
sha256 = "0kh1xqvxfz58gnrl8av0zkig9vcgmx9iaxw5p6gdm8a7gv18nvp3";
|
||||
};
|
||||
|
||||
cargoSha256 = "0rv2zrbarkkg56yg1w75lpdazgbik36yb70bzc6zqz1rmxinhqb0";
|
||||
cargoSha256 = "059sppidbxzjk8lmjq41d5qbymp9j9v2qr0jxd7xg9avr0klwc2s";
|
||||
|
||||
patches = [
|
||||
./no-post-install.patch
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "FlexGet";
|
||||
version = "3.1.59";
|
||||
version = "3.1.67";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "19vp2395sl6gdv54zn0k4vf1j6b902khvm44q5hfr805jd3fc11h";
|
||||
sha256 = "d3f4b7bebff80a3a3aa00daf60145a6bc3d12847d7339b39846b2341bca75ef3";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -32,7 +32,7 @@ python3Packages.buildPythonApplication rec {
|
|||
flask-cors
|
||||
flask_login
|
||||
flask-restful
|
||||
flask-restplus
|
||||
flask-restx
|
||||
flask
|
||||
guessit
|
||||
html5lib
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
, rustc
|
||||
, python3
|
||||
, rustPlatform
|
||||
, pkgconfig
|
||||
, pkg-config
|
||||
, gtksourceview4
|
||||
, glib
|
||||
, libhandy
|
||||
|
@ -26,24 +26,24 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "fractal";
|
||||
version = "4.2.2";
|
||||
version = "4.4.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "GNOME";
|
||||
repo = "fractal";
|
||||
rev = version;
|
||||
sha256 = "0r98km3c8naj3mdr1wppzj823ir7jnsia7r3cbg3vsq8q52i480r";
|
||||
sha256 = "DSNVd9YvI7Dd3s3+M0+wE594tmL1yPNMnD1W9wLhSuw=";
|
||||
};
|
||||
|
||||
cargoSha256 = "10fgw9m6gdazrca73g43sgvsghhac7xc3bg7hr0vpynzqyfigwa9";
|
||||
cargoSha256 = "xim5sOzeXJjRXbTOg2Gk/LHU0LioiyMK5nSr1LwMPjc=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cargo
|
||||
gettext
|
||||
meson
|
||||
ninja
|
||||
pkgconfig
|
||||
pkg-config
|
||||
python3
|
||||
rustc
|
||||
wrapGAppsHook
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kssd";
|
||||
version = "1.0";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/yhg926/public_${pname}/archive/v${version}.tar.gz";
|
||||
sha256 = "a5dcaf520049a962bef625cb59a567ea2b4252d4dc9be28dd06123d340e03919";
|
||||
sha256 = "1x3v31cxnww4w5zn15vy0bwk53llsa0f97ma6qbw89h152d2mx5x";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib automake autoconf libtool ];
|
||||
|
|
|
@ -1,4 +1,12 @@
|
|||
{ stdenv, fetchFromGitHub, python, fixDarwinDylibNames }:
|
||||
{ stdenv, fetchFromGitHub, python, fixDarwinDylibNames
|
||||
, javaBindings ? false
|
||||
, pythonBindings ? true
|
||||
, jdk ? null
|
||||
}:
|
||||
|
||||
assert javaBindings -> jdk != null;
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "z3";
|
||||
|
@ -11,22 +19,23 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0hprcdwhhyjigmhhk6514m71bnmvqci9r8gglrqilgx424r6ff7q";
|
||||
};
|
||||
|
||||
buildInputs = [ python fixDarwinDylibNames ];
|
||||
buildInputs = [ python fixDarwinDylibNames ] ++ optional javaBindings jdk;
|
||||
propagatedBuildInputs = [ python.pkgs.setuptools ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configurePhase = ''
|
||||
${python.interpreter} scripts/mk_make.py --prefix=$out --python --pypkgdir=$out/${python.sitePackages}
|
||||
cd build
|
||||
'';
|
||||
configurePhase = concatStringsSep " " (
|
||||
[ "${python.interpreter} scripts/mk_make.py --prefix=$out" ]
|
||||
++ optional javaBindings "--java"
|
||||
++ optional pythonBindings "--python --pypkgdir=$out/${python.sitePackages}"
|
||||
) + "\n" + "cd build";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $dev $lib $python/lib
|
||||
|
||||
mv $out/lib/python* $python/lib/
|
||||
mv $out/lib $lib/lib
|
||||
mv $out/include $dev/include
|
||||
|
||||
mkdir -p $dev $lib
|
||||
mv $out/lib $lib/lib
|
||||
mv $out/include $dev/include
|
||||
'' + optionalString pythonBindings ''
|
||||
mkdir -p $python/lib
|
||||
mv $lib/lib/python* $python/lib/
|
||||
ln -sf $lib/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary} $python/${python.sitePackages}/z3/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||
'';
|
||||
|
||||
|
|
|
@ -13,8 +13,6 @@ buildGoModule rec {
|
|||
|
||||
vendorSha256 = "1xq1n583p0a3j78afprm2hk5f1hchdrx4vvphml95rv9786vjbcc";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -31,6 +29,10 @@ buildGoModule rec {
|
|||
done
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
make test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "GitHub CLI tool";
|
||||
homepage = "https://cli.github.com/";
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gitolite";
|
||||
version = "3.6.11";
|
||||
version = "3.6.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sitaramc";
|
||||
repo = "gitolite";
|
||||
rev = "v${version}";
|
||||
sha256 = "1rkj7gknwjlc5ij9w39zf5mr647bm45la57yjczydmvrb8c56yrh";
|
||||
sha256 = "05xw1pmagvkrbzga5pgl3xk9qyc6b5x73f842454f3w9ijspa8zy";
|
||||
};
|
||||
|
||||
buildInputs = [ nettools perl ];
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "i3ipc-glib";
|
||||
version = "0.6.0";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "acrisci";
|
||||
repo = "i3ipc-glib";
|
||||
rev = "v${version}";
|
||||
sha256 = "1gmk1zjafrn6jh4j7r0wkwrpwvf9drl1lcw8vya23i1f4zbk0wh4";
|
||||
sha256 = "01fzvrbnzcwx0vxw29igfpza9zwzp2s7msmzb92v01z0rz0y5m0p";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook which pkgconfig ];
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ name, manifest, rev ? "HEAD", sha256
|
||||
# Optional parameters:
|
||||
, repoRepoURL ? "", repoRepoRev ? "", referenceDir ? ""
|
||||
, repoRepoURL ? "", repoRepoRev ? "", referenceDir ? "", manifestName ? ""
|
||||
, localManifests ? [], createMirror ? false, useArchive ? false
|
||||
}:
|
||||
|
||||
|
@ -16,6 +16,7 @@ let
|
|||
(optionalString (repoRepoURL != "") "--repo-url=${repoRepoURL}")
|
||||
(optionalString (repoRepoRev != "") "--repo-branch=${repoRepoRev}")
|
||||
(optionalString (referenceDir != "") "--reference=${referenceDir}")
|
||||
(optionalString (manifestName != "") "--manifest-name=${manifestName}")
|
||||
];
|
||||
|
||||
repoInitFlags = [
|
||||
|
|
|
@ -19,36 +19,55 @@ version=$(cd $kernel/lib/modules && ls -d *)
|
|||
echo "kernel version is $version"
|
||||
|
||||
# Determine the dependencies of each root module.
|
||||
closure=
|
||||
mkdir -p $out/lib/modules/"$version"
|
||||
touch closure
|
||||
for module in $rootModules; do
|
||||
echo "root module: $module"
|
||||
deps=$(modprobe --config no-config -d $kernel --set-version "$version" --show-depends "$module" \
|
||||
| sed 's/^insmod //') \
|
||||
|| if test -z "$allowMissing"; then exit 1; fi
|
||||
if [[ "$deps" != builtin* ]]; then
|
||||
closure="$closure $deps"
|
||||
modprobe --config no-config -d $kernel --set-version "$version" --show-depends "$module" \
|
||||
| while read cmd module args; do
|
||||
case "$cmd" in
|
||||
builtin)
|
||||
touch found
|
||||
echo "$module" >>closure
|
||||
echo " builtin dependency: $module";;
|
||||
insmod)
|
||||
touch found
|
||||
if ! test -e "$module"; then
|
||||
echo " dependency not found: $module"
|
||||
exit 1
|
||||
fi
|
||||
target=$(echo "$module" | sed "s^$NIX_STORE.*/lib/modules/^$out/lib/modules/^")
|
||||
if test -e "$target"; then
|
||||
echo " dependency already copied: $module"
|
||||
continue
|
||||
fi
|
||||
echo "$module" >>closure
|
||||
echo " copying dependency: $module"
|
||||
mkdir -p $(dirname $target)
|
||||
cp "$module" "$target"
|
||||
# If the kernel is compiled with coverage instrumentation, it
|
||||
# contains the paths of the *.gcda coverage data output files
|
||||
# (which it doesn't actually use...). Get rid of them to prevent
|
||||
# the whole kernel from being included in the initrd.
|
||||
nuke-refs "$target"
|
||||
echo "$target" >> $out/insmod-list;;
|
||||
*)
|
||||
echo " unexpected modprobe output: $cmd $module"
|
||||
exit 1;;
|
||||
esac
|
||||
done || test -n "$allowMissing"
|
||||
if ! test -e found; then
|
||||
echo " not found"
|
||||
if test -z "$allowMissing"; then
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
rm found
|
||||
fi
|
||||
done
|
||||
|
||||
echo "closure:"
|
||||
mkdir -p $out/lib/modules/"$version"
|
||||
for module in $closure; do
|
||||
target=$(echo $module | sed "s^$NIX_STORE.*/lib/modules/^$out/lib/modules/^")
|
||||
if test -e "$target"; then continue; fi
|
||||
if test \! -e "$module"; then continue; fi # XXX: to avoid error with "cp builtin builtin"
|
||||
mkdir -p $(dirname $target)
|
||||
echo $module
|
||||
cp $module $target
|
||||
# If the kernel is compiled with coverage instrumentation, it
|
||||
# contains the paths of the *.gcda coverage data output files
|
||||
# (which it doesn't actually use...). Get rid of them to prevent
|
||||
# the whole kernel from being included in the initrd.
|
||||
nuke-refs $target
|
||||
echo $target >> $out/insmod-list
|
||||
done
|
||||
|
||||
mkdir -p $out/lib/firmware
|
||||
for module in $closure; do
|
||||
for module in $(cat closure); do
|
||||
for i in $(modinfo -F firmware $module); do
|
||||
mkdir -p "$out/lib/firmware/$(dirname "$i")"
|
||||
echo "firmware for $module: $i"
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "man-pages";
|
||||
version = "5.07";
|
||||
version = "5.08";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/docs/man-pages/${pname}-${version}.tar.xz";
|
||||
sha256 = "13b3q7c67r0wkla4pdihl1qh09k67ms2z5jgzfqgpdqqy6mgziwd";
|
||||
sha256 = "1xzp3f6wvw3wplk1a1x09zfv0jp0pdc9wh95czndh3h8z0qwv9yf";
|
||||
};
|
||||
|
||||
makeFlags = [ "MANDIR=$(out)/share/man" ];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ stdenv, fetchzip }:
|
||||
|
||||
let
|
||||
version = "3.3.1";
|
||||
version = "3.4.1";
|
||||
in fetchzip {
|
||||
name = "iosevka-bin-${version}";
|
||||
|
||||
|
@ -9,10 +9,10 @@ in fetchzip {
|
|||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka
|
||||
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
sha256 = "1hfccivk5f7i489s78yh2x96ic6rf5ncbsjqnrxqmfs9n1gjhfbj";
|
||||
sha256 = "0qqzgfplib6jdn1fra7fwx25jkzlw21brj45q8gn3gxvndvqabvd";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://be5invis.github.io/Iosevka/";
|
||||
|
|
|
@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
installPhase = ''
|
||||
fontdir="$out/share/fonts/$pname"
|
||||
fontdir="$out/share/fonts/truetype"
|
||||
install -d "$fontdir"
|
||||
install "dist/$pname/ttf"/* "$fontdir"
|
||||
'';
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-shell-extensions";
|
||||
version = "3.36.2";
|
||||
version = "3.36.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-shell-extensions/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0gq0z0k02b5cfaqrikk2hzbqzjkb6qwcanaqi2jh7nswa7g050lp";
|
||||
sha256 = "1cg3dqvvxg8zrdqs2rci8sds2hxjahbhm87f0xpy8b3gq56lqrrb";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
|
|
|
@ -24,11 +24,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "simple-scan";
|
||||
version = "3.36.3";
|
||||
version = "3.36.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/simple-scan/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0gsz7jqk0fdj0mama3cnss9i1adw18cpdnlcjcjh4r5qijmvx0vh";
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "09gmzrlljdqkj3w6wa1c27wypy6j8z9dw3jzv9izfqvp38liibsn";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "quadrapassel";
|
||||
version = "3.36.02";
|
||||
version = "3.36.05";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/quadrapassel/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0c80pzipxricyh4wydffsc94wj6ymnanqr9bg6wdx51hz1mmmilb";
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "04abxmimh5npw8rhz1sfi6wxilgc6i1wka9mlnfwp8v1p1cb00cv";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -99,7 +99,7 @@ stdenv.mkDerivation (rec {
|
|||
name = "${targetPrefix}ghc-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.haskell.org/ghc/8.10.1/ghc-${version}-src.tar.xz";
|
||||
url = "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz";
|
||||
sha256 = "1xgdl6ig5jzli3bg054vfryfkg0y6wggf68g66c32sr67bw0ffsf";
|
||||
};
|
||||
|
||||
|
|
|
@ -0,0 +1,247 @@
|
|||
{ stdenv, pkgsBuildTarget, targetPackages
|
||||
|
||||
# build-tools
|
||||
, bootPkgs
|
||||
, autoconf, automake, coreutils, fetchurl, perl, python3, m4, sphinx
|
||||
, bash
|
||||
|
||||
, libiconv ? null, ncurses
|
||||
|
||||
, # GHC can be built with system libffi or a bundled one.
|
||||
libffi ? null
|
||||
|
||||
, useLLVM ? !stdenv.targetPlatform.isx86
|
||||
, # LLVM is conceptually a run-time-only depedendency, but for
|
||||
# non-x86, we need LLVM to bootstrap later stages, so it becomes a
|
||||
# build-time dependency too.
|
||||
buildLlvmPackages, llvmPackages
|
||||
|
||||
, # If enabled, GHC will be built with the GPL-free but slower integer-simple
|
||||
# library instead of the faster but GPLed integer-gmp library.
|
||||
enableIntegerSimple ? !(stdenv.lib.any (stdenv.lib.meta.platformMatch stdenv.hostPlatform) gmp.meta.platforms), gmp
|
||||
|
||||
, # If enabled, use -fPIC when compiling static libs.
|
||||
enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform
|
||||
|
||||
# aarch64 outputs otherwise exceed 2GB limit
|
||||
, enableProfiledLibs ? !stdenv.targetPlatform.isAarch64
|
||||
|
||||
, # Whether to build dynamic libs for the standard library (on the target
|
||||
# platform). Static libs are always built.
|
||||
enableShared ? !stdenv.targetPlatform.isWindows && !stdenv.targetPlatform.useiOSPrebuilt
|
||||
|
||||
, # Whether to build terminfo.
|
||||
enableTerminfo ? !stdenv.targetPlatform.isWindows
|
||||
|
||||
, # What flavour to build. An empty string indicates no
|
||||
# specific flavour and falls back to ghc default values.
|
||||
ghcFlavour ? stdenv.lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
|
||||
(if useLLVM then "perf-cross" else "perf-cross-ncg")
|
||||
|
||||
, # Whether to disable the large address space allocator
|
||||
# necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
|
||||
disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64
|
||||
}:
|
||||
|
||||
assert !enableIntegerSimple -> gmp != null;
|
||||
|
||||
let
|
||||
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
|
||||
|
||||
inherit (bootPkgs) ghc;
|
||||
|
||||
# TODO(@Ericson2314) Make unconditional
|
||||
targetPrefix = stdenv.lib.optionalString
|
||||
(targetPlatform != hostPlatform)
|
||||
"${targetPlatform.config}-";
|
||||
|
||||
buildMK = ''
|
||||
BuildFlavour = ${ghcFlavour}
|
||||
ifneq \"\$(BuildFlavour)\" \"\"
|
||||
include mk/flavours/\$(BuildFlavour).mk
|
||||
endif
|
||||
DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
|
||||
INTEGER_LIBRARY = ${if enableIntegerSimple then "integer-simple" else "integer-gmp"}
|
||||
'' + stdenv.lib.optionalString (targetPlatform != hostPlatform) ''
|
||||
Stage1Only = ${if targetPlatform.system == hostPlatform.system then "NO" else "YES"}
|
||||
CrossCompilePrefix = ${targetPrefix}
|
||||
HADDOCK_DOCS = NO
|
||||
BUILD_SPHINX_HTML = NO
|
||||
BUILD_SPHINX_PDF = NO
|
||||
'' + stdenv.lib.optionalString (!enableProfiledLibs) ''
|
||||
GhcLibWays = "v dyn"
|
||||
'' + stdenv.lib.optionalString enableRelocatedStaticLibs ''
|
||||
GhcLibHcOpts += -fPIC
|
||||
GhcRtsHcOpts += -fPIC
|
||||
'' + stdenv.lib.optionalString targetPlatform.useAndroidPrebuilt ''
|
||||
EXTRA_CC_OPTS += -std=gnu99
|
||||
'';
|
||||
|
||||
# Splicer will pull out correct variations
|
||||
libDeps = platform: stdenv.lib.optional enableTerminfo ncurses
|
||||
++ [libffi]
|
||||
++ stdenv.lib.optional (!enableIntegerSimple) gmp
|
||||
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
|
||||
|
||||
toolsForTarget = [
|
||||
pkgsBuildTarget.targetPackages.stdenv.cc
|
||||
] ++ stdenv.lib.optional useLLVM buildLlvmPackages.llvm;
|
||||
|
||||
targetCC = builtins.head toolsForTarget;
|
||||
|
||||
# ld.gold is disabled for musl libc due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856
|
||||
# see #84670 and #49071 for more background.
|
||||
useLdGold = targetPlatform.isLinux && !(targetPlatform.useLLVM or false) && !targetPlatform.isMusl;
|
||||
|
||||
in
|
||||
stdenv.mkDerivation (rec {
|
||||
version = "8.10.2";
|
||||
name = "${targetPrefix}ghc-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz";
|
||||
sha256 = "02w8n085bw38vyp694j0lfk5wcnwkdaj7hhp0saj71x74533lmww";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
postPatch = "patchShebangs .";
|
||||
|
||||
# GHC is a bit confused on its cross terminology.
|
||||
preConfigure = ''
|
||||
for env in $(env | grep '^TARGET_' | sed -E 's|\+?=.*||'); do
|
||||
export "''${env#TARGET_}=''${!env}"
|
||||
done
|
||||
# GHC is a bit confused on its cross terminology, as these would normally be
|
||||
# the *host* tools.
|
||||
export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
|
||||
export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
|
||||
# Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
|
||||
export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString useLdGold ".gold"}"
|
||||
export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
|
||||
export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
|
||||
export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
|
||||
export RANLIB="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ranlib"
|
||||
export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
|
||||
export STRIP="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}strip"
|
||||
|
||||
echo -n "${buildMK}" > mk/build.mk
|
||||
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
|
||||
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
||||
export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}"
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
export NIX_LDFLAGS+=" -no_dtrace_dof"
|
||||
'' + stdenv.lib.optionalString targetPlatform.useAndroidPrebuilt ''
|
||||
sed -i -e '5i ,("armv7a-unknown-linux-androideabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "cortex-a8", ""))' llvm-targets
|
||||
'' + stdenv.lib.optionalString targetPlatform.isMusl ''
|
||||
echo "patching llvm-targets for musl targets..."
|
||||
echo "Cloning these existing '*-linux-gnu*' targets:"
|
||||
grep linux-gnu llvm-targets | sed 's/^/ /'
|
||||
echo "(go go gadget sed)"
|
||||
sed -i 's,\(^.*linux-\)gnu\(.*\)$,\0\n\1musl\2,' llvm-targets
|
||||
echo "llvm-targets now contains these '*-linux-musl*' targets:"
|
||||
grep linux-musl llvm-targets | sed 's/^/ /'
|
||||
|
||||
echo "And now patching to preserve '-musleabi' as done with '-gnueabi'"
|
||||
# (aclocal.m4 is actual source, but patch configure as well since we don't re-gen)
|
||||
for x in configure aclocal.m4; do
|
||||
substituteInPlace $x \
|
||||
--replace '*-android*|*-gnueabi*)' \
|
||||
'*-android*|*-gnueabi*|*-musleabi*)'
|
||||
done
|
||||
'';
|
||||
|
||||
# TODO(@Ericson2314): Always pass "--target" and always prefix.
|
||||
configurePlatforms = [ "build" "host" ]
|
||||
++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
|
||||
# `--with` flags for libraries needed for RTS linker
|
||||
configureFlags = [
|
||||
"--datadir=$doc/share/doc/ghc"
|
||||
"--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
|
||||
] ++ stdenv.lib.optionals (libffi != null) [
|
||||
"--with-system-libffi"
|
||||
"--with-ffi-includes=${targetPackages.libffi.dev}/include"
|
||||
"--with-ffi-libraries=${targetPackages.libffi.out}/lib"
|
||||
] ++ stdenv.lib.optionals (targetPlatform == hostPlatform && !enableIntegerSimple) [
|
||||
"--with-gmp-includes=${targetPackages.gmp.dev}/include"
|
||||
"--with-gmp-libraries=${targetPackages.gmp.out}/lib"
|
||||
] ++ stdenv.lib.optionals (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
|
||||
"--with-iconv-includes=${libiconv}/include"
|
||||
"--with-iconv-libraries=${libiconv}/lib"
|
||||
] ++ stdenv.lib.optionals (targetPlatform != hostPlatform) [
|
||||
"--enable-bootstrap-with-devel-snapshot"
|
||||
] ++ stdenv.lib.optionals useLdGold [
|
||||
"CFLAGS=-fuse-ld=gold"
|
||||
"CONF_GCC_LINKER_OPTS_STAGE1=-fuse-ld=gold"
|
||||
"CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
|
||||
] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
|
||||
"--disable-large-address-space"
|
||||
];
|
||||
|
||||
# Make sure we never relax`$PATH` and hooks support for compatibility.
|
||||
strictDeps = true;
|
||||
|
||||
# Don’t add -liconv to LDFLAGS automatically so that GHC will add it itself.
|
||||
dontAddExtraLibs = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
perl autoconf automake m4 python3 sphinx
|
||||
ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
|
||||
];
|
||||
|
||||
# For building runtime libs
|
||||
depsBuildTarget = toolsForTarget;
|
||||
|
||||
buildInputs = [ perl bash ] ++ (libDeps hostPlatform);
|
||||
|
||||
propagatedBuildInputs = [ targetPackages.stdenv.cc ]
|
||||
++ stdenv.lib.optional useLLVM llvmPackages.llvm;
|
||||
|
||||
depsTargetTarget = map stdenv.lib.getDev (libDeps targetPlatform);
|
||||
depsTargetTargetPropagated = map (stdenv.lib.getOutput "out") (libDeps targetPlatform);
|
||||
|
||||
# required, because otherwise all symbols from HSffi.o are stripped, and
|
||||
# that in turn causes GHCi to abort
|
||||
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
|
||||
|
||||
checkTarget = "test";
|
||||
|
||||
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
|
||||
|
||||
postInstall = ''
|
||||
# Install the bash completion file.
|
||||
install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc
|
||||
|
||||
# Patch scripts to include "readelf" and "cat" in $PATH.
|
||||
for i in "$out/bin/"*; do
|
||||
test ! -h $i || continue
|
||||
egrep --quiet '^#!' <(head -n 1 $i) || continue
|
||||
sed -i -e '2i export PATH="$PATH:${stdenv.lib.makeBinPath [ targetPackages.stdenv.cc.bintools coreutils ]}"' $i
|
||||
done
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit bootPkgs targetPrefix;
|
||||
|
||||
inherit llvmPackages;
|
||||
inherit enableShared;
|
||||
|
||||
# Our Cabal compiler name
|
||||
haskellCompilerName = "ghc-${version}";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "http://haskell.org/ghc";
|
||||
description = "The Glasgow Haskell Compiler";
|
||||
maintainers = with stdenv.lib.maintainers; [ marcweber andres peti ];
|
||||
inherit (ghc.meta) license platforms;
|
||||
};
|
||||
|
||||
} // stdenv.lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
noAuditTmpdir = true;
|
||||
})
|
|
@ -94,7 +94,7 @@ stdenv.mkDerivation (rec {
|
|||
name = "${targetPrefix}ghc-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.haskell.org/ghc/8.8.2/ghc-${version}-src.tar.xz";
|
||||
url = "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz";
|
||||
sha256 = "02qa6wgjpxgakg7hv4zfdlrx9k7zxa5i02wnr6y9fsv8j16sbkh1";
|
||||
};
|
||||
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
, # If enabled, use -fPIC when compiling static libs.
|
||||
enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform
|
||||
|
||||
# aarch64 outputs otherwise exceed 2GB limit
|
||||
, enableProfiledLibs ? !stdenv.targetPlatform.isAarch64
|
||||
|
||||
, # Whether to build dynamic libs for the standard library (on the target
|
||||
# platform). Static libs are always built.
|
||||
enableShared ? !stdenv.targetPlatform.isWindows && !stdenv.targetPlatform.useiOSPrebuilt
|
||||
|
@ -71,6 +74,8 @@ let
|
|||
HADDOCK_DOCS = NO
|
||||
BUILD_SPHINX_HTML = NO
|
||||
BUILD_SPHINX_PDF = NO
|
||||
'' + stdenv.lib.optionalString (!enableProfiledLibs) ''
|
||||
GhcLibWays = "v dyn"
|
||||
'' + stdenv.lib.optionalString enableRelocatedStaticLibs ''
|
||||
GhcLibHcOpts += -fPIC
|
||||
GhcRtsHcOpts += -fPIC
|
||||
|
|
|
@ -1,245 +0,0 @@
|
|||
{ stdenv, fetchurl, tzdata, iana-etc, runCommand
|
||||
, perl, which, pkgconfig, patch, procps, pcre, cacert, Security, Foundation
|
||||
, mailcap, runtimeShell
|
||||
, buildPackages, pkgsTargetTarget
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
inherit (stdenv.lib) optionals optionalString;
|
||||
|
||||
goBootstrap = runCommand "go-bootstrap" {} ''
|
||||
mkdir $out
|
||||
cp -rf ${buildPackages.go_bootstrap}/* $out/
|
||||
chmod -R u+w $out
|
||||
find $out -name "*.c" -delete
|
||||
cp -rf $out/bin/* $out/share/go/bin/
|
||||
'';
|
||||
|
||||
goarch = platform: {
|
||||
"i686" = "386";
|
||||
"x86_64" = "amd64";
|
||||
"aarch64" = "arm64";
|
||||
"arm" = "arm";
|
||||
"armv5tel" = "arm";
|
||||
"armv6l" = "arm";
|
||||
"armv7l" = "arm";
|
||||
}.${platform.parsed.cpu.name} or (throw "Unsupported system");
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "go";
|
||||
version = "1.13.15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.google.com/go/go${version}.src.tar.gz";
|
||||
sha256 = "0pfgixca3a0svblzivkia11q79l8bzai6yg64m1piy3c0iqk3d2z";
|
||||
};
|
||||
|
||||
# perl is used for testing go vet
|
||||
nativeBuildInputs = [ perl which pkgconfig patch procps ];
|
||||
buildInputs = [ cacert pcre ]
|
||||
++ optionals stdenv.isLinux [ stdenv.cc.libc.out ]
|
||||
++ optionals (stdenv.hostPlatform.libc == "glibc") [ stdenv.cc.libc.static ];
|
||||
|
||||
depsTargetTargetPropagated = optionals stdenv.isDarwin [ Security Foundation ];
|
||||
|
||||
hardeningDisable = [ "all" ];
|
||||
|
||||
prePatch = ''
|
||||
patchShebangs ./ # replace /bin/bash
|
||||
|
||||
# This source produces shell script at run time,
|
||||
# and thus it is not corrected by patchShebangs.
|
||||
substituteInPlace misc/cgo/testcarchive/carchive_test.go \
|
||||
--replace '#!/usr/bin/env bash' '#!${runtimeShell}'
|
||||
|
||||
# Patch the mimetype database location which is missing on NixOS.
|
||||
# but also allow static binaries built with NixOS to run outside nix
|
||||
sed -i 's,\"/etc/mime.types,"${mailcap}/etc/mime.types\"\,\n\t&,' src/mime/type_unix.go
|
||||
|
||||
# Disabling the 'os/http/net' tests (they want files not available in
|
||||
# chroot builds)
|
||||
rm src/net/{listen,parse}_test.go
|
||||
rm src/syscall/exec_linux_test.go
|
||||
|
||||
# !!! substituteInPlace does not seems to be effective.
|
||||
# The os test wants to read files in an existing path. Just don't let it be /usr/bin.
|
||||
sed -i 's,/usr/bin,'"`pwd`", src/os/os_test.go
|
||||
sed -i 's,/bin/pwd,'"`type -P pwd`", src/os/os_test.go
|
||||
# Disable the unix socket test
|
||||
sed -i '/TestShutdownUnix/aif true \{ return\; \}' src/net/net_test.go
|
||||
# Disable the hostname test
|
||||
sed -i '/TestHostname/aif true \{ return\; \}' src/os/os_test.go
|
||||
# ParseInLocation fails the test
|
||||
sed -i '/TestParseInSydney/aif true \{ return\; \}' src/time/format_test.go
|
||||
# Remove the api check as it never worked
|
||||
sed -i '/src\/cmd\/api\/run.go/ireturn nil' src/cmd/dist/test.go
|
||||
# Remove the coverage test as we have removed this utility
|
||||
sed -i '/TestCoverageWithCgo/aif true \{ return\; \}' src/cmd/go/go_test.go
|
||||
# Remove the timezone naming test
|
||||
sed -i '/TestLoadFixed/aif true \{ return\; \}' src/time/time_test.go
|
||||
# Remove disable setgid test
|
||||
sed -i '/TestRespectSetgidDir/aif true \{ return\; \}' src/cmd/go/internal/work/build_test.go
|
||||
# Remove cert tests that conflict with NixOS's cert resolution
|
||||
sed -i '/TestEnvVars/aif true \{ return\; \}' src/crypto/x509/root_unix_test.go
|
||||
# TestWritevError hangs sometimes
|
||||
sed -i '/TestWritevError/aif true \{ return\; \}' src/net/writev_test.go
|
||||
# TestVariousDeadlines fails sometimes
|
||||
sed -i '/TestVariousDeadlines/aif true \{ return\; \}' src/net/timeout_test.go
|
||||
|
||||
sed -i 's,/etc/protocols,${iana-etc}/etc/protocols,' src/net/lookup_unix.go
|
||||
sed -i 's,/etc/services,${iana-etc}/etc/services,' src/net/port_unix.go
|
||||
|
||||
# Disable cgo lookup tests not works, they depend on resolver
|
||||
rm src/net/cgo_unix_test.go
|
||||
|
||||
'' + optionalString stdenv.isLinux ''
|
||||
# prepend the nix path to the zoneinfo files but also leave the original value for static binaries
|
||||
# that run outside a nix server
|
||||
sed -i 's,\"/usr/share/zoneinfo/,"${tzdata}/share/zoneinfo/\"\,\n\t&,' src/time/zoneinfo_unix.go
|
||||
|
||||
'' + optionalString stdenv.isAarch32 ''
|
||||
echo '#!${runtimeShell}' > misc/cgo/testplugin/test.bash
|
||||
'' + optionalString stdenv.isDarwin ''
|
||||
substituteInPlace src/race.bash --replace \
|
||||
"sysctl machdep.cpu.extfeatures | grep -qv EM64T" true
|
||||
sed -i 's,strings.Contains(.*sysctl.*,true {,' src/cmd/dist/util.go
|
||||
sed -i 's,"/etc","'"$TMPDIR"'",' src/os/os_test.go
|
||||
sed -i 's,/_go_os_test,'"$TMPDIR"'/_go_os_test,' src/os/path_test.go
|
||||
|
||||
sed -i '/TestChdirAndGetwd/aif true \{ return\; \}' src/os/os_test.go
|
||||
sed -i '/TestCredentialNoSetGroups/aif true \{ return\; \}' src/os/exec/exec_posix_test.go
|
||||
sed -i '/TestRead0/aif true \{ return\; \}' src/os/os_test.go
|
||||
sed -i '/TestSystemRoots/aif true \{ return\; \}' src/crypto/x509/root_darwin_test.go
|
||||
|
||||
sed -i '/TestGoInstallRebuildsStalePackagesInOtherGOPATH/aif true \{ return\; \}' src/cmd/go/go_test.go
|
||||
sed -i '/TestBuildDashIInstallsDependencies/aif true \{ return\; \}' src/cmd/go/go_test.go
|
||||
|
||||
sed -i '/TestDisasmExtld/aif true \{ return\; \}' src/cmd/objdump/objdump_test.go
|
||||
|
||||
sed -i 's/unrecognized/unknown/' src/cmd/link/internal/ld/lib.go
|
||||
|
||||
# TestCurrent fails because Current is not implemented on Darwin
|
||||
sed -i 's/TestCurrent/testCurrent/g' src/os/user/user_test.go
|
||||
sed -i 's/TestLookup/testLookup/g' src/os/user/user_test.go
|
||||
|
||||
touch $TMPDIR/group $TMPDIR/hosts $TMPDIR/passwd
|
||||
'';
|
||||
|
||||
patches = [
|
||||
./remove-tools-1.11.patch
|
||||
./ssl-cert-file-1.13.patch
|
||||
./remove-test-pie-1.13.patch
|
||||
./creds-test.patch
|
||||
./go-1.9-skip-flaky-19608.patch
|
||||
./go-1.9-skip-flaky-20072.patch
|
||||
./skip-external-network-tests.patch
|
||||
./skip-nohup-tests.patch
|
||||
] ++ [
|
||||
# breaks under load: https://github.com/golang/go/issues/25628
|
||||
(if stdenv.isAarch32
|
||||
then ./skip-test-extra-files-on-aarch32.patch
|
||||
else ./skip-test-extra-files-on-386.patch)
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
find . -name '*.orig' -exec rm {} ';'
|
||||
'';
|
||||
|
||||
GOOS = stdenv.targetPlatform.parsed.kernel.name;
|
||||
GOARCH = goarch stdenv.targetPlatform;
|
||||
# GOHOSTOS/GOHOSTARCH must match the building system, not the host system.
|
||||
# Go will nevertheless build a for host system that we will copy over in
|
||||
# the install phase.
|
||||
GOHOSTOS = stdenv.buildPlatform.parsed.kernel.name;
|
||||
GOHOSTARCH = goarch stdenv.buildPlatform;
|
||||
|
||||
# {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those
|
||||
# to be different from CC/CXX
|
||||
CC_FOR_TARGET = if (stdenv.buildPlatform != stdenv.targetPlatform) then
|
||||
"${pkgsTargetTarget.stdenv.cc}/bin/${pkgsTargetTarget.stdenv.cc.targetPrefix}cc"
|
||||
else
|
||||
null;
|
||||
CXX_FOR_TARGET = if (stdenv.buildPlatform != stdenv.targetPlatform) then
|
||||
"${pkgsTargetTarget.stdenv.cc}/bin/${pkgsTargetTarget.stdenv.cc.targetPrefix}c++"
|
||||
else
|
||||
null;
|
||||
|
||||
GOARM = toString (stdenv.lib.intersectLists [(stdenv.hostPlatform.parsed.cpu.version or "")] ["5" "6" "7"]);
|
||||
GO386 = 387; # from Arch: don't assume sse2 on i686
|
||||
CGO_ENABLED = 1;
|
||||
# Hopefully avoids test timeouts on Hydra
|
||||
GO_TEST_TIMEOUT_SCALE = 3;
|
||||
|
||||
# Indicate that we are running on build infrastructure
|
||||
# Some tests assume things like home directories and users exists
|
||||
GO_BUILDER_NAME = "nix";
|
||||
|
||||
GOROOT_BOOTSTRAP="${goBootstrap}/share/go";
|
||||
|
||||
postConfigure = ''
|
||||
export GOCACHE=$TMPDIR/go-cache
|
||||
# this is compiled into the binary
|
||||
export GOROOT_FINAL=$out/share/go
|
||||
|
||||
export PATH=$(pwd)/bin:$PATH
|
||||
|
||||
${optionalString (stdenv.buildPlatform != stdenv.targetPlatform) ''
|
||||
# Independent from host/target, CC should produce code for the building system.
|
||||
# We only set it when cross-compiling.
|
||||
export CC=${buildPackages.stdenv.cc}/bin/cc
|
||||
''}
|
||||
ulimit -a
|
||||
'';
|
||||
|
||||
postBuild = ''
|
||||
(cd src && ./make.bash)
|
||||
'';
|
||||
|
||||
doCheck = stdenv.hostPlatform == stdenv.targetPlatform && !stdenv.isDarwin;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
(cd src && HOME=$TMPDIR GOCACHE=$TMPDIR/go-cache ./run.bash --no-rebuild)
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
rm -r pkg/obj
|
||||
# Contains the wrong perl shebang when cross compiling,
|
||||
# since it is not used for anything we can deleted as well.
|
||||
rm src/regexp/syntax/make_perl_groups.pl
|
||||
'' + (if (stdenv.buildPlatform != stdenv.hostPlatform) then ''
|
||||
mv bin/*_*/* bin
|
||||
rmdir bin/*_*
|
||||
${optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
|
||||
rm -rf pkg/${GOHOSTOS}_${GOHOSTARCH} pkg/tool/${GOHOSTOS}_${GOHOSTARCH}
|
||||
''}
|
||||
'' else if (stdenv.hostPlatform != stdenv.targetPlatform) then ''
|
||||
rm -rf bin/*_*
|
||||
${optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
|
||||
rm -rf pkg/${GOOS}_${GOARCH} pkg/tool/${GOOS}_${GOARCH}
|
||||
''}
|
||||
'' else "");
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $GOROOT_FINAL
|
||||
cp -a bin pkg src lib misc api doc $GOROOT_FINAL
|
||||
ln -s $GOROOT_FINAL/bin $out/bin
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
disallowedReferences = [ goBootstrap ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
branch = "1.13";
|
||||
homepage = "http://golang.org/";
|
||||
description = "The Go Programming language";
|
||||
license = licenses.bsd3;
|
||||
maintainers = teams.golang.members;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
|
||||
index f63c94697c..f02eff7064 100644
|
||||
--- a/src/cmd/dist/test.go
|
||||
+++ b/src/cmd/dist/test.go
|
||||
@@ -574,29 +574,6 @@ func (t *tester) registerTests() {
|
||||
})
|
||||
}
|
||||
|
||||
- // Test internal linking of PIE binaries where it is supported.
|
||||
- if goos == "linux" && (goarch == "amd64" || goarch == "arm64") {
|
||||
- t.tests = append(t.tests, distTest{
|
||||
- name: "pie_internal",
|
||||
- heading: "internal linking of -buildmode=pie",
|
||||
- fn: func(dt *distTest) error {
|
||||
- t.addCmd(dt, "src", t.goTest(), "reflect", "-buildmode=pie", "-ldflags=-linkmode=internal", t.timeout(60))
|
||||
- return nil
|
||||
- },
|
||||
- })
|
||||
- // Also test a cgo package.
|
||||
- if t.cgoEnabled {
|
||||
- t.tests = append(t.tests, distTest{
|
||||
- name: "pie_internal_cgo",
|
||||
- heading: "internal linking of -buildmode=pie",
|
||||
- fn: func(dt *distTest) error {
|
||||
- t.addCmd(dt, "src", t.goTest(), "os/user", "-buildmode=pie", "-ldflags=-linkmode=internal", t.timeout(60))
|
||||
- return nil
|
||||
- },
|
||||
- })
|
||||
- }
|
||||
- }
|
||||
-
|
||||
// sync tests
|
||||
if goos != "js" { // js doesn't support -cpu=10
|
||||
t.tests = append(t.tests, distTest{
|
|
@ -1,15 +0,0 @@
|
|||
diff --git a/src/os/exec/exec_test.go b/src/os/exec/exec_test.go
|
||||
index 558345ff63..22129bf022 100644
|
||||
--- a/src/os/exec/exec_test.go
|
||||
+++ b/src/os/exec/exec_test.go
|
||||
@@ -593,6 +593,10 @@ func TestExtraFiles(t *testing.T) {
|
||||
t.Skipf("skipping test on %q", runtime.GOOS)
|
||||
}
|
||||
|
||||
+ if runtime.GOOS == "linux" && runtime.GOARCH == "386" {
|
||||
+ t.Skipf("skipping test on %q %q", runtime.GOARCH, runtime.GOOS)
|
||||
+ }
|
||||
+
|
||||
// Ensure that file descriptors have not already been leaked into
|
||||
// our environment.
|
||||
if !testedAlreadyLeaked {
|
|
@ -1,15 +0,0 @@
|
|||
diff --git a/src/os/exec/exec_test.go b/src/os/exec/exec_test.go
|
||||
index 558345ff63..22129bf022 100644
|
||||
--- a/src/os/exec/exec_test.go
|
||||
+++ b/src/os/exec/exec_test.go
|
||||
@@ -593,6 +593,10 @@ func TestExtraFiles(t *testing.T) {
|
||||
t.Skipf("skipping test on %q", runtime.GOOS)
|
||||
}
|
||||
|
||||
+ if runtime.GOOS == "linux" && runtime.GOARCH == "arm" {
|
||||
+ t.Skipf("skipping test on %q %q", runtime.GOARCH, runtime.GOOS)
|
||||
+ }
|
||||
+
|
||||
// Ensure that file descriptors have not already been leaked into
|
||||
// our environment.
|
||||
if !testedAlreadyLeaked {
|
|
@ -85,11 +85,16 @@ let
|
|||
runHook preBuild
|
||||
|
||||
if [ ${deleteFlag} == "true" ]; then
|
||||
rm -rf vendor
|
||||
if [ ! -d vendor ]; then
|
||||
echo "vendor folder does not exist, 'deleteVendor' is not needed"
|
||||
exit 10
|
||||
else
|
||||
rm -rf vendor
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -e vendor ]; then
|
||||
echo "vendor folder exists, please set 'vendorSha256=null;' or 'deleteVendor=true;' in your expression"
|
||||
if [ -d vendor ]; then
|
||||
echo "vendor folder exists, please set 'vendorSha256 = null;' in your expression"
|
||||
exit 10
|
||||
fi
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ self: super: {
|
|||
name = "git-annex-${super.git-annex.version}-src";
|
||||
url = "git://git-annex.branchable.com/";
|
||||
rev = "refs/tags/" + super.git-annex.version;
|
||||
sha256 = "vwKcY7Yk+R0YkaXjJ7xKyQWGjySTUPox0xIaurbQZk0=";
|
||||
sha256 = "1d24080xh7gl197i0y5bkn3j94hvh8zqyg9gfcnx2qdlxfca1knb";
|
||||
};
|
||||
}).override {
|
||||
dbus = if pkgs.stdenv.isLinux then self.dbus else null;
|
||||
|
@ -1335,7 +1335,7 @@ self: super: {
|
|||
'';
|
||||
})).override {
|
||||
# we are faster than stack here
|
||||
hie-bios = dontCheck self.hie-bios_0_6_1;
|
||||
hie-bios = dontCheck self.hie-bios_0_6_2;
|
||||
lsp-test = dontCheck self.lsp-test_0_11_0_4;
|
||||
});
|
||||
|
||||
|
@ -1355,21 +1355,35 @@ self: super: {
|
|||
# use a fork of ghcide
|
||||
ghcide = self.hls-ghcide;
|
||||
# we are faster than stack here
|
||||
hie-bios = dontCheck self.hie-bios_0_6_1;
|
||||
hie-bios = dontCheck self.hie-bios_0_6_2;
|
||||
lsp-test = dontCheck self.lsp-test_0_11_0_4;
|
||||
};
|
||||
|
||||
# https://github.com/kowainik/policeman/issues/57
|
||||
policeman = doJailbreak super.policeman;
|
||||
|
||||
# 2020-06-29: These three packages have bumped their dependencies for haskell-gi and haskell-gi-base beyond stack-lts.
|
||||
# Choosing a jailbreak, because a version override would rebuild most of the glibverse and the packages still build with the older version.
|
||||
gi-javascriptcore =
|
||||
# Remove these jailbreaks, when assert fails.
|
||||
assert (pkgs.lib.versionOlder super.haskell-gi-base.version "0.24");
|
||||
doJailbreak super.gi-javascriptcore;
|
||||
gi-soup = doJailbreak super.gi-soup;
|
||||
gi-webkit2 = doJailbreak super.gi-webkit2;
|
||||
# 2020-08-14: gi-pango from stackage is to old for the C libs it links against in nixpkgs.
|
||||
# That's why we need to bump a ton of dependency versions to unbreak them.
|
||||
gi-pango = assert super.gi-pango.version == "1.0.22"; self.gi-pango_1_0_23;
|
||||
haskell-gi-base = assert super.haskell-gi-base.version == "0.23.0"; addBuildDepends (self.haskell-gi-base_0_24_2) [ pkgs.gobject-introspection ];
|
||||
haskell-gi = assert super.haskell-gi.version == "0.23.1"; self.haskell-gi_0_24_4;
|
||||
gi-cairo = assert super.gi-cairo.version == "1.0.23"; self.gi-cairo_1_0_24;
|
||||
gi-glib = assert super.gi-glib.version == "2.0.23"; self.gi-glib_2_0_24;
|
||||
gi-gobject = assert super.gi-gobject.version == "2.0.22"; self.gi-gobject_2_0_24;
|
||||
gi-atk = assert super.gi-atk.version == "2.0.21"; self.gi-atk_2_0_22;
|
||||
gi-gio = assert super.gi-gio.version == "2.0.26"; self.gi-gio_2_0_27;
|
||||
gi-gdk = assert super.gi-gdk.version == "3.0.22"; self.gi-gdk_3_0_23;
|
||||
gi-gtk = assert super.gi-gtk.version == "3.0.33"; self.gi-gtk_3_0_35;
|
||||
gi-gdkpixbuf = assert super.gi-gdkpixbuf.version == "2.0.23"; self.gi-gdkpixbuf_2_0_24;
|
||||
|
||||
# 2020-08-14: Needs some manual patching to be compatible with haskell-gi-base 0.24
|
||||
# Created upstream PR @ https://github.com/ghcjs/jsaddle/pull/119
|
||||
jsaddle-webkit2gtk = appendPatch super.jsaddle-webkit2gtk (pkgs.fetchpatch {
|
||||
url = "https://github.com/ghcjs/jsaddle/compare/9727365...f842748.patch";
|
||||
sha256 = "07l4l999lmlx7sqxf7v4f70rmxhx9r0cjblkgc4n0y6jin4iv1cb";
|
||||
stripLen = 2;
|
||||
extraPrefix = "";
|
||||
});
|
||||
|
||||
# Missing -Iinclude parameter to doc-tests (pull has been accepted, so should be resolved when 0.5.3 released)
|
||||
# https://github.com/lehins/massiv/pull/104
|
||||
|
@ -1452,4 +1466,7 @@ self: super: {
|
|||
};
|
||||
};
|
||||
|
||||
# https://github.com/bos/statistics/issues/170
|
||||
statistics = dontCheck super.statistics;
|
||||
|
||||
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
||||
|
|
|
@ -72,7 +72,7 @@ default-package-overrides:
|
|||
# gi-gdkx11-4.x requires gtk-4.x, which is still under development and
|
||||
# not yet available in Nixpkgs
|
||||
- gi-gdkx11 < 4
|
||||
# LTS Haskell 16.8
|
||||
# LTS Haskell 16.9
|
||||
- abstract-deque ==0.3
|
||||
- abstract-par ==0.3.3
|
||||
- AC-Angle ==1.0
|
||||
|
@ -103,7 +103,7 @@ default-package-overrides:
|
|||
- aeson-yak ==0.1.1.3
|
||||
- aeson-yaml ==1.0.6.0
|
||||
- al ==0.1.4.2
|
||||
- alarmclock ==0.7.0.4
|
||||
- alarmclock ==0.7.0.5
|
||||
- alerts ==0.1.2.0
|
||||
- alex ==3.2.5
|
||||
- alg ==0.2.13.1
|
||||
|
@ -244,7 +244,7 @@ default-package-overrides:
|
|||
- asn1-parse ==0.9.5
|
||||
- asn1-types ==0.3.4
|
||||
- assert-failure ==0.1.2.3
|
||||
- assoc ==1.0.1
|
||||
- assoc ==1.0.2
|
||||
- astro ==0.4.2.1
|
||||
- async ==2.2.2
|
||||
- async-extra ==0.2.0.0
|
||||
|
@ -271,7 +271,7 @@ default-package-overrides:
|
|||
- avers ==0.0.17.1
|
||||
- avro ==0.5.2.0
|
||||
- aws-cloudfront-signed-cookies ==0.2.0.6
|
||||
- bank-holidays-england ==0.2.0.4
|
||||
- bank-holidays-england ==0.2.0.5
|
||||
- base16 ==0.2.1.0
|
||||
- base16-bytestring ==0.1.1.7
|
||||
- base16-lens ==0.1.2.0
|
||||
|
@ -518,9 +518,9 @@ default-package-overrides:
|
|||
- control-monad-omega ==0.3.2
|
||||
- convertible ==1.1.1.0
|
||||
- cookie ==0.4.5
|
||||
- core-data ==0.2.1.7
|
||||
- core-program ==0.2.4.4
|
||||
- core-text ==0.2.3.5
|
||||
- core-data ==0.2.1.8
|
||||
- core-program ==0.2.4.5
|
||||
- core-text ==0.2.3.6
|
||||
- countable ==1.0
|
||||
- cpio-conduit ==0.7.0
|
||||
- cpphs ==1.20.9.1
|
||||
|
@ -699,7 +699,7 @@ default-package-overrides:
|
|||
- editor-open ==0.6.0.0
|
||||
- egison ==4.0.3
|
||||
- egison-pattern-src ==0.2.1.0
|
||||
- egison-pattern-src-th-mode ==0.2.1.0
|
||||
- egison-pattern-src-th-mode ==0.2.1.1
|
||||
- either ==5.0.1.1
|
||||
- either-both ==0.1.1.1
|
||||
- either-unwrap ==1.1
|
||||
|
@ -777,7 +777,7 @@ default-package-overrides:
|
|||
- feed ==1.3.0.1
|
||||
- FenwickTree ==0.1.2.1
|
||||
- fft ==0.1.8.6
|
||||
- fgl ==5.7.0.2
|
||||
- fgl ==5.7.0.3
|
||||
- filecache ==0.4.1
|
||||
- file-embed ==0.0.11.2
|
||||
- file-embed-lzma ==0
|
||||
|
@ -902,9 +902,9 @@ default-package-overrides:
|
|||
- ghcid ==0.8.7
|
||||
- ghci-hexcalc ==0.1.1.0
|
||||
- ghcjs-codemirror ==0.0.0.2
|
||||
- ghc-lib ==8.10.1.20200523
|
||||
- ghc-lib-parser ==8.10.1.20200523
|
||||
- ghc-lib-parser-ex ==8.10.0.15
|
||||
- ghc-lib ==8.10.2.20200808
|
||||
- ghc-lib-parser ==8.10.2.20200808
|
||||
- ghc-lib-parser-ex ==8.10.0.16
|
||||
- ghc-parser ==0.2.2.0
|
||||
- ghc-paths ==0.1.0.12
|
||||
- ghc-prof ==1.4.1.7
|
||||
|
@ -936,7 +936,7 @@ default-package-overrides:
|
|||
- gi-pango ==1.0.22
|
||||
- giphy-api ==0.7.0.0
|
||||
- githash ==0.1.4.0
|
||||
- github-rest ==1.0.2
|
||||
- github-rest ==1.0.3
|
||||
- github-types ==0.2.1
|
||||
- gitlab-haskell ==0.1.8
|
||||
- gitrev ==1.3.1
|
||||
|
@ -957,7 +957,7 @@ default-package-overrides:
|
|||
- graph-core ==0.3.0.0
|
||||
- graphite ==0.10.0.1
|
||||
- graphs ==0.7.1
|
||||
- graphviz ==2999.20.0.4
|
||||
- graphviz ==2999.20.1.0
|
||||
- graph-wrapper ==0.2.6.0
|
||||
- gravatar ==0.8.0
|
||||
- greskell ==1.1.0.3
|
||||
|
@ -1027,7 +1027,7 @@ default-package-overrides:
|
|||
- hedgehog-fakedata ==0.0.1.3
|
||||
- hedgehog-fn ==1.0
|
||||
- hedgehog-quickcheck ==0.1.1
|
||||
- hedis ==0.12.13
|
||||
- hedis ==0.12.14
|
||||
- here ==1.2.13
|
||||
- heredoc ==0.2.0.0
|
||||
- heterocephalus ==1.0.5.3
|
||||
|
@ -1081,7 +1081,7 @@ default-package-overrides:
|
|||
- hsebaysdk ==0.4.1.0
|
||||
- hsemail ==2.2.0
|
||||
- hset ==2.2.0
|
||||
- hs-functors ==0.1.6.0
|
||||
- hs-functors ==0.1.7.1
|
||||
- hs-GeoIP ==0.3
|
||||
- hsini ==0.5.1.2
|
||||
- hsinstall ==2.6
|
||||
|
@ -1103,7 +1103,7 @@ default-package-overrides:
|
|||
- hspec-expectations ==0.8.2
|
||||
- hspec-expectations-lifted ==0.10.0
|
||||
- hspec-expectations-pretty-diff ==0.7.2.5
|
||||
- hspec-golden ==0.1.0.2
|
||||
- hspec-golden ==0.1.0.3
|
||||
- hspec-golden-aeson ==0.7.0.0
|
||||
- hspec-hedgehog ==0.0.1.2
|
||||
- hspec-leancheck ==0.0.4
|
||||
|
@ -1229,8 +1229,8 @@ default-package-overrides:
|
|||
- intro ==0.7.0.0
|
||||
- intset-imperative ==0.1.0.0
|
||||
- invariant ==0.5.3
|
||||
- invertible ==0.2.0.6
|
||||
- invertible-grammar ==0.1.2
|
||||
- invertible ==0.2.0.7
|
||||
- invertible-grammar ==0.1.3
|
||||
- io-machine ==0.2.0.0
|
||||
- io-manager ==0.1.0.2
|
||||
- io-memoize ==1.1.1.0
|
||||
|
@ -1398,7 +1398,7 @@ default-package-overrides:
|
|||
- matplotlib ==0.7.5
|
||||
- matrices ==0.5.0
|
||||
- matrix ==0.3.6.1
|
||||
- matrix-as-xyz ==0.1.1.3
|
||||
- matrix-as-xyz ==0.1.2.2
|
||||
- matrix-market-attoparsec ==0.1.1.3
|
||||
- matrix-static ==0.3
|
||||
- maximal-cliques ==0.1.1
|
||||
|
@ -1445,7 +1445,7 @@ default-package-overrides:
|
|||
- miso ==1.6.0.0
|
||||
- missing-foreign ==0.1.1
|
||||
- MissingH ==1.4.3.0
|
||||
- mixed-types-num ==0.4.0.1
|
||||
- mixed-types-num ==0.4.0.2
|
||||
- mixpanel-client ==0.2.1
|
||||
- mltool ==0.2.0.1
|
||||
- mmap ==0.5.9
|
||||
|
@ -1558,7 +1558,7 @@ default-package-overrides:
|
|||
- nonce ==1.0.7
|
||||
- nondeterminism ==1.4
|
||||
- non-empty ==0.3.2
|
||||
- nonempty-containers ==0.3.3.0
|
||||
- nonempty-containers ==0.3.4.0
|
||||
- nonemptymap ==0.0.6.0
|
||||
- non-empty-sequence ==0.2.0.4
|
||||
- nonempty-vector ==0.2.0.2
|
||||
|
@ -1589,7 +1589,7 @@ default-package-overrides:
|
|||
- OneTuple ==0.2.2.1
|
||||
- Only ==0.1
|
||||
- oo-prototypes ==0.1.0.0
|
||||
- opaleye ==0.6.7004.2
|
||||
- opaleye ==0.6.7005.0
|
||||
- OpenAL ==1.7.0.5
|
||||
- open-browser ==0.2.1.0
|
||||
- openexr-write ==0.1.0.2
|
||||
|
@ -1628,7 +1628,7 @@ default-package-overrides:
|
|||
- pandoc-plot ==0.6.1.0
|
||||
- pandoc-pyplot ==2.3.0.1
|
||||
- pandoc-types ==1.20
|
||||
- pantry ==0.4.0.1
|
||||
- pantry ==0.4.0.2
|
||||
- papillon ==0.1.1.1
|
||||
- parallel ==3.2.2.0
|
||||
- parallel-io ==0.3.3
|
||||
|
@ -1681,7 +1681,7 @@ default-package-overrides:
|
|||
- pg-transact ==0.3.1.1
|
||||
- phantom-state ==0.2.1.2
|
||||
- pid1 ==0.1.2.0
|
||||
- pipes ==4.3.13
|
||||
- pipes ==4.3.14
|
||||
- pipes-aeson ==0.4.1.8
|
||||
- pipes-attoparsec ==0.5.1.5
|
||||
- pipes-binary ==0.4.2
|
||||
|
@ -1886,9 +1886,9 @@ default-package-overrides:
|
|||
- rhine ==0.6.0
|
||||
- rhine-gloss ==0.6.0.1
|
||||
- rigel-viz ==0.2.0.0
|
||||
- rio ==0.1.17.0
|
||||
- rio ==0.1.18.0
|
||||
- rio-orphans ==0.1.1.0
|
||||
- rio-prettyprint ==0.1.0.0
|
||||
- rio-prettyprint ==0.1.1.0
|
||||
- roc-id ==0.1.0.0
|
||||
- rocksdb-haskell ==1.0.1
|
||||
- rocksdb-query ==0.3.2
|
||||
|
@ -2062,7 +2062,7 @@ default-package-overrides:
|
|||
- special-values ==0.1.0.0
|
||||
- speculate ==0.4.2
|
||||
- speedy-slice ==0.3.1
|
||||
- Spintax ==0.3.4
|
||||
- Spintax ==0.3.5
|
||||
- splice ==0.6.1.1
|
||||
- split ==0.2.3.4
|
||||
- splitmix ==0.0.5
|
||||
|
@ -2123,7 +2123,7 @@ default-package-overrides:
|
|||
- structs ==0.1.3
|
||||
- structured ==0.1
|
||||
- structured-cli ==2.5.2.0
|
||||
- stylish-haskell ==0.11.0.0
|
||||
- stylish-haskell ==0.11.0.3
|
||||
- summoner ==2.0.1.1
|
||||
- summoner-tui ==2.0.1.1
|
||||
- sum-type-boilerplate ==0.1.1
|
||||
|
@ -2138,7 +2138,7 @@ default-package-overrides:
|
|||
- syb ==0.7.1
|
||||
- symbol ==0.2.4
|
||||
- symengine ==0.1.2.0
|
||||
- symmetry-operations-symbols ==0.0.1.4
|
||||
- symmetry-operations-symbols ==0.0.2.1
|
||||
- sysinfo ==0.1.1
|
||||
- system-argv0 ==0.1.1
|
||||
- systemd ==2.3.0
|
||||
|
@ -2476,7 +2476,7 @@ default-package-overrides:
|
|||
- xdg-userdirs ==0.1.0.2
|
||||
- xeno ==0.4.1
|
||||
- xls ==0.1.3
|
||||
- xlsx ==0.8.0
|
||||
- xlsx ==0.8.1
|
||||
- xlsx-tabular ==0.2.2.1
|
||||
- xml ==1.3.14
|
||||
- xml-basic ==0.1.3.1
|
||||
|
@ -2500,11 +2500,11 @@ default-package-overrides:
|
|||
- xxhash-ffi ==0.2.0.0
|
||||
- yaml ==0.11.4.0
|
||||
- yamlparse-applicative ==0.1.0.1
|
||||
- yesod ==1.6.0.2
|
||||
- yesod ==1.6.1.0
|
||||
- yesod-auth ==1.6.10
|
||||
- yesod-auth-fb ==1.10.1
|
||||
- yesod-auth-hashdb ==1.7.1.2
|
||||
- yesod-bin ==1.6.0.5
|
||||
- yesod-bin ==1.6.0.6
|
||||
- yesod-core ==1.6.18
|
||||
- yesod-fb ==0.6.1
|
||||
- yesod-form ==1.6.7
|
||||
|
@ -2532,7 +2532,7 @@ default-package-overrides:
|
|||
- zip-archive ==0.4.1
|
||||
- zippers ==0.3
|
||||
- zip-stream ==0.2.0.1
|
||||
- zlib ==0.6.2.1
|
||||
- zlib ==0.6.2.2
|
||||
- zlib-bindings ==0.1.1.5
|
||||
- zlib-lens ==0.1.2.1
|
||||
- zot ==0.0.3
|
||||
|
@ -2560,6 +2560,8 @@ extra-packages:
|
|||
- deepseq == 1.3.0.1 # required to build Cabal with GHC 6.12.3
|
||||
- dhall == 1.29.0 # required for spago 0.14.0.
|
||||
- doctemplates == 0.8 # required by pandoc-2.9.x
|
||||
- gi-gdk == 3.0.23 # required for gi-pango 1.0.23
|
||||
- gi-gtk == 3.0.35 # required for gi-pango 1.0.23
|
||||
- generic-deriving == 1.10.5.* # new versions don't compile with GHC 7.10.x
|
||||
- ghc-check == 0.3.0.1 # only version compatible with ghcide 0.2.0
|
||||
- ghc-tcplugins-extra ==0.3.2 # required for polysemy-plugin 0.2.5.0
|
||||
|
@ -2647,7 +2649,9 @@ package-maintainers:
|
|||
# - pipes-mongodb
|
||||
- streaming-wai
|
||||
kiwi:
|
||||
- Unique
|
||||
- glirc
|
||||
- matterhorn
|
||||
- mattermost-api
|
||||
- mattermost-api-qc
|
||||
psibi:
|
||||
|
@ -2991,6 +2995,7 @@ broken-packages:
|
|||
- AMI
|
||||
- ampersand
|
||||
- amqp-conduit
|
||||
- amqp-streamly
|
||||
- analyze
|
||||
- analyze-client
|
||||
- anansi-pandoc
|
||||
|
@ -3906,6 +3911,7 @@ broken-packages:
|
|||
- collections-api
|
||||
- collections-base-instances
|
||||
- colonnade
|
||||
- Color
|
||||
- color-counter
|
||||
- colorless
|
||||
- colorless-http-client
|
||||
|
@ -4082,6 +4088,7 @@ broken-packages:
|
|||
- CoreDump
|
||||
- CoreErlang
|
||||
- CoreFoundation
|
||||
- corenlp-parser
|
||||
- Coroutine
|
||||
- coroutine-enumerator
|
||||
- coroutine-iteratee
|
||||
|
@ -4162,6 +4169,12 @@ broken-packages:
|
|||
- crystalfontz
|
||||
- cse-ghc-plugin
|
||||
- csg
|
||||
- csound-catalog
|
||||
- csound-expression
|
||||
- csound-expression-dynamic
|
||||
- csound-expression-opcodes
|
||||
- csound-expression-typed
|
||||
- csound-sampler
|
||||
- CSPM-cspm
|
||||
- CSPM-FiringRules
|
||||
- CSPM-Frontend
|
||||
|
@ -4190,6 +4203,7 @@ broken-packages:
|
|||
- curve25519
|
||||
- curves
|
||||
- custom-prelude
|
||||
- cut-the-crap
|
||||
- CV
|
||||
- cv-combinators
|
||||
- cypher
|
||||
|
@ -4240,6 +4254,7 @@ broken-packages:
|
|||
- data-filepath
|
||||
- data-fin
|
||||
- data-fin-simple
|
||||
- data-fix-cse
|
||||
- data-flagset
|
||||
- data-forest
|
||||
- data-ivar
|
||||
|
@ -4394,6 +4409,7 @@ broken-packages:
|
|||
- dgim
|
||||
- dgs
|
||||
- dhall-check
|
||||
- dhall-docs
|
||||
- dhall-fly
|
||||
- dhall-nix
|
||||
- dhall-text
|
||||
|
@ -4711,6 +4727,7 @@ broken-packages:
|
|||
- EnumMap
|
||||
- enummapmap
|
||||
- enummapset-th
|
||||
- env-extra
|
||||
- env-parser
|
||||
- envstatus
|
||||
- epanet-haskell
|
||||
|
@ -4742,10 +4759,6 @@ broken-packages:
|
|||
- EsounD
|
||||
- espial
|
||||
- ess
|
||||
- essence-of-live-coding
|
||||
- essence-of-live-coding-gloss
|
||||
- essence-of-live-coding-pulse
|
||||
- essence-of-live-coding-quickcheck
|
||||
- estimators
|
||||
- EstProgress
|
||||
- estreps
|
||||
|
@ -4956,7 +4969,6 @@ broken-packages:
|
|||
- findhttp
|
||||
- fingertree-psqueue
|
||||
- fingertree-tf
|
||||
- finitary
|
||||
- finitary-derive
|
||||
- finitary-optics
|
||||
- FiniteMap
|
||||
|
@ -5307,28 +5319,6 @@ broken-packages:
|
|||
- ghcprofview
|
||||
- ght
|
||||
- gi-cairo-again
|
||||
- gi-ggit
|
||||
- gi-girepository
|
||||
- gi-graphene
|
||||
- gi-gsk
|
||||
- gi-gst
|
||||
- gi-gstaudio
|
||||
- gi-gstbase
|
||||
- gi-gstpbutils
|
||||
- gi-gsttag
|
||||
- gi-gstvideo
|
||||
- gi-gtkosxapplication
|
||||
- gi-gtksource
|
||||
- gi-handy
|
||||
- gi-harfbuzz
|
||||
- gi-ibus
|
||||
- gi-notify
|
||||
- gi-ostree
|
||||
- gi-pangocairo
|
||||
- gi-poppler
|
||||
- gi-secret
|
||||
- gi-vte
|
||||
- gi-wnck
|
||||
- giak
|
||||
- Gifcurry
|
||||
- ginsu
|
||||
|
@ -5543,6 +5533,8 @@ broken-packages:
|
|||
- gtfs
|
||||
- gtfs-realtime
|
||||
- gtk-serialized-event
|
||||
- gtk-sni-tray
|
||||
- gtk-strut
|
||||
- gtk-toy
|
||||
- gtk2hs-hello
|
||||
- gtk2hs-rpn
|
||||
|
@ -6784,6 +6776,7 @@ broken-packages:
|
|||
- inilist
|
||||
- initialize
|
||||
- inject-function
|
||||
- inline-asm
|
||||
- inline-java
|
||||
- inline-r
|
||||
- inserts
|
||||
|
@ -6819,7 +6812,6 @@ broken-packages:
|
|||
- introduction
|
||||
- introduction-test
|
||||
- intset
|
||||
- invertible-grammar
|
||||
- invertible-hlist
|
||||
- invertible-syntax
|
||||
- io-capture
|
||||
|
@ -7575,6 +7567,9 @@ broken-packages:
|
|||
- marxup
|
||||
- masakazu-bot
|
||||
- MASMGen
|
||||
- massiv
|
||||
- massiv-io
|
||||
- massiv-test
|
||||
- master-plan
|
||||
- matchable
|
||||
- matchable-th
|
||||
|
@ -7592,7 +7587,6 @@ broken-packages:
|
|||
- matrix-market
|
||||
- matrix-sized
|
||||
- matsuri
|
||||
- matterhorn
|
||||
- maude
|
||||
- maxent
|
||||
- maxent-learner-hw
|
||||
|
@ -8198,6 +8192,7 @@ broken-packages:
|
|||
- om-actor
|
||||
- om-elm
|
||||
- om-fail
|
||||
- om-http-logging
|
||||
- omaketex
|
||||
- ombra
|
||||
- Omega
|
||||
|
@ -8494,6 +8489,7 @@ broken-packages:
|
|||
- pg-store
|
||||
- pg-transact
|
||||
- pgdl
|
||||
- pgf2
|
||||
- pgsql-simple
|
||||
- pgstream
|
||||
- phasechange
|
||||
|
@ -8580,6 +8576,7 @@ broken-packages:
|
|||
- plat
|
||||
- platinum-parsing
|
||||
- PlayingCards
|
||||
- plex
|
||||
- plist
|
||||
- plist-buddy
|
||||
- plocketed
|
||||
|
@ -9347,6 +9344,7 @@ broken-packages:
|
|||
- scgi
|
||||
- schedevr
|
||||
- schedule-planner
|
||||
- scheduler
|
||||
- schedyield
|
||||
- schema
|
||||
- schemas
|
||||
|
@ -9407,6 +9405,7 @@ broken-packages:
|
|||
- secure-sockets
|
||||
- secureUDP
|
||||
- sednaDBXML
|
||||
- seitz-symbol
|
||||
- selectors
|
||||
- SelectSequencesFromMSA
|
||||
- selenium
|
||||
|
@ -9523,7 +9522,6 @@ broken-packages:
|
|||
- setoid
|
||||
- setters
|
||||
- sexp
|
||||
- sexp-grammar
|
||||
- sexpr-parser
|
||||
- sext
|
||||
- SFML
|
||||
|
@ -10003,6 +10001,8 @@ broken-packages:
|
|||
- streamproc
|
||||
- strelka
|
||||
- strict-data
|
||||
- strict-lens
|
||||
- strict-optics
|
||||
- strict-tuple-lens
|
||||
- StrictBench
|
||||
- StrictCheck
|
||||
|
@ -10081,6 +10081,7 @@ broken-packages:
|
|||
- swearjure
|
||||
- swf
|
||||
- swift-lda
|
||||
- swiss-ephemeris
|
||||
- sws
|
||||
- syb-extras
|
||||
- syb-with-class-instances-text
|
||||
|
@ -10139,6 +10140,7 @@ broken-packages:
|
|||
- Tablify
|
||||
- tabloid
|
||||
- tabs
|
||||
- taffybar
|
||||
- tag-bits
|
||||
- tag-stream
|
||||
- tagged-exception-core
|
||||
|
@ -10249,6 +10251,7 @@ broken-packages:
|
|||
- test-simple
|
||||
- testbench
|
||||
- testCom
|
||||
- testcontainers
|
||||
- TestExplode
|
||||
- testloop
|
||||
- testpack
|
||||
|
@ -10623,7 +10626,6 @@ broken-packages:
|
|||
- uniform-io
|
||||
- union
|
||||
- union-map
|
||||
- Unique
|
||||
- uniqueid
|
||||
- uniquely-represented-sets
|
||||
- units-attoparsec
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "joker";
|
||||
version = "0.15.5";
|
||||
version = "0.15.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "candid82";
|
||||
repo = "joker";
|
||||
sha256 = "0v4mamd5zkw7r9gfl4rzy4mr1d7ni9klryd93izqssgps954bikz";
|
||||
sha256 = "1yi9q8ibia6gz6s30i3bjrbmlhj6knrb3d73113dxrs8abi1mkbh";
|
||||
};
|
||||
|
||||
vendorSha256 = "031ban30kx84r54fj9aq96pwkz9nqh4p9yzs4l8i1wqmy52rldvl";
|
||||
|
|
|
@ -63,19 +63,6 @@ in {
|
|||
inherit passthruFun;
|
||||
};
|
||||
|
||||
python35 = callPackage ./cpython {
|
||||
self = python35;
|
||||
sourceVersion = {
|
||||
major = "3";
|
||||
minor = "5";
|
||||
patch = "9";
|
||||
suffix = "";
|
||||
};
|
||||
sha256 = "0jdh9pvx6m6lfz2liwvvhn7vks7qrysqgwn517fkpxb77b33fjn2";
|
||||
inherit (darwin) configd;
|
||||
inherit passthruFun;
|
||||
};
|
||||
|
||||
python36 = callPackage ./cpython {
|
||||
self = python36;
|
||||
sourceVersion = {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gdk-pixbuf-xlib";
|
||||
version = "2019-10-19-unstable";
|
||||
version = "2020-06-11-unstable";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
|
@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
|||
domain = "gitlab.gnome.org";
|
||||
owner = "Archive";
|
||||
repo = "gdk-pixbuf-xlib";
|
||||
rev = "19482794a621d542b223219940e836257d4ae2c9";
|
||||
sha256 = "7Qv6tyjR0/iFXYHx5jPhvLLLt0Ms2nzpyWw02oXTkZc=";
|
||||
rev = "3116b8ae55501cf48d16970aa2b50a5530e15223";
|
||||
sha256 = "15wisf2xld3cr7lprnic8fvwpcmww4rydwc1bn2zilyi52vzl2zd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -35,14 +35,14 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gegl";
|
||||
version = "0.4.24";
|
||||
version = "0.4.26";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
outputBin = "dev";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.gimp.org/pub/gegl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "d2VJnyc0Gw0WAy5mUxnLwSh2SD/2qUT83ySpxY4+JUo=";
|
||||
sha256 = "097427icgpgvcx40019b3dm8m84cchz79pixzpz648drs8p1wdqg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "intel-media-sdk";
|
||||
version = "20.2.0";
|
||||
version = "20.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-${version}.tar.gz";
|
||||
sha256 = "1b138xpa73y78gxwappxkm58c9j2vqq8zy173z7n4pdwiwsx1kxc";
|
||||
sha256 = "0m3ipfdknpgrdwiywlinl4sfkfrvyv7wmq1j83pmbr54z067sgg1";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
|
||||
stdenv.mkDerivation {
|
||||
pname = "libbap";
|
||||
version = "master-2019-04-05";
|
||||
version = "master-2019-11-15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BinaryAnalysisPlatform";
|
||||
repo = "bap-bindings";
|
||||
rev = "1a89db62f1239a15d310b400f74e151c0a64f37f";
|
||||
sha256 = "0mln9adjgxzhjmjayq06ahgiay4vj5kmnzdxqz3nsik9h3npycd6";
|
||||
rev = "1a30dd3e1df18c432a83a7038b555662d6982ae3";
|
||||
sha256 = "140gmak2kymh3r0fagb6ms66lmvwhhqj8pcd3qxc1p4ar330fwrh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook which ];
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "20.03";
|
||||
version = "20.08";
|
||||
pname = "libmediainfo";
|
||||
src = fetchurl {
|
||||
url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz";
|
||||
sha256 = "0wkzj5s34m8dvy7hif4h8f90q8ncrzd930gij1zzw3h5nw732j38";
|
||||
sha256 = "19n8h9jq42b6r3dbag77fzwfksfywszmzpi636w87fvc1nqldlqj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, libusb1, ninja, pkgconfig }:
|
||||
{ stdenv, config, lib, fetchFromGitHub, cmake, libusb1, ninja, pkgconfig, gcc
|
||||
, cudaSupport ? config.cudaSupport or false, cudatoolkit
|
||||
, enablePython ? false, pythonPackages ? null }:
|
||||
|
||||
assert cudaSupport -> cudatoolkit != null;
|
||||
assert enablePython -> pythonPackages != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "librealsense";
|
||||
version = "2.36.0";
|
||||
version = "2.38.0";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
|
@ -10,11 +15,17 @@ stdenv.mkDerivation rec {
|
|||
owner = "IntelRealSense";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1dfkhnybnd8qnljf3y3hjyamaqzw733hb3swy4hjcsdm9dh0wpay";
|
||||
sha256 = "12rs0gklgzn8bplqjmaxixk04pr870i333mmcp9i5bhkn8x86zbx";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
libusb1
|
||||
gcc.cc.lib
|
||||
] ++ lib.optional cudaSupport cudatoolkit
|
||||
++ lib.optional enablePython pythonPackages.python;
|
||||
|
||||
patches = lib.optionals enablePython [
|
||||
./py_sitepackage_dir.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -23,7 +34,22 @@ stdenv.mkDerivation rec {
|
|||
pkgconfig
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DBUILD_EXAMPLES=false" ];
|
||||
cmakeFlags = [
|
||||
"-DBUILD_EXAMPLES=ON"
|
||||
"-DBUILD_GRAPHICAL_EXAMPLES=OFF"
|
||||
"-DBUILD_GLSL_EXTENSIONS=OFF"
|
||||
] ++ lib.optionals enablePython [
|
||||
"-DBUILD_PYTHON_BINDINGS:bool=true"
|
||||
"-DXXNIX_PYTHON_SITEPACKAGES=${placeholder "out"}/${pythonPackages.python.sitePackages}"
|
||||
] ++ lib.optional cudaSupport "-DBUILD_WITH_CUDA:bool=true";
|
||||
|
||||
# ensure python package contains its __init__.py. for some reason the install
|
||||
# script does not do this, and it's questionable if intel knows it should be
|
||||
# done
|
||||
# ( https://github.com/IntelRealSense/meta-intel-realsense/issues/20 )
|
||||
postInstall = lib.optionalString enablePython ''
|
||||
cp ../wrappers/python/pyrealsense2/__init__.py $out/${pythonPackages.python.sitePackages}/pyrealsense2
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300)";
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
--- a/wrappers/python/CMakeLists.txt
|
||||
+++ b/wrappers/python/CMakeLists.txt
|
||||
@@ -10,11 +10,11 @@
|
||||
if (CMAKE_VERSION VERSION_LESS 3.12)
|
||||
find_package(PythonInterp REQUIRED)
|
||||
find_package(PythonLibs REQUIRED)
|
||||
- set(PYTHON_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/pyrealsense2" CACHE PATH "Installation directory for Python bindings")
|
||||
+ set(PYTHON_INSTALL_DIR "${XXNIX_PYTHON_SITEPACKAGES}/pyrealsense2" CACHE PATH "Installation directory for Python bindings")
|
||||
set(CMAKECONFIG_PY_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/pyrealsense2")
|
||||
else()
|
||||
find_package(Python REQUIRED COMPONENTS Interpreter Development)
|
||||
- set(PYTHON_INSTALL_DIR "${Python_SITEARCH}/pyrealsense2" CACHE PATH "Installation directory for Python bindings")
|
||||
+ set(PYTHON_INSTALL_DIR "${XXNIX_PYTHON_SITEPACKAGES}/pyrealsense2" CACHE PATH "Installation directory for Python bindings")
|
||||
set(CMAKECONFIG_PY_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/pyrealsense2")
|
||||
endif()
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tllist";
|
||||
version = "1.0.1";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://codeberg.org/dnkl/tllist.git";
|
||||
rev = "${version}";
|
||||
sha256 = "0xifbbfg1kn281jybdc6ns5kzz0daha4hf47bd0yc0wcmvcfbgmp";
|
||||
sha256 = "095wly66z9n2r6h318rackgl4g1w9l1vj96367ngcw7rpva9yppl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -61,13 +61,13 @@ with stdenv.lib;
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "webkitgtk";
|
||||
version = "2.28.3";
|
||||
version = "2.28.4";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz";
|
||||
sha256 = "08imj2q6h975mz7714dqdrmbav0s884990gf98xf2862fb08m2gh";
|
||||
sha256 = "0r4lkk21pny2g4mmsw0ds14m5hhjys1l47gvy59dfgihr7l546c2";
|
||||
};
|
||||
|
||||
patches = optionals stdenv.isLinux [
|
||||
|
|
|
@ -155,9 +155,9 @@ cassowary = buildLuarocksPackage {
|
|||
propagatedBuildInputs = [ lua penlight ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/simoncozens/cassowary.lua";
|
||||
description = "The cassowary constraint solver.";
|
||||
maintainers = with maintainers; [ marsam ];
|
||||
homepage = "https://github.com/sile-typesetter/cassowary.lua";
|
||||
description = "The cassowary constraint solver";
|
||||
maintainers = with maintainers; [ marsam alerque ];
|
||||
license.fullName = "Apache 2";
|
||||
};
|
||||
};
|
||||
|
@ -1376,17 +1376,18 @@ nvim-client = buildLuarocksPackage {
|
|||
};
|
||||
penlight = buildLuarocksPackage {
|
||||
pname = "penlight";
|
||||
version = "1.7.0-1";
|
||||
version = "1.8.0-1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://luarocks/penlight-1.7.0-1.src.rock";
|
||||
sha256 = "0rr56vc33b2knr5qmfdjrb1wk98lyp3zmlyzz6m15v2s1s5yxgah";
|
||||
url = "mirror://luarocks/penlight-1.8.0-1.src.rock";
|
||||
sha256 = "05x00dgsa79wzq187ww6i8j0s74nh2c852awni7xfshxgihwhc42";
|
||||
};
|
||||
propagatedBuildInputs = [ luafilesystem ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://tieske.github.io/Penlight";
|
||||
description = "Lua utility libraries loosely based on the Python standard libraries";
|
||||
maintainers = with maintainers; [ alerque ];
|
||||
license.fullName = "MIT/X11";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -12,12 +12,12 @@ else
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml${ocaml.version}-bap-${version}";
|
||||
version = "1.6.0";
|
||||
version = "2.0.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "BinaryAnalysisPlatform";
|
||||
repo = "bap";
|
||||
rev = "v${version}";
|
||||
sha256 = "0ryf2xb37pj2f9mc3p5prqgqrylph9qgq7q9jnbx8b03nzzpa6h6";
|
||||
sha256 = "0lb9xkfp67wjjqr75p6krivmjra7l5673236v9ny4gp0xi0755bk";
|
||||
};
|
||||
|
||||
sigs = fetchurl {
|
||||
|
@ -53,7 +53,9 @@ stdenv.mkDerivation rec {
|
|||
ln -s $sigs $out/share/bap/sigs.zip
|
||||
'';
|
||||
|
||||
disableIda = "--disable-ida --disable-fsi-benchmark";
|
||||
disableIda = "--disable-ida";
|
||||
|
||||
patches = [ ./dont-add-curses.patch ];
|
||||
|
||||
configureFlags = [ "--enable-everything ${disableIda}" "--with-llvm-config=${llvm}/bin/llvm-config" ];
|
||||
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
From e6f6d1529d1725e8c1ed3c96eecc4aea43417aea Mon Sep 17 00:00:00 2001
|
||||
From: Matthew Maurer <matthew.r.maurer@gmail.com>
|
||||
Date: Sun, 19 Apr 2020 15:50:01 -0700
|
||||
Subject: [PATCH] Remove attempt to work around libcurses dependency issues.
|
||||
|
||||
BAP doesn't actually link against libcurses, LLVM does. By adding
|
||||
-lcurses to this file, we accidentally broke linking on any systems
|
||||
where LLVM got linked against libncurses (not libcurses) without a
|
||||
libcurses compatibility shim.
|
||||
|
||||
Overall, we should get -l flags from llvm-config, not attempt to
|
||||
shoehorn them in later, as this is fragile.
|
||||
---
|
||||
oasis/llvm | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/oasis/llvm b/oasis/llvm
|
||||
index 966c407..fba3fb4 100644
|
||||
--- a/oasis/llvm
|
||||
+++ b/oasis/llvm
|
||||
@@ -31,7 +31,7 @@ Library bap_llvm
|
||||
Bap_llvm_ogre_samples,
|
||||
Bap_llvm_ogre_types
|
||||
CCOpt: $cc_optimization
|
||||
- CCLib: $llvm_lib $cxxlibs $llvm_ldflags -lcurses
|
||||
+ CCLib: $llvm_lib $cxxlibs $llvm_ldflags
|
||||
CSources: llvm_disasm.h,
|
||||
llvm_disasm.c,
|
||||
llvm_stubs.c,
|
||||
--
|
||||
2.22.0
|
||||
|
|
@ -5,11 +5,13 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
pname = "cohttp";
|
||||
version = "2.5.1";
|
||||
version = "2.5.4";
|
||||
|
||||
minimumOCamlVersion = "4.04.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-cohttp/releases/download/v${version}/cohttp-v${version}.tbz";
|
||||
sha256 = "0im91mi3nxzqfd7fs5r0zg5gsparfnf5zaz13mpw247hkd3y3396";
|
||||
sha256 = "1q04spmki5zis5p5m1vs77i3k7ijm134j62g61071vblwx25z17a";
|
||||
};
|
||||
|
||||
buildInputs = [ jsonm ppx_fields_conv ppx_sexp_conv ];
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
pname = "dns";
|
||||
version = "4.6.1";
|
||||
version = "4.6.2";
|
||||
|
||||
minimumOCamlVersion = "4.07";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-dns/releases/download/v${version}/dns-v${version}.tbz";
|
||||
sha256 = "0nsx98r2i1siz0yghnh87f2sq8w79if7ih9259yay1bp39crd6gd";
|
||||
sha256 = "0prypr5c589vay4alri78g0sarh06z35did26wn3s3di17d5761q";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ rresult astring fmt logs ptime domain-name gmap cstruct ipaddr lru duration metrics ];
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
{ lib, buildDunePackage, fetchurl, benchmark, cstruct
|
||||
, eqaf, hex, ppx_blob, ppx_deriving_yojson, stdlib-shims, yojson }:
|
||||
, alcotest , eqaf, hex, ppx_blob, ppx_deriving_yojson, stdlib-shims, yojson }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "hacl_x25519";
|
||||
version = "0.1.1";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/hacl/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "187khbx1myh942c2v5f7wbms2hmhmgn57ik25djhnryln32c0874";
|
||||
sha256 = "0ppq56i2yhxzz38w120aynnkx10kncl86zvqip9zx0v4974k3k4x";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
propagatedBuildInputs = [ eqaf cstruct ];
|
||||
checkInputs = [ benchmark hex ppx_blob ppx_deriving_yojson stdlib-shims yojson ];
|
||||
checkInputs = [ alcotest benchmark hex ppx_blob ppx_deriving_yojson stdlib-shims yojson ];
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -1,20 +1,18 @@
|
|||
{ lib, buildDunePackage, fetchFromGitHub, cppo }:
|
||||
{ lib, buildDunePackage, fetchurl, cppo }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "merlin-extend";
|
||||
version = "0.4";
|
||||
version = "0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "let-def";
|
||||
repo = pname;
|
||||
sha256 = "1dxiqmm7ry24gvw6p9n4mrz37mnq4s6m8blrccsv3rb8yq82acx9";
|
||||
rev = "v${version}";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/let-def/merlin-extend/releases/download/v${version}/merlin-extend-v${version}.tbz";
|
||||
sha256 = "0hvc4mz92x3rl2dxwrhvhzwl4gilnyvvwcqgr45vmdpyjyp3dwn2";
|
||||
};
|
||||
|
||||
buildInputs = [ cppo ];
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
homepage = "https://github.com/let-def/merlin-extend";
|
||||
description = "SDK to extend Merlin";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.volth ];
|
||||
|
|
|
@ -4,11 +4,11 @@ buildDunePackage rec {
|
|||
minimumOCamlVersion = "4.08";
|
||||
|
||||
pname = "mirage-crypto";
|
||||
version = "0.8.1";
|
||||
version = "0.8.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-v${version}.tbz";
|
||||
sha256 = "13qjisijayviw1s77s74f7klkrjj470vhj4b21cpif7jj2i4ljgk";
|
||||
sha256 = "08rmhjrk046nnhbdk16vg7w7ink4bj6yq9dsjcky5psn982aqiwi";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
buildDunePackage rec {
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
version = "0.12.3";
|
||||
version = "0.12.4";
|
||||
pname = "tls";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirleft/ocaml-tls/releases/download/v${version}/tls-v${version}.tbz";
|
||||
sha256 = "1kfkxsy0nkqi0gbsqn1ssh4x0xhy0p07ijclm42806rxlqr3x405";
|
||||
sha256 = "1m6ci98xg8axk1swrjx0q33ixinyjg8vzr7vwr65k9wljfgy10s9";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
|
|
@ -6,11 +6,11 @@ let
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml-${pname}-${version}";
|
||||
version = "10.0.0";
|
||||
version = "13.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${webpage}/releases/${pname}-${version}.tbz";
|
||||
sha256 = "0cdyg6vaic4n58w80qriwvaq1c40ng3fh74ilxrwajbq163k055q";
|
||||
sha256 = "1fg77hg4ibidkv1x8hhzl8z3rzmyymn8m4i35jrdibb8adigi8v2";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild topkg ];
|
||||
|
|
|
@ -18,6 +18,8 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [ pytestCheckHook pytest-benchmark numpy arrow ruamel_yaml ];
|
||||
|
||||
disabledTests = stdenv.lib.optionals stdenv.isDarwin [ "test_multiprocessing" ];
|
||||
|
||||
pytestFlagsArray = [ "--benchmark-disable" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aniso8601
|
||||
, jsonschema
|
||||
, flask
|
||||
, werkzeug
|
||||
, pytz
|
||||
, faker
|
||||
, six
|
||||
, enum34
|
||||
, isPy27
|
||||
, mock
|
||||
, blinker
|
||||
, pytest-flask
|
||||
, pytest-mock
|
||||
, pytest-benchmark
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-restx";
|
||||
version = "0.2.0";
|
||||
|
||||
# Tests not included in PyPI tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-restx";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0xf2vkmdngp9cv9klznizai4byxjcf0iqh1pr4b83nann0jxqwy7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aniso8601 jsonschema flask werkzeug pytz six ]
|
||||
++ lib.optionals isPy27 [ enum34 ];
|
||||
|
||||
checkInputs = [ pytestCheckHook faker mock pytest-flask pytest-mock pytest-benchmark blinker ];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--benchmark-disable"
|
||||
"--deselect=tests/test_inputs.py::URLTest::test_check"
|
||||
"--deselect=tests/test_inputs.py::EmailTest::test_valid_value_check"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://flask-restx.readthedocs.io/en/${version}/";
|
||||
description = "Fully featured framework for fast, easy and documented API development with Flask";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
|
@ -6,11 +6,11 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "hg-evolve";
|
||||
version = "10.0.0";
|
||||
version = "10.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "03kn1c62y6rb851wjhsaxkrwq223hkc4ij59i85999byyb2hyqad";
|
||||
sha256 = "9468b3e2721744b077413c3d4a6b321b61370d4c87b90afa40dc2b48ad877d4b";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
|
|
@ -1,69 +0,0 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
# Build dependencies
|
||||
, glibcLocales
|
||||
# Test dependencies
|
||||
, nose
|
||||
, pygments
|
||||
# Runtime dependencies
|
||||
, jedi
|
||||
, decorator
|
||||
, pickleshare
|
||||
, traitlets
|
||||
, prompt_toolkit
|
||||
, pexpect
|
||||
, appnope
|
||||
, backcall
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipython";
|
||||
version = "7.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "103jkw18z7fnwdal1mdbijjxi1fndzn31g887lmj7ddpf2r07lyz";
|
||||
};
|
||||
|
||||
prePatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace setup.py --replace "'gnureadline'" " "
|
||||
'';
|
||||
|
||||
buildInputs = [ glibcLocales ];
|
||||
|
||||
checkInputs = [ nose pygments ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jedi
|
||||
decorator
|
||||
pickleshare
|
||||
traitlets
|
||||
prompt_toolkit
|
||||
pygments
|
||||
pexpect
|
||||
backcall
|
||||
] ++ lib.optionals stdenv.isDarwin [appnope];
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
doCheck = false; # Circular dependency with ipykernel
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"IPython"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "IPython: Productive Interactive Computing";
|
||||
homepage = "http://ipython.org/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
};
|
||||
}
|
|
@ -1,11 +1,13 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "javaobj-py3";
|
||||
version = "0.4.1";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
|
|
@ -4,7 +4,7 @@ buildPythonPackage rec {
|
|||
pname = "jq";
|
||||
version = "0.1.6";
|
||||
|
||||
srcs = fetchPypi {
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "34bdf9f9e49e522e1790afc03f3584c6b57329215ea0567fb2157867d6d6f602";
|
||||
};
|
||||
|
|
|
@ -12,6 +12,8 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [ pytestCheckHook colorama ];
|
||||
|
||||
pytestFlagsArray = stdenv.lib.optionals stdenv.isDarwin [ "--ignore=tests/test_multiprocessing.py" ];
|
||||
|
||||
disabledTests = [ "test_time_rotation_reopening" "test_file_buffering" ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ "test_rotation_and_retention" "test_rotation_and_retention_timed_file" "test_renaming" "test_await_complete_inheritance" ];
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
|||
pname = "openwrt-luci-rpc";
|
||||
version = "1.1.2";
|
||||
|
||||
srcs = fetchPypi {
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "144bw7w1xvpdkad5phflpkl15ih5pvi19799wmvfv8mj1dn1yjhp";
|
||||
};
|
||||
|
|
|
@ -31,7 +31,8 @@ buildPythonPackage rec {
|
|||
"test_integration"
|
||||
];
|
||||
|
||||
disabled = isPy3k; # Not yet compatible with latest Sphinx.
|
||||
doCheck = !isPy3k; # Not yet compatible with latest Sphinx.
|
||||
pythonImportsCheck = [ "recommonmark" ];
|
||||
|
||||
meta = {
|
||||
description = "A docutils-compatibility bridge to CommonMark";
|
||||
|
|
|
@ -11,11 +11,11 @@ let
|
|||
ft = freetype.overrideAttrs (oldArgs: { dontDisableStatic = true; });
|
||||
in buildPythonPackage rec {
|
||||
pname = "reportlab";
|
||||
version = "3.5.46";
|
||||
version = "3.5.47";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "56d71b78e7e4bb31a93e1dff13c22d19b7fb3890b021a39b6c3661b095bd7de8";
|
||||
sha256 = "0gw0902yjszwxk0air69in7nk4h2q36r96ga3r4bz0p0cnmagcj5";
|
||||
};
|
||||
|
||||
checkInputs = [ glibcLocales ];
|
||||
|
@ -30,6 +30,7 @@ in buildPythonPackage rec {
|
|||
|
||||
# Remove the tests that require Vera fonts installed
|
||||
rm tests/test_graphics_render.py
|
||||
rm tests/test_graphics_charts.py
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
, writeTextDir
|
||||
, substituteAll
|
||||
, pkgsHostHost
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
|
@ -16,6 +17,13 @@ python3.pkgs.buildPythonApplication rec {
|
|||
};
|
||||
|
||||
patches = [
|
||||
# Meson 0.55.0 incorrectly considers skipped tests as failures,
|
||||
# which makes some packages like gjs fail to build.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mesonbuild/meson/commit/7db49db67d4aa7582cf46feb7157235e66aa95b1.diff";
|
||||
sha256 = "1chq52sgk24afdlswssr8n8p6fa2wz8rjlxvkjhpqg1kg3qnqc9p";
|
||||
})
|
||||
|
||||
# Upstream insists on not allowing bindir and other dir options
|
||||
# outside of prefix for some reason:
|
||||
# https://github.com/mesonbuild/meson/issues/2561
|
||||
|
|
|
@ -1,14 +1,46 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, coreutils
|
||||
, gawk
|
||||
, git
|
||||
, gnugrep
|
||||
, ncurses
|
||||
, utillinux
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "git-quick-stats";
|
||||
version = "2.1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "git-quick-stats";
|
||||
owner = "arzzen";
|
||||
rev = version;
|
||||
sha256 = "0fg0fijghcz7hvbc9y8dfksz0qmsz700kc2mfb03y90kja99v68y";
|
||||
};
|
||||
PREFIX = builtins.placeholder "out";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installFlags = [
|
||||
"PREFIX=${builtins.placeholder "out"}"
|
||||
];
|
||||
|
||||
postInstall =
|
||||
let
|
||||
path = stdenv.lib.makeBinPath [
|
||||
coreutils
|
||||
gawk
|
||||
git
|
||||
gnugrep
|
||||
ncurses
|
||||
utillinux
|
||||
];
|
||||
in
|
||||
''
|
||||
wrapProgram $out/bin/git-quick-stats --suffix PATH : ${path}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/arzzen/git-quick-stats";
|
||||
description = "A simple and efficient way to access various statistics in git repository";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
buildGoPackage rec {
|
||||
pname = "gllvm";
|
||||
version = "1.2.6";
|
||||
version = "1.2.7";
|
||||
|
||||
goPackagePath = "github.com/SRI-CSL/gllvm";
|
||||
|
||||
|
@ -10,7 +10,7 @@ buildGoPackage rec {
|
|||
owner = "SRI-CSL";
|
||||
repo = "gllvm";
|
||||
rev = "v${version}";
|
||||
sha256 = "0qzmrprc7npc0ln6mhkjrm8fgh2n94rdylixk11p6imxyx5fj3gg";
|
||||
sha256 = "13cmmgbcdfgyxnxqfrn4m6vf0bhpday8lmrr3sm6rk48g77cq203";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
{ lib, fetchurl, buildDunePackage
|
||||
, ocaml, findlib, cmdliner, dune_2, cppo, yojson, ocaml-migrate-parsetree
|
||||
, menhir
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "js_of_ocaml-compiler";
|
||||
version = "3.6.0";
|
||||
version = "3.7.0";
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocsigen/js_of_ocaml/releases/download/${version}/js_of_ocaml-${version}.tbz";
|
||||
sha256 = "51eaa89c83ef3168ef270bf7997cbc35a747936d3f51aa6fac58fb0323b4cbb0";
|
||||
sha256 = "0rw6cfkl3zlyav8q2w7grxxqjmg35mz5rgvmkiqb58nl4gmgzx6w";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib dune_2 cppo ];
|
||||
nativeBuildInputs = [ ocaml findlib dune_2 cppo menhir ];
|
||||
buildInputs = [ cmdliner ];
|
||||
|
||||
configurePlatforms = [];
|
||||
|
|
|
@ -10,8 +10,6 @@ stdenv.mkDerivation {
|
|||
buildInputs = [ findlib ocaml-migrate-parsetree ppx_tools_versioned ];
|
||||
nativeBuildInputs = [ ocaml findlib dune_2 ];
|
||||
|
||||
postPatch = "patchShebangs lib/generate_stubs.sh";
|
||||
|
||||
propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
|
||||
|
||||
buildPhase = "dune build -p js_of_ocaml";
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "operator-sdk";
|
||||
version = "0.19.2";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "operator-framework";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1lmnxw6l6lknvbwmw5xh238i0j452sib37fw8ybxp64zwvj2sac0";
|
||||
sha256 = "1s59rgr0ssics1487mvx0h37zs7dfjimsvkbs2d8wqc3r8asw0g4";
|
||||
};
|
||||
|
||||
vendorSha256 = "1xk3zw8w2fynww0z4d66nlclhjf52bk4cv3bh51yyd1mr808lip5";
|
||||
vendorSha256 = "0xvjsiaa3qvlix1fm07z080vh79wg0xyx2s6jqnqn7fb3nh65kn7";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
|
|
@ -12,11 +12,11 @@ let
|
|||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "arena-1.1";
|
||||
name = "arena-3.10-beta";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.playwitharena.de/downloads/arenalinux_64bit_1.1.tar.gz";
|
||||
sha256 = "1sh71v5ymzwflq8ycx9j9kl0jhqllgs6z24h4h8j5z8pwdh528v6";
|
||||
url = "http://www.playwitharena.de/downloads/arenalinux_64bit_3.10beta.tar.gz";
|
||||
sha256 = "1pzb9sg4lzbbi4gbldvlb85p8xyl9xnplxwyb9pkk2mwzvvxkf0d";
|
||||
};
|
||||
|
||||
# stdenv.cc.cc.lib is in that list to pick up libstdc++.so. Is there a better way?
|
||||
|
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# Remove executable bits from data files. This matters for the find command
|
||||
# we'll use below to find all bundled engines.
|
||||
chmod -x $out/lib/${name}/Engines/*/*.{txt,bin,bmp}
|
||||
chmod -x $out/lib/${name}/Engines/*/*.{txt,bin,bmp,zip}
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
|
|
|
@ -158,11 +158,6 @@ let
|
|||
patchelf \
|
||||
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||
$out/bin/factorio
|
||||
|
||||
mkdir -p $out/share/icons/hicolor/{64x64,128x128}/apps
|
||||
cp -a data/core/graphics/factorio-icon.png $out/share/icons/hicolor/64x64/apps/factorio.png
|
||||
cp -a data/core/graphics/factorio-icon@2x.png $out/share/icons/hicolor/128x128/apps/factorio.png
|
||||
ln -s ${desktopItem}/share/applications $out/share/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
@ -239,6 +234,11 @@ let
|
|||
${updateConfigSh}
|
||||
EOF
|
||||
) $out/share/factorio/update-config.sh
|
||||
|
||||
mkdir -p $out/share/icons/hicolor/{64x64,128x128}/apps
|
||||
cp -a data/core/graphics/factorio-icon.png $out/share/icons/hicolor/64x64/apps/factorio.png
|
||||
cp -a data/core/graphics/factorio-icon@2x.png $out/share/icons/hicolor/128x128/apps/factorio.png
|
||||
ln -s ${desktopItem}/share/applications $out/share/
|
||||
'';
|
||||
};
|
||||
alpha = demo // {
|
||||
|
|
|
@ -65,12 +65,12 @@ let
|
|||
|
||||
ale = buildVimPluginFrom2Nix {
|
||||
pname = "ale";
|
||||
version = "2020-08-01";
|
||||
version = "2020-08-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "dense-analysis";
|
||||
repo = "ale";
|
||||
rev = "316c7c7372ad6f34e439944713655ccff2123f40";
|
||||
sha256 = "1qrj9zyb9y03ki0ivj4agjg2wn5jbymy39icxg33xp8bjf2wra5m";
|
||||
rev = "5ceda0164c5fae0d61fd51d4c9e083b27abdc9d2";
|
||||
sha256 = "1bq3q6sqxb6ihipnm1hv8yyj78yl9wygv6xr9xafy0zk338sg7ph";
|
||||
};
|
||||
meta.homepage = "https://github.com/dense-analysis/ale/";
|
||||
};
|
||||
|
@ -401,36 +401,36 @@ let
|
|||
|
||||
coc-fzf = buildVimPluginFrom2Nix {
|
||||
pname = "coc-fzf";
|
||||
version = "2020-08-03";
|
||||
version = "2020-08-13";
|
||||
src = fetchFromGitHub {
|
||||
owner = "antoinemadec";
|
||||
repo = "coc-fzf";
|
||||
rev = "ca077f82959f34cb2859c6202736f00b747cd210";
|
||||
sha256 = "0alq3sr00j50zha2cf3dak5vx92dhspx5cb61x48ql8y83cqpfb3";
|
||||
rev = "0fd8cf49922019c1de111cf7ddffa02dba5d3d57";
|
||||
sha256 = "0d561wbvsqal5d29bmnifaslgbavyfxigpw5hqn16jb4s16jmp9n";
|
||||
};
|
||||
meta.homepage = "https://github.com/antoinemadec/coc-fzf/";
|
||||
};
|
||||
|
||||
coc-git = buildVimPluginFrom2Nix {
|
||||
pname = "coc-git";
|
||||
version = "2020-07-29";
|
||||
version = "2020-08-08";
|
||||
src = fetchFromGitHub {
|
||||
owner = "neoclide";
|
||||
repo = "coc-git";
|
||||
rev = "c438e3a3f2f2560ac3347e91ff8462f400a1a869";
|
||||
sha256 = "1lh80kxbg59hbkdd87isnyan6rs4fhz7k8y3nh540j86sa42hm7z";
|
||||
rev = "eef63ac3807ff32fe60743b4041dc293f76401bf";
|
||||
sha256 = "1m1nzrzy7c5ggl87adbla9zcnaqr3dvx72sd3mcfxq5g9qglr2gk";
|
||||
};
|
||||
meta.homepage = "https://github.com/neoclide/coc-git/";
|
||||
};
|
||||
|
||||
coc-go = buildVimPluginFrom2Nix {
|
||||
pname = "coc-go";
|
||||
version = "2020-07-18";
|
||||
version = "2020-08-12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "josa42";
|
||||
repo = "coc-go";
|
||||
rev = "6d13daa46c7c8707e7dcaa96815dad1c7a41acab";
|
||||
sha256 = "0d3ny7bfa5pwbfm23gsrl7x09r9k53n25rsfw5jqkfl2m47jxw1l";
|
||||
rev = "b068394634189ede2fb96b742cadcaa852bf46b0";
|
||||
sha256 = "099dgk3kc814hgnpd0jhc6sz3d7512i86i99n6hq6yswsg7n1d51";
|
||||
};
|
||||
meta.homepage = "https://github.com/josa42/coc-go/";
|
||||
};
|
||||
|
@ -473,12 +473,12 @@ let
|
|||
|
||||
coc-java = buildVimPluginFrom2Nix {
|
||||
pname = "coc-java";
|
||||
version = "2020-06-25";
|
||||
version = "2020-08-11";
|
||||
src = fetchFromGitHub {
|
||||
owner = "neoclide";
|
||||
repo = "coc-java";
|
||||
rev = "54133e9f411837a54ffc838185c343e628213b29";
|
||||
sha256 = "06blp4bidz74qgb44h498jbhx4gw5g57ki0a5gwms11zm74v0k00";
|
||||
rev = "aed8ccb10acf1863fb0fe622f21c3a0be18e362f";
|
||||
sha256 = "1hrwj4x09gnqnwv43bxx9w2y3nrhqbjc3yl2q8ck22212s66wkpi";
|
||||
};
|
||||
meta.homepage = "https://github.com/neoclide/coc-java/";
|
||||
};
|
||||
|
@ -521,12 +521,12 @@ let
|
|||
|
||||
coc-metals = buildVimPluginFrom2Nix {
|
||||
pname = "coc-metals";
|
||||
version = "2020-07-27";
|
||||
version = "2020-08-09";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ckipp01";
|
||||
repo = "coc-metals";
|
||||
rev = "b2fdfbe5e1588ebab5f6965734684bbead25aafd";
|
||||
sha256 = "0k7s6dq72rlahqbvs5w83xhg5n2cf248yv4q9654vlck9k6hdvjc";
|
||||
rev = "1a1c80d2464341e8981e695d8dcd97109182cbf4";
|
||||
sha256 = "1sgj7hnm484vgvz023qji4x7zippik6fpmgbjik94rb34r4g2lsa";
|
||||
};
|
||||
meta.homepage = "https://github.com/ckipp01/coc-metals/";
|
||||
};
|
||||
|
@ -593,24 +593,24 @@ let
|
|||
|
||||
coc-rls = buildVimPluginFrom2Nix {
|
||||
pname = "coc-rls";
|
||||
version = "2020-07-03";
|
||||
version = "2020-08-11";
|
||||
src = fetchFromGitHub {
|
||||
owner = "neoclide";
|
||||
repo = "coc-rls";
|
||||
rev = "71bbe50be43c886aa1ef8190cb55fa6f7fe44f59";
|
||||
sha256 = "19r0gb3qbnsg5q4ai7an7d3a1zwdzjh3vg0l4khhnkhbh5ws69m4";
|
||||
rev = "49ed83bb6d6bc01142ba18774575987b12857aee";
|
||||
sha256 = "05lbfl60ka9zx8s6ack92v3vk3zj47w1fscdfkdqafcaqizlgia1";
|
||||
};
|
||||
meta.homepage = "https://github.com/neoclide/coc-rls/";
|
||||
};
|
||||
|
||||
coc-rust-analyzer = buildVimPluginFrom2Nix {
|
||||
pname = "coc-rust-analyzer";
|
||||
version = "2020-08-04";
|
||||
version = "2020-08-12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "fannheyward";
|
||||
repo = "coc-rust-analyzer";
|
||||
rev = "96a5021780df3fe03ecec32aa412df81ba5fb1ec";
|
||||
sha256 = "0rkh5dj4hjh1kq1z651m5vf16mcil1d3hv5nqnyyrrj6x9m6y0zz";
|
||||
rev = "a2c9ceadd9cc36456da381b1302b96cf6fdd9194";
|
||||
sha256 = "0c7h5s7xafvnikjhvhlknhvmm99c51p1mrvii633v1bwnmbnhk3y";
|
||||
};
|
||||
meta.homepage = "https://github.com/fannheyward/coc-rust-analyzer/";
|
||||
};
|
||||
|
@ -641,12 +641,12 @@ let
|
|||
|
||||
coc-solargraph = buildVimPluginFrom2Nix {
|
||||
pname = "coc-solargraph";
|
||||
version = "2020-02-14";
|
||||
version = "2020-08-08";
|
||||
src = fetchFromGitHub {
|
||||
owner = "neoclide";
|
||||
repo = "coc-solargraph";
|
||||
rev = "231447aae26a0e88aa6d9e207a7354c4ca37d564";
|
||||
sha256 = "0amcx519r9j8jr6ckglywsjlyph3m5jq4qvbfwyir8ihxhxa4b0d";
|
||||
rev = "66d1ca9d5fd10927d618561b81447a22f6929a6a";
|
||||
sha256 = "0i48hzgsnn9ghk41c885nslwv8hi98ym6yzcsayncs2vasv7gcnl";
|
||||
};
|
||||
meta.homepage = "https://github.com/neoclide/coc-solargraph/";
|
||||
};
|
||||
|
@ -713,12 +713,12 @@ let
|
|||
|
||||
coc-tsserver = buildVimPluginFrom2Nix {
|
||||
pname = "coc-tsserver";
|
||||
version = "2020-07-22";
|
||||
version = "2020-08-08";
|
||||
src = fetchFromGitHub {
|
||||
owner = "neoclide";
|
||||
repo = "coc-tsserver";
|
||||
rev = "2d6d066afbe909f499d636be753792580b592c19";
|
||||
sha256 = "0kk9ml8ik0n8cd5zwzg23swlzwpzzg3hf7n2maqv3j6nl92w4k31";
|
||||
rev = "47d3dba90a52eb1126cda486fb788e76404dc668";
|
||||
sha256 = "1s0xnk0f1hqp9nkcqzn31wfjl5sq9qpwriim946wbjg0cfng1xh2";
|
||||
};
|
||||
meta.homepage = "https://github.com/neoclide/coc-tsserver/";
|
||||
};
|
||||
|
@ -785,12 +785,12 @@ let
|
|||
|
||||
coc-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "coc-nvim";
|
||||
version = "2020-07-29";
|
||||
version = "2020-08-08";
|
||||
src = fetchFromGitHub {
|
||||
owner = "neoclide";
|
||||
repo = "coc.nvim";
|
||||
rev = "a699f24ac8f5305e77b11ae5508065abffcc79bc";
|
||||
sha256 = "0c3ddi7gnbyn2irsqcf7qdxq6z7cqg96b8hk6k7m185n26nb4iys";
|
||||
rev = "806ce47583d66d0b574a3c993526033971e700cf";
|
||||
sha256 = "1v29l7jrp1n141q8lywas5jflbjid6rryym732ga41yjqkrmlvip";
|
||||
};
|
||||
meta.homepage = "https://github.com/neoclide/coc.nvim/";
|
||||
};
|
||||
|
@ -846,12 +846,12 @@ let
|
|||
|
||||
completion-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "completion-nvim";
|
||||
version = "2020-08-02";
|
||||
version = "2020-08-13";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-lua";
|
||||
repo = "completion-nvim";
|
||||
rev = "b354c7fcfadac3170db696d47d8e7edb478ba4f0";
|
||||
sha256 = "0fhn6r6w7slvd24akm27ylf9fmdi0rgcv86c0zl53kzc1pkz4a01";
|
||||
rev = "43cb0b123544b602bd31747a3d8cf52ef0660723";
|
||||
sha256 = "0qllj4zqbw2fhp17lqk0xmbraq86gl9gjp9vszpd9jbw7h4lh168";
|
||||
};
|
||||
meta.homepage = "https://github.com/nvim-lua/completion-nvim/";
|
||||
};
|
||||
|
@ -882,12 +882,12 @@ let
|
|||
|
||||
conjure = buildVimPluginFrom2Nix {
|
||||
pname = "conjure";
|
||||
version = "2020-08-02";
|
||||
version = "2020-08-12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Olical";
|
||||
repo = "conjure";
|
||||
rev = "d9d514db3ef7fcf36bacc402aba511663a73bfbc";
|
||||
sha256 = "0pb4ysv1nhgccb5plgidv0mj9vrxl95vzsvy5771bmaqiw3srnxf";
|
||||
rev = "db0de94cc2c4fe1bf1a8fe5c78fcc774097d1e90";
|
||||
sha256 = "1vcp2hzp5kg1rpdbl8sil16zqc1qawxfchwbq4c4kwyr2kxkavhh";
|
||||
};
|
||||
meta.homepage = "https://github.com/Olical/conjure/";
|
||||
};
|
||||
|
@ -1002,48 +1002,48 @@ let
|
|||
|
||||
dart-vim-plugin = buildVimPluginFrom2Nix {
|
||||
pname = "dart-vim-plugin";
|
||||
version = "2020-06-25";
|
||||
version = "2020-08-10";
|
||||
src = fetchFromGitHub {
|
||||
owner = "dart-lang";
|
||||
repo = "dart-vim-plugin";
|
||||
rev = "b9fd9d22d0c705e89e2cc50b993db04d824dd8aa";
|
||||
sha256 = "1m2i263ppvs8xbb5xfif5pyd5zxwhimvm373dlmlwmgn339cw0pa";
|
||||
rev = "8ea1650726f96dd67b06dbdbd7ddf67076ef9ee6";
|
||||
sha256 = "19h0jj13a1fniy8545x447cabs9gxpirpv3kh0jl4j3hbv97wkdm";
|
||||
};
|
||||
meta.homepage = "https://github.com/dart-lang/dart-vim-plugin/";
|
||||
};
|
||||
|
||||
defx-git = buildVimPluginFrom2Nix {
|
||||
pname = "defx-git";
|
||||
version = "2020-07-25";
|
||||
version = "2020-08-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "kristijanhusak";
|
||||
repo = "defx-git";
|
||||
rev = "96fbc0de0e02edef9054dd8f33efbad9fc1fe6e6";
|
||||
sha256 = "1n4ls3lz1syhmm17v4zf009ic8a61pxyym42f032a5f46h31mvb2";
|
||||
rev = "717b30addcd5204cf11c0736792c4b7c45005b88";
|
||||
sha256 = "1mx398lpzbzvrd1jawlxa4sd84ba60w3k9l46hg53hmbp1df4wff";
|
||||
};
|
||||
meta.homepage = "https://github.com/kristijanhusak/defx-git/";
|
||||
};
|
||||
|
||||
defx-icons = buildVimPluginFrom2Nix {
|
||||
pname = "defx-icons";
|
||||
version = "2020-08-04";
|
||||
version = "2020-08-09";
|
||||
src = fetchFromGitHub {
|
||||
owner = "kristijanhusak";
|
||||
repo = "defx-icons";
|
||||
rev = "8a8feea660488c70defd5706229cacd69fb34642";
|
||||
sha256 = "175bi9aj8sg83r4yvfbvcd7kwjrb3b791ifi8zw4i7l9x2z0nnlm";
|
||||
rev = "3259550f918b2cfb9794b62e7bb94b863f75f489";
|
||||
sha256 = "1a65p99f9f1idzkxl4fd1klxidf40lvs79bym1fydv1zw34x8qzv";
|
||||
};
|
||||
meta.homepage = "https://github.com/kristijanhusak/defx-icons/";
|
||||
};
|
||||
|
||||
defx-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "defx-nvim";
|
||||
version = "2020-07-28";
|
||||
version = "2020-08-09";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Shougo";
|
||||
repo = "defx.nvim";
|
||||
rev = "4469568bef6571a4d0fda0b48c8c80e082a8e08d";
|
||||
sha256 = "05gaw1d3sw44kh0lz4nphkfha2x2my094wwkx3hxjw18abxr4qqf";
|
||||
rev = "175a57e9444bf2d24c2480e8ecba33bd70b5e522";
|
||||
sha256 = "1ics05jaa25n6ffdn19sj5r840fbjsxjhprnbhipgxz47iy9jias";
|
||||
};
|
||||
meta.homepage = "https://github.com/Shougo/defx.nvim/";
|
||||
};
|
||||
|
@ -1196,12 +1196,12 @@ let
|
|||
|
||||
deoplete-jedi = buildVimPluginFrom2Nix {
|
||||
pname = "deoplete-jedi";
|
||||
version = "2020-07-06";
|
||||
version = "2020-08-06";
|
||||
src = fetchFromGitHub {
|
||||
owner = "deoplete-plugins";
|
||||
repo = "deoplete-jedi";
|
||||
rev = "a0e5a0630206e198380d31804bb6652e56cb3701";
|
||||
sha256 = "14lq2pv8sy4ij100blg2mkd4h0xsvba968l66hv82ad98vlnwx15";
|
||||
rev = "2786058b9022ce6e50db7f75088e69e07185e52c";
|
||||
sha256 = "0myn6rgwq7yd3hpxdxa7kj3dlk2x9ljqlznqg95qcm8i0w53z1wg";
|
||||
};
|
||||
meta.homepage = "https://github.com/deoplete-plugins/deoplete-jedi/";
|
||||
};
|
||||
|
@ -1316,12 +1316,12 @@ let
|
|||
|
||||
deoplete-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "deoplete-nvim";
|
||||
version = "2020-07-29";
|
||||
version = "2020-08-10";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Shougo";
|
||||
repo = "deoplete.nvim";
|
||||
rev = "3ebad687ee8da04ff184e3fc878a2f2a5a90a6a1";
|
||||
sha256 = "031gj7h0biak950p2d0pyn41jc76rrxw0pvdnk5dkqfcw3af6rrw";
|
||||
rev = "ba3913cc52b457877836f7423b0929b770dda42b";
|
||||
sha256 = "16hn83ns278x9p280b0gpk4b4vhg50004bpnff7d3inf3x6pli4j";
|
||||
};
|
||||
meta.homepage = "https://github.com/Shougo/deoplete.nvim/";
|
||||
};
|
||||
|
@ -1595,12 +1595,12 @@ let
|
|||
|
||||
fzf-vim = buildVimPluginFrom2Nix {
|
||||
pname = "fzf-vim";
|
||||
version = "2020-07-30";
|
||||
version = "2020-08-12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "junegunn";
|
||||
repo = "fzf.vim";
|
||||
rev = "2115caeba1b55040bfdb1b8c38a836ad4e0b7669";
|
||||
sha256 = "0rx4dcsdl4kcxs5w66qpamdh5m6hvd3p6v46wqqij79b3ji3yjw3";
|
||||
rev = "4145f53f3d343c389ff974b1f1a68eeb39fba18b";
|
||||
sha256 = "07fb52c8bmmpfin24pqqh04q157qx52xjri2wjm004yq69b44hx7";
|
||||
};
|
||||
meta.homepage = "https://github.com/junegunn/fzf.vim/";
|
||||
};
|
||||
|
@ -1631,12 +1631,12 @@ let
|
|||
|
||||
ghcid = buildVimPluginFrom2Nix {
|
||||
pname = "ghcid";
|
||||
version = "2020-06-22";
|
||||
version = "2020-08-12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ndmitchell";
|
||||
repo = "ghcid";
|
||||
rev = "e54c1ebcec8bf4313ef04a1c5f47ecdbb6d11db3";
|
||||
sha256 = "1bs07jjj3pgwdr81w8piph6wz73n0gwj3imbnd2za0jqxbshyzry";
|
||||
rev = "d6191a111a1160ddecb05292eefe28ae362ccbaa";
|
||||
sha256 = "17dp28a3ipbx8fwsj0h9imkrgd0nfjzpcsn1zjdbih1kfh494smf";
|
||||
};
|
||||
meta.homepage = "https://github.com/ndmitchell/ghcid/";
|
||||
};
|
||||
|
@ -2028,12 +2028,12 @@ let
|
|||
|
||||
kotlin-vim = buildVimPluginFrom2Nix {
|
||||
pname = "kotlin-vim";
|
||||
version = "2020-07-12";
|
||||
version = "2020-08-11";
|
||||
src = fetchFromGitHub {
|
||||
owner = "udalov";
|
||||
repo = "kotlin-vim";
|
||||
rev = "33606c3163a2dd8c6a1924d6c7ed9e091de9743d";
|
||||
sha256 = "0idnxblirl2493yxpmh69hkikf4w18a4br9mhwpvswzm52dwz5a4";
|
||||
rev = "26970168ca88c62b271fbc0a275dbe31cda94bd6";
|
||||
sha256 = "0mvwz8gwv619b4l7g3mafvd6q4khl0xis0a8v300d8i3pjhx4i40";
|
||||
};
|
||||
meta.homepage = "https://github.com/udalov/kotlin-vim/";
|
||||
};
|
||||
|
@ -2148,12 +2148,12 @@ let
|
|||
|
||||
lh-vim-lib = buildVimPluginFrom2Nix {
|
||||
pname = "lh-vim-lib";
|
||||
version = "2020-07-18";
|
||||
version = "2020-08-12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "LucHermitte";
|
||||
repo = "lh-vim-lib";
|
||||
rev = "9fbc874d34ad9dd91b4c6cf302f444d532b6274f";
|
||||
sha256 = "03ainjik7dng41n2m1g21b2yx4gs40rj19qnprxpm99aci482gm7";
|
||||
rev = "70237012f9be89d0ce4c0ea728f5ca8bba9818fd";
|
||||
sha256 = "18faws5vhh0v78c8xs68iklsmd9mddg2s0ha4z5adhfa6ddhbks6";
|
||||
};
|
||||
meta.homepage = "https://github.com/LucHermitte/lh-vim-lib/";
|
||||
};
|
||||
|
@ -2184,12 +2184,12 @@ let
|
|||
|
||||
lightline-vim = buildVimPluginFrom2Nix {
|
||||
pname = "lightline-vim";
|
||||
version = "2020-07-09";
|
||||
version = "2020-08-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "itchyny";
|
||||
repo = "lightline.vim";
|
||||
rev = "079dc5754c87b4d18b40f916273c2fe56810c4a1";
|
||||
sha256 = "0nva7vjdsa5h4c3j6hwmm8hb4s9vkkc4d5pqnyy2vm3ggnvl5nzn";
|
||||
rev = "fca0bd2fe459863b81f393859729648cb8b24289";
|
||||
sha256 = "03ajyknf7c0k6miqi3l31nfjzdn8f2r1wm7z2h0qxlz644cmb7zh";
|
||||
};
|
||||
meta.homepage = "https://github.com/itchyny/lightline.vim/";
|
||||
};
|
||||
|
@ -2340,12 +2340,12 @@ let
|
|||
|
||||
ncm2-jedi = buildVimPluginFrom2Nix {
|
||||
pname = "ncm2-jedi";
|
||||
version = "2019-11-19";
|
||||
version = "2020-08-06";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ncm2";
|
||||
repo = "ncm2-jedi";
|
||||
rev = "b28bf6d054051cc1c7a6b148323d3adb9baa4ed5";
|
||||
sha256 = "07pq8akzvlb8hzksgxx1c50j09ia0xnszq1f83x75kqsjg5f6nhy";
|
||||
rev = "d378d3e80e15368c1714fd6c20dd461dc7db9796";
|
||||
sha256 = "0bphij55pjh87wcy0xk9yvgi0w3i0wvhbg71vddq0jn6m3r2gmlf";
|
||||
};
|
||||
meta.homepage = "https://github.com/ncm2/ncm2-jedi/";
|
||||
};
|
||||
|
@ -2508,12 +2508,12 @@ let
|
|||
|
||||
neocomplete-vim = buildVimPluginFrom2Nix {
|
||||
pname = "neocomplete-vim";
|
||||
version = "2020-06-27";
|
||||
version = "2020-08-12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Shougo";
|
||||
repo = "neocomplete.vim";
|
||||
rev = "5c18aacf03e210a23800775bf3585f3735d00a30";
|
||||
sha256 = "08vpfcgx88hfbmnipsg590i6fcpq5gwa6va46pd2lipmcpc4p17g";
|
||||
rev = "f80bbf8f2f1717a127e5fbe885729daa862def81";
|
||||
sha256 = "0cks5fvr05k0lp2mwflqzx0mq6a3881c1304hdyci57j5bkkyvkj";
|
||||
};
|
||||
meta.homepage = "https://github.com/Shougo/neocomplete.vim/";
|
||||
};
|
||||
|
@ -2604,24 +2604,24 @@ let
|
|||
|
||||
NeoSolarized = buildVimPluginFrom2Nix {
|
||||
pname = "NeoSolarized";
|
||||
version = "2020-06-29";
|
||||
version = "2020-08-07";
|
||||
src = fetchFromGitHub {
|
||||
owner = "overcache";
|
||||
repo = "NeoSolarized";
|
||||
rev = "25990b06d8ddbca74fae0bc082926419af75bdca";
|
||||
sha256 = "1z7yg0jif5bj8szvvcx9qyrgbbhhwmbf2s47dbr0i6rc0f2zs3r4";
|
||||
rev = "b94b1a9ad51e2de015266f10fdc6e142f97bd617";
|
||||
sha256 = "019nz56yirpg1ahg8adfafrxznalw056qwm3xjm9kzg6da8j6v48";
|
||||
};
|
||||
meta.homepage = "https://github.com/overcache/NeoSolarized/";
|
||||
};
|
||||
|
||||
neoterm = buildVimPluginFrom2Nix {
|
||||
pname = "neoterm";
|
||||
version = "2020-07-30";
|
||||
version = "2020-08-06";
|
||||
src = fetchFromGitHub {
|
||||
owner = "kassio";
|
||||
repo = "neoterm";
|
||||
rev = "1132ce9e9d697a3ea70bf1610ce475188ffb4963";
|
||||
sha256 = "0vfg130k2lwakxsbjcwmwdphf762jf4p07j7vcqr1hpyncx5gami";
|
||||
rev = "48bc5d0bddd3debb9bdf73ee1d1153d7cafa693e";
|
||||
sha256 = "0495n0l9isi7pgfgc2axkk0v4g7r4dpbzxg5dl4hg7qkw6la7l5k";
|
||||
};
|
||||
meta.homepage = "https://github.com/kassio/neoterm/";
|
||||
};
|
||||
|
@ -2676,12 +2676,12 @@ let
|
|||
|
||||
nerdtree = buildVimPluginFrom2Nix {
|
||||
pname = "nerdtree";
|
||||
version = "2020-07-24";
|
||||
version = "2020-08-09";
|
||||
src = fetchFromGitHub {
|
||||
owner = "preservim";
|
||||
repo = "nerdtree";
|
||||
rev = "4a32dd0be35621dc8d4b73836f58434ff3e73124";
|
||||
sha256 = "0cgib0afmm0v1lwqbkrmyw0s7z69g4qz2lcijrp7h3vd5ljzkqjl";
|
||||
rev = "6b5d70e5bf307bd84fec90ba77fa661036ff0361";
|
||||
sha256 = "1nm6wxqn6cbk1sv0l10zymfzdbq0lsw7avjjbgk7r13r2aq0w2z4";
|
||||
};
|
||||
meta.homepage = "https://github.com/preservim/nerdtree/";
|
||||
};
|
||||
|
@ -2700,12 +2700,12 @@ let
|
|||
|
||||
neuron-vim = buildVimPluginFrom2Nix {
|
||||
pname = "neuron-vim";
|
||||
version = "2020-07-31";
|
||||
version = "2020-08-07";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ihsanturk";
|
||||
repo = "neuron.vim";
|
||||
rev = "9a1077044a5421a50d59ef271613cde05c5dd98d";
|
||||
sha256 = "1wp0mj2ji6kxfbw1vk055rbyrmgrb0jglgi24rbj22ba24hgxv8y";
|
||||
rev = "07521a3ef2940bd726e7b4d50b82e46898e686cc";
|
||||
sha256 = "0myadiy6y2p73lhdzk2w55whg4i5rs004jaw1m21cz0dk8k8ibn2";
|
||||
};
|
||||
meta.homepage = "https://github.com/ihsanturk/neuron.vim/";
|
||||
};
|
||||
|
@ -2796,12 +2796,12 @@ let
|
|||
|
||||
nvim-lsp = buildVimPluginFrom2Nix {
|
||||
pname = "nvim-lsp";
|
||||
version = "2020-07-08";
|
||||
version = "2020-08-10";
|
||||
src = fetchFromGitHub {
|
||||
owner = "neovim";
|
||||
repo = "nvim-lsp";
|
||||
rev = "3f7223659f39273c5fe4f2f2d7ee8baa827a9cfb";
|
||||
sha256 = "104439qy1nqgzxrj8pfvd05shnpywm0qj1w68rm701hwpig6j7q6";
|
||||
rev = "fc9d94ef006e082596c2e8724eb3f1c92ff203c7";
|
||||
sha256 = "1byji4p0xigyp8y71s00fs2vrhgz3xkf51mmyz489pp52c7nfx4v";
|
||||
};
|
||||
meta.homepage = "https://github.com/neovim/nvim-lsp/";
|
||||
};
|
||||
|
@ -2820,12 +2820,12 @@ let
|
|||
|
||||
nvim-treesitter = buildVimPluginFrom2Nix {
|
||||
pname = "nvim-treesitter";
|
||||
version = "2020-08-04";
|
||||
version = "2020-08-13";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-treesitter";
|
||||
repo = "nvim-treesitter";
|
||||
rev = "124ff3bf5680e746dc4d504f67a1b437fcb50365";
|
||||
sha256 = "1y41w6asd7hf0nx0h48556w8hchiqgfvskdp1z0fdcgjcimpp805";
|
||||
rev = "1846d92ec62c5ac6403387b64a8ee3f97a59b765";
|
||||
sha256 = "17i0y9difiw9r1y6460yrd5cnxiv5lwy4njwrrd3nlxmncvi8c27";
|
||||
};
|
||||
meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter/";
|
||||
};
|
||||
|
@ -2868,12 +2868,12 @@ let
|
|||
|
||||
onedark-vim = buildVimPluginFrom2Nix {
|
||||
pname = "onedark-vim";
|
||||
version = "2020-07-17";
|
||||
version = "2020-08-12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "joshdick";
|
||||
repo = "onedark.vim";
|
||||
rev = "c0f22072c8780494afce1bc0c5ea4de252c4516f";
|
||||
sha256 = "05wbkxwmbb546k647ylsy33xl3pv5giz1v47qw9lpspx4mknx1ay";
|
||||
rev = "7f9b1802b0d76f4f8fe7ad5bbef472c96e1c104f";
|
||||
sha256 = "11fk496xk0564fcfmc77b2m98l6dmvb4ph50vyq73a1mlcs1438c";
|
||||
};
|
||||
meta.homepage = "https://github.com/joshdick/onedark.vim/";
|
||||
};
|
||||
|
@ -2916,12 +2916,12 @@ let
|
|||
|
||||
palenight-vim = buildVimPluginFrom2Nix {
|
||||
pname = "palenight-vim";
|
||||
version = "2020-01-17";
|
||||
version = "2020-08-10";
|
||||
src = fetchFromGitHub {
|
||||
owner = "drewtempelmeyer";
|
||||
repo = "palenight.vim";
|
||||
rev = "f332f9efe73227a47c18bade892ac55682641733";
|
||||
sha256 = "0nd2hqvxnjnbsp17x666nwyy0s9j9b6igyfhl44p7lkci6560gwp";
|
||||
rev = "9637fc4b6dc8ba852d5ec21c2c54851d81576490";
|
||||
sha256 = "1im9iggwiz86h0rydaz73482q8ildhd81hscq8czwigb03pslyxg";
|
||||
};
|
||||
meta.homepage = "https://github.com/drewtempelmeyer/palenight.vim/";
|
||||
};
|
||||
|
@ -3517,12 +3517,12 @@ let
|
|||
|
||||
syntastic = buildVimPluginFrom2Nix {
|
||||
pname = "syntastic";
|
||||
version = "2020-07-27";
|
||||
version = "2020-08-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "vim-syntastic";
|
||||
repo = "syntastic";
|
||||
rev = "83837a6e86ca8f8795a68dff0242d79065bd170d";
|
||||
sha256 = "1bpsq6vhisk47xka41a4ybdvww26fldvv4dd4rnb4wwln3c9m551";
|
||||
rev = "25b816d9b0016eff68e7025fe52fb67ef253920e";
|
||||
sha256 = "1hb9f1p7sqpb7kc0rih9kaixwg4s9a6z86ycnc6kxp1iz97d6ai1";
|
||||
};
|
||||
meta.homepage = "https://github.com/vim-syntastic/syntastic/";
|
||||
};
|
||||
|
@ -3770,12 +3770,12 @@ let
|
|||
|
||||
unicode-vim = buildVimPluginFrom2Nix {
|
||||
pname = "unicode-vim";
|
||||
version = "2020-06-09";
|
||||
version = "2020-08-10";
|
||||
src = fetchFromGitHub {
|
||||
owner = "chrisbra";
|
||||
repo = "unicode.vim";
|
||||
rev = "76e95c6f8c863f5079cd103b18990684bb02d525";
|
||||
sha256 = "0v3w117bimd74r9i209hgqy75x83hdd3za26l8g729w56kqgq5r8";
|
||||
rev = "e9b21134f4e8bc8cd09fa6145749511ac8800f98";
|
||||
sha256 = "0rfkd11arkmc2z2m9lz5hnqxfcp2b98hmzgf424s44xyhrn98y16";
|
||||
};
|
||||
meta.homepage = "https://github.com/chrisbra/unicode.vim/";
|
||||
};
|
||||
|
@ -4094,12 +4094,12 @@ let
|
|||
|
||||
vim-airline = buildVimPluginFrom2Nix {
|
||||
pname = "vim-airline";
|
||||
version = "2020-08-03";
|
||||
version = "2020-08-12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "vim-airline";
|
||||
repo = "vim-airline";
|
||||
rev = "ffa44b832767674ab536a737668f3358fab4d5ea";
|
||||
sha256 = "081rl70ya1qrnqkq1za1zpvngpjhpr69vdbpj7r8qlma29wq2pf5";
|
||||
rev = "19d1990f8613fa29fccbec60aa58101faf7549c1";
|
||||
sha256 = "14wbhgarwhq4akknv79vnqvl5q2pfx6pqpb42wf6d079j54x4ay1";
|
||||
};
|
||||
meta.homepage = "https://github.com/vim-airline/vim-airline/";
|
||||
};
|
||||
|
@ -4202,12 +4202,12 @@ let
|
|||
|
||||
vim-beancount = buildVimPluginFrom2Nix {
|
||||
pname = "vim-beancount";
|
||||
version = "2020-05-14";
|
||||
version = "2020-08-06";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nathangrigg";
|
||||
repo = "vim-beancount";
|
||||
rev = "53ab32f82723d685648b691af3d8a64a2a119d43";
|
||||
sha256 = "1vvfr1wz2770h4rh48qnaqbbdbfxj6pcyhyfh0vf641l46v6wzf8";
|
||||
rev = "6d762beaa526d4e56280619aa62b1013b50457b7";
|
||||
sha256 = "0r4ziynmil432k1xjglqjx0bh5069aav3k9r58ksqg716w4zvzys";
|
||||
};
|
||||
meta.homepage = "https://github.com/nathangrigg/vim-beancount/";
|
||||
};
|
||||
|
@ -4284,6 +4284,18 @@ let
|
|||
meta.homepage = "https://github.com/t9md/vim-choosewin/";
|
||||
};
|
||||
|
||||
vim-clang-format = buildVimPluginFrom2Nix {
|
||||
pname = "vim-clang-format";
|
||||
version = "2019-05-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rhysd";
|
||||
repo = "vim-clang-format";
|
||||
rev = "95593b67723f23979cd7344ecfd049f2f917830f";
|
||||
sha256 = "0n0k13k63l8n0ixs4zrhlz923apvdp2mldadxqlhmvsvncmlqmpn";
|
||||
};
|
||||
meta.homepage = "https://github.com/rhysd/vim-clang-format/";
|
||||
};
|
||||
|
||||
vim-clojure-highlight = buildVimPluginFrom2Nix {
|
||||
pname = "vim-clojure-highlight";
|
||||
version = "2015-07-05";
|
||||
|
@ -4454,12 +4466,12 @@ let
|
|||
|
||||
vim-css-color = buildVimPluginFrom2Nix {
|
||||
pname = "vim-css-color";
|
||||
version = "2020-04-16";
|
||||
version = "2020-08-09";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ap";
|
||||
repo = "vim-css-color";
|
||||
rev = "741dd18a35e251ededc0687eea9b8d100d3b83b8";
|
||||
sha256 = "1mjwyznprhhfmwi1djyjgxkqv9bwima1ysxa9782rk198j2n87vs";
|
||||
rev = "2c43d1a4259ae60637c261d0d3631e595fed68cd";
|
||||
sha256 = "05mrzs8gywqq1hppnv1r27xq553hgm98grzdk4916jqjf88138nv";
|
||||
};
|
||||
meta.homepage = "https://github.com/ap/vim-css-color/";
|
||||
};
|
||||
|
@ -4526,12 +4538,12 @@ let
|
|||
|
||||
vim-devicons = buildVimPluginFrom2Nix {
|
||||
pname = "vim-devicons";
|
||||
version = "2020-07-24";
|
||||
version = "2020-08-11";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ryanoasis";
|
||||
repo = "vim-devicons";
|
||||
rev = "6bd3ae1dbab89b24bab160d52f90b3c8b0d005bb";
|
||||
sha256 = "083q77ys4jlwcqs58hzg8c4lrwfiss91limq2gw7yjngsfihkn9l";
|
||||
rev = "712d1ab813a0ba1e1a5eb0c05eec98cff8a206a2";
|
||||
sha256 = "1fffz9qd57157vr87qp5zmrzk4gcr3jb12lxi4ab06i46hzmj13b";
|
||||
};
|
||||
meta.homepage = "https://github.com/ryanoasis/vim-devicons/";
|
||||
};
|
||||
|
@ -4718,12 +4730,12 @@ let
|
|||
|
||||
vim-eunuch = buildVimPluginFrom2Nix {
|
||||
pname = "vim-eunuch";
|
||||
version = "2020-08-04";
|
||||
version = "2020-08-07";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tpope";
|
||||
repo = "vim-eunuch";
|
||||
rev = "36c5974a74b202ade1eb40dabd134afb2fdfdbe0";
|
||||
sha256 = "123ck8c9icl70g19zkjm33vaip9ky09zc9z7c2np554q2kncjppm";
|
||||
rev = "4a4bf16b499dcde371c05c77ed4083c4b5228278";
|
||||
sha256 = "1wclxqw3b4jcj34jb830551c9bbrsm79mp7aahbqnjgq025j53x0";
|
||||
};
|
||||
meta.homepage = "https://github.com/tpope/vim-eunuch/";
|
||||
};
|
||||
|
@ -4778,12 +4790,12 @@ let
|
|||
|
||||
vim-fireplace = buildVimPluginFrom2Nix {
|
||||
pname = "vim-fireplace";
|
||||
version = "2020-06-25";
|
||||
version = "2020-08-04";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tpope";
|
||||
repo = "vim-fireplace";
|
||||
rev = "237c122f34132714a55709b4af13b94a10043136";
|
||||
sha256 = "0gwc6pb5psqwma0wzn87igd3wwsc9grl48y0w47q3jvc3xj01cgs";
|
||||
rev = "8963dd3b385410e27752fb859bd5cecdd22b5f71";
|
||||
sha256 = "0ax42ilx24cagy0m6ryda6h0fn7l8g1ckry24vfz2zp7d8y14hah";
|
||||
};
|
||||
meta.homepage = "https://github.com/tpope/vim-fireplace/";
|
||||
};
|
||||
|
@ -4838,12 +4850,12 @@ let
|
|||
|
||||
vim-floaterm = buildVimPluginFrom2Nix {
|
||||
pname = "vim-floaterm";
|
||||
version = "2020-07-31";
|
||||
version = "2020-08-11";
|
||||
src = fetchFromGitHub {
|
||||
owner = "voldikss";
|
||||
repo = "vim-floaterm";
|
||||
rev = "44fbe6dc6da4c6255b92d0a013f66261c7d9695b";
|
||||
sha256 = "1m3arkknpbb8c1ylcrnpjqlwym8am43qxhivkqymi7d93hcsrshc";
|
||||
rev = "268a0744b9959d78a54b1257d0462e5f34fc52c5";
|
||||
sha256 = "1gk3jk8iqj41sw4wn4kqr66gxp75bs8c1fxc47n33gca8mpnr8l0";
|
||||
};
|
||||
meta.homepage = "https://github.com/voldikss/vim-floaterm/";
|
||||
};
|
||||
|
@ -4946,12 +4958,12 @@ let
|
|||
|
||||
vim-gitgutter = buildVimPluginFrom2Nix {
|
||||
pname = "vim-gitgutter";
|
||||
version = "2020-07-28";
|
||||
version = "2020-08-07";
|
||||
src = fetchFromGitHub {
|
||||
owner = "airblade";
|
||||
repo = "vim-gitgutter";
|
||||
rev = "62ff20f9797fcf11f132f8aab4e882807d0e2593";
|
||||
sha256 = "0aiay9mjvqj21620kzsbv14gcxw17i4wgibxkn115cba33yzpm2r";
|
||||
rev = "8005f71aabef13f5872b3ef4802f36503a16c451";
|
||||
sha256 = "0ns33dbkw8lc6rj6mvkgymdsl3i4g8slbh06g8h4rfn8qq5wjxbw";
|
||||
};
|
||||
meta.homepage = "https://github.com/airblade/vim-gitgutter/";
|
||||
};
|
||||
|
@ -4982,12 +4994,12 @@ let
|
|||
|
||||
vim-go = buildVimPluginFrom2Nix {
|
||||
pname = "vim-go";
|
||||
version = "2020-07-30";
|
||||
version = "2020-08-13";
|
||||
src = fetchFromGitHub {
|
||||
owner = "fatih";
|
||||
repo = "vim-go";
|
||||
rev = "ef23d90b84231759a992adf79b0dcd72844c1f84";
|
||||
sha256 = "107nx7xgh416s5sr4ljwpmvqiysyy7gvgv79hsndlnqw5vmbdv75";
|
||||
rev = "bd56f5690807d4a92652fe7a4d10dc08f260564e";
|
||||
sha256 = "1gd30pnmrg4422dg7g14r9z539bz8vzssyfmm6ml6kgzn0pagzi0";
|
||||
};
|
||||
meta.homepage = "https://github.com/fatih/vim-go/";
|
||||
};
|
||||
|
@ -5583,12 +5595,12 @@ let
|
|||
|
||||
vim-maktaba = buildVimPluginFrom2Nix {
|
||||
pname = "vim-maktaba";
|
||||
version = "2020-07-25";
|
||||
version = "2020-08-06";
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "vim-maktaba";
|
||||
rev = "f2abdd19ade1db8de6ab10930ffe2df4dbb5274e";
|
||||
sha256 = "0rn792hryjsz677wik1sqgscllvmpvzxv2p6gacdvsr9pn800nhn";
|
||||
rev = "f60443777137a0f91e489b1757c6602c63fb3731";
|
||||
sha256 = "1r6raxhwg78azcqv7brvas3w4xr7aja1gmcapm7j6mv69izf1fzw";
|
||||
};
|
||||
meta.homepage = "https://github.com/google/vim-maktaba/";
|
||||
};
|
||||
|
@ -5655,12 +5667,12 @@ let
|
|||
|
||||
vim-monokai = buildVimPluginFrom2Nix {
|
||||
pname = "vim-monokai";
|
||||
version = "2020-06-17";
|
||||
version = "2020-08-08";
|
||||
src = fetchFromGitHub {
|
||||
owner = "crusoexia";
|
||||
repo = "vim-monokai";
|
||||
rev = "703a4a6ee96a5772c204c4dd852f246ce71231df";
|
||||
sha256 = "1avp4zr9sa38ygx9c9ffkdb6mmzqv7sxyb093bqq06gfdv8yzk2a";
|
||||
rev = "85b18e98a22b17f9e01867988c18cf396316c20f";
|
||||
sha256 = "1vzllvq1ncq4qyqbkp8z26sr4n9kpqv35zkfjas3r2jqbn958a93";
|
||||
};
|
||||
meta.homepage = "https://github.com/crusoexia/vim-monokai/";
|
||||
};
|
||||
|
@ -5811,12 +5823,12 @@ let
|
|||
|
||||
vim-one = buildVimPluginFrom2Nix {
|
||||
pname = "vim-one";
|
||||
version = "2019-04-09";
|
||||
version = "2020-08-09";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rakr";
|
||||
repo = "vim-one";
|
||||
rev = "6695e135415c53a8fbe96672e382200aa1ffb4b4";
|
||||
sha256 = "0951r9kw23zlwd7fda6ib2d9k0akpfd2hvh82pasgw3ks9v1n2vf";
|
||||
rev = "f8bcef1968f01842d92abbcb098ec28ad3931ea5";
|
||||
sha256 = "12czxjh68hdnca4wdk9ypd5c56v1njv6wc2bcxqaj1ff09pgllmy";
|
||||
};
|
||||
meta.homepage = "https://github.com/rakr/vim-one/";
|
||||
};
|
||||
|
@ -5869,6 +5881,18 @@ let
|
|||
meta.homepage = "https://github.com/jceb/vim-orgmode/";
|
||||
};
|
||||
|
||||
vim-over = buildVimPluginFrom2Nix {
|
||||
pname = "vim-over";
|
||||
version = "2020-01-26";
|
||||
src = fetchFromGitHub {
|
||||
owner = "osyo-manga";
|
||||
repo = "vim-over";
|
||||
rev = "878f83bdac0cda308f599d319f45c7877d5274a9";
|
||||
sha256 = "00k29pcn69d9036jhjpd1xqxh59qwl30l37lsfijlv18ks0wwiqn";
|
||||
};
|
||||
meta.homepage = "https://github.com/osyo-manga/vim-over/";
|
||||
};
|
||||
|
||||
vim-packer = buildVimPluginFrom2Nix {
|
||||
pname = "vim-packer";
|
||||
version = "2018-11-11";
|
||||
|
@ -5919,12 +5943,12 @@ let
|
|||
|
||||
vim-pandoc-syntax = buildVimPluginFrom2Nix {
|
||||
pname = "vim-pandoc-syntax";
|
||||
version = "2020-07-29";
|
||||
version = "2020-08-10";
|
||||
src = fetchFromGitHub {
|
||||
owner = "vim-pandoc";
|
||||
repo = "vim-pandoc-syntax";
|
||||
rev = "6fb2021592ecbfd1b519647dd7242d818d77227a";
|
||||
sha256 = "043khhd1rd8cihxkzma5bhg7pbp87iizrn04lfmnygj5s0qg0dwf";
|
||||
rev = "59680708cdc98c3fae9acb6c261374bfd808335a";
|
||||
sha256 = "1yiczv4l2rg8wva2gbjvv7k9s6y9p0gwmlazdd9rnq28nhmxx3gv";
|
||||
};
|
||||
meta.homepage = "https://github.com/vim-pandoc/vim-pandoc-syntax/";
|
||||
};
|
||||
|
@ -6015,12 +6039,12 @@ let
|
|||
|
||||
vim-plug = buildVimPluginFrom2Nix {
|
||||
pname = "vim-plug";
|
||||
version = "2020-08-02";
|
||||
version = "2020-08-08";
|
||||
src = fetchFromGitHub {
|
||||
owner = "junegunn";
|
||||
repo = "vim-plug";
|
||||
rev = "457bebcd30cbfca8b34b0d308f882b7b605714fc";
|
||||
sha256 = "18yj35qh3xqpjv1dd78m1wj7hkma3rv8qnfsnamhzafjwnf013sa";
|
||||
rev = "13ea184015c30be5160ae285aedc0eaec0c72e6c";
|
||||
sha256 = "19vd5cmshlwrrf5ncgkny9p478d7bhjjwwjv71xb2adyfc9r1rv6";
|
||||
};
|
||||
meta.homepage = "https://github.com/junegunn/vim-plug/";
|
||||
};
|
||||
|
@ -6039,12 +6063,12 @@ let
|
|||
|
||||
vim-polyglot = buildVimPluginFrom2Nix {
|
||||
pname = "vim-polyglot";
|
||||
version = "2020-07-26";
|
||||
version = "2020-08-06";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sheerun";
|
||||
repo = "vim-polyglot";
|
||||
rev = "56121b4e27cb48efb17be55a969b2f0d725266f8";
|
||||
sha256 = "1zirax1iss5mgqllwmc4kybycn73alcqgnnx296vgjw8d1b0qpc3";
|
||||
rev = "34e01b8b62701afbd6b4ab1ffb4057617f540dce";
|
||||
sha256 = "06l5xwvpp3d0ci7x739yk50h9q5a99p5jjw8gf6y4dhpw4gq4sql";
|
||||
};
|
||||
meta.homepage = "https://github.com/sheerun/vim-polyglot/";
|
||||
};
|
||||
|
@ -6181,6 +6205,18 @@ let
|
|||
meta.homepage = "https://github.com/racer-rust/vim-racer/";
|
||||
};
|
||||
|
||||
vim-ragtag = buildVimPluginFrom2Nix {
|
||||
pname = "vim-ragtag";
|
||||
version = "2020-01-26";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tpope";
|
||||
repo = "vim-ragtag";
|
||||
rev = "6f1af76cd669c4fb07f0c4e20fdee3077620e3d8";
|
||||
sha256 = "1q5klbnwsg26zxhs3knhamk3srg7dmq46n83sa5rw2kmikb2idg2";
|
||||
};
|
||||
meta.homepage = "https://github.com/tpope/vim-ragtag/";
|
||||
};
|
||||
|
||||
vim-rails = buildVimPluginFrom2Nix {
|
||||
pname = "vim-rails";
|
||||
version = "2020-06-19";
|
||||
|
@ -6375,12 +6411,12 @@ let
|
|||
|
||||
vim-signify = buildVimPluginFrom2Nix {
|
||||
pname = "vim-signify";
|
||||
version = "2020-06-08";
|
||||
version = "2020-08-13";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mhinz";
|
||||
repo = "vim-signify";
|
||||
rev = "c3d450eb5f5e76d99d23b10493d4e08c5bb1ae71";
|
||||
sha256 = "0ms0c36zsqqpxrq4mx9k5viblcapw9kpjm9cdrs8fnldlz6i0yhh";
|
||||
rev = "98c693f7a1a91b73d9232d868765b4d20af892fe";
|
||||
sha256 = "05ppj7sqp8i7qhaf6vz427nnwsnkgf9nlq3lhyhbl14cjkrhqny9";
|
||||
};
|
||||
meta.homepage = "https://github.com/mhinz/vim-signify/";
|
||||
};
|
||||
|
@ -6411,12 +6447,12 @@ let
|
|||
|
||||
vim-slime = buildVimPluginFrom2Nix {
|
||||
pname = "vim-slime";
|
||||
version = "2020-07-04";
|
||||
version = "2020-08-06";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jpalardy";
|
||||
repo = "vim-slime";
|
||||
rev = "f7442cdb1fb37778ddff93649e172b0ad752c237";
|
||||
sha256 = "0xf9qj0i4jpimbk0qyzvg88s74dfxgd4kzvzcvjpcd3q6cn8sard";
|
||||
rev = "db486eaa39f14d130ddf6338aaa02127aa04b272";
|
||||
sha256 = "1x9vflsbdl1b03irkvfpapb0c4mw9lymfghcjy1wxjl2vpq630ia";
|
||||
};
|
||||
meta.homepage = "https://github.com/jpalardy/vim-slime/";
|
||||
};
|
||||
|
@ -6471,12 +6507,12 @@ let
|
|||
|
||||
vim-snippets = buildVimPluginFrom2Nix {
|
||||
pname = "vim-snippets";
|
||||
version = "2020-08-01";
|
||||
version = "2020-08-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "honza";
|
||||
repo = "vim-snippets";
|
||||
rev = "2a273f1914489b5f199b68607e5e37c0025a9c35";
|
||||
sha256 = "05yxh3hjya35pp4hgyq6i3nxnb2nl12lzv2mmzp046qzsg3b6yiq";
|
||||
rev = "a7486b266a5e1dc92228e575969e10b5b95efad8";
|
||||
sha256 = "05di0x6a0cd9w02l3aybixin2yidpla2js0pyx4v4as595izl10q";
|
||||
};
|
||||
meta.homepage = "https://github.com/honza/vim-snippets/";
|
||||
};
|
||||
|
@ -6663,12 +6699,12 @@ let
|
|||
|
||||
vim-terraform = buildVimPluginFrom2Nix {
|
||||
pname = "vim-terraform";
|
||||
version = "2020-07-09";
|
||||
version = "2020-08-07";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hashivim";
|
||||
repo = "vim-terraform";
|
||||
rev = "552daab4e560141a72cd8bc41d063b8d3d219a17";
|
||||
sha256 = "068zv6rxi9zxwf0fsd6pangdbwa7f9gd4ljliglblmgbwm4dvzjq";
|
||||
rev = "85402fc0f05c103da9d3416e34fb88237ca1de3c";
|
||||
sha256 = "1g8802wmhg5zjk51qfiqcvdclqwg8rfizfpz5jlskcayh82gxvg0";
|
||||
};
|
||||
meta.homepage = "https://github.com/hashivim/vim-terraform/";
|
||||
};
|
||||
|
@ -6688,12 +6724,12 @@ let
|
|||
|
||||
vim-test = buildVimPluginFrom2Nix {
|
||||
pname = "vim-test";
|
||||
version = "2020-08-03";
|
||||
version = "2020-08-12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "vim-test";
|
||||
repo = "vim-test";
|
||||
rev = "007972e224a995018f76f5f71c61d2c0b75e265e";
|
||||
sha256 = "0370wx3p96v0p4cngm28x12djwl9mwz2kxaanj9svzg3nph19c1x";
|
||||
rev = "edacfbe57fdbba4788e8c280d37606470b9b70ca";
|
||||
sha256 = "1bi2rsszdpv7vj1xk536lzm54dzk1z41hfp0qr1pzz9lv8fa4sgv";
|
||||
};
|
||||
meta.homepage = "https://github.com/vim-test/vim-test/";
|
||||
};
|
||||
|
@ -6940,12 +6976,12 @@ let
|
|||
|
||||
vim-visual-multi = buildVimPluginFrom2Nix {
|
||||
pname = "vim-visual-multi";
|
||||
version = "2020-08-02";
|
||||
version = "2020-08-12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mg979";
|
||||
repo = "vim-visual-multi";
|
||||
rev = "cb994375fcbf032adfef6d31d8fcfa59bab381c8";
|
||||
sha256 = "0lm9wcbkwr91b85gdf5qa9f3svdyn97j6xpl7nqa7jzcvdhdfz5c";
|
||||
rev = "37a9a0070c23d058584760db21444807d9534be3";
|
||||
sha256 = "1a1zmsz2857xa8fcka3xn3sjq6n8vw059sx2arfizjik7qdbw0fz";
|
||||
};
|
||||
meta.homepage = "https://github.com/mg979/vim-visual-multi/";
|
||||
};
|
||||
|
@ -6964,12 +7000,12 @@ let
|
|||
|
||||
vim-vsnip = buildVimPluginFrom2Nix {
|
||||
pname = "vim-vsnip";
|
||||
version = "2020-08-04";
|
||||
version = "2020-08-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hrsh7th";
|
||||
repo = "vim-vsnip";
|
||||
rev = "2762e090c540ab07dc00e57cfe578337f11ab0df";
|
||||
sha256 = "1ckfi2a6sp3n3b6hnk4qjvv411ij349qlj3cyx3b2l8vfg0qmwyw";
|
||||
rev = "bf83a42361ef47b3f727c86d6ef615af1a56de40";
|
||||
sha256 = "03wm0p4cvx9wpdp50i48gga5af4p5zma9a6ymqznn8r6aiq1iwp0";
|
||||
};
|
||||
meta.homepage = "https://github.com/hrsh7th/vim-vsnip/";
|
||||
};
|
||||
|
@ -7024,12 +7060,12 @@ let
|
|||
|
||||
vim-which-key = buildVimPluginFrom2Nix {
|
||||
pname = "vim-which-key";
|
||||
version = "2020-07-18";
|
||||
version = "2020-08-10";
|
||||
src = fetchFromGitHub {
|
||||
owner = "liuchengxu";
|
||||
repo = "vim-which-key";
|
||||
rev = "4e5bd491badecfcd3ecbe0f813d3b31625a8eb4f";
|
||||
sha256 = "1rz2cshvdmfl3wna4kcj2l6sf78mh0qwydr76frzd3ahp9pjghsk";
|
||||
rev = "c940b147c3098278f9c14b85eef9cfdbf82a7f09";
|
||||
sha256 = "19qh7lmpb093hnxga2jk6s47bjsdjqj4zrb3lrkrjn2qyyasi194";
|
||||
};
|
||||
meta.homepage = "https://github.com/liuchengxu/vim-which-key/";
|
||||
};
|
||||
|
@ -7216,12 +7252,12 @@ let
|
|||
|
||||
vimtex = buildVimPluginFrom2Nix {
|
||||
pname = "vimtex";
|
||||
version = "2020-08-04";
|
||||
version = "2020-08-13";
|
||||
src = fetchFromGitHub {
|
||||
owner = "lervag";
|
||||
repo = "vimtex";
|
||||
rev = "4c9c05fdbda05ed242e58dd9c9582d8722146ed5";
|
||||
sha256 = "1my1vfffzn0pmba9ziyfwxs39pj4yrwsy3spxyhzi118drldkqnc";
|
||||
rev = "ebb422c3c87c9f2cb333fac2b42b8e45ecc7f441";
|
||||
sha256 = "04vzv73bdiqdj1f1k62yzrdrb3qlql62sxpyq8hwc8sz1gc1kh8h";
|
||||
};
|
||||
meta.homepage = "https://github.com/lervag/vimtex/";
|
||||
};
|
||||
|
@ -7264,12 +7300,12 @@ let
|
|||
|
||||
vista-vim = buildVimPluginFrom2Nix {
|
||||
pname = "vista-vim";
|
||||
version = "2020-08-04";
|
||||
version = "2020-08-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "liuchengxu";
|
||||
repo = "vista.vim";
|
||||
rev = "7eabcd619528be9d26f20a1400cecc8e94d7e556";
|
||||
sha256 = "01ikhpz0rw1zyg748cqj6sgil29gha2q157dsirfg0f7xjrqlz5q";
|
||||
rev = "7f97d30914daea5b542a90eed747d5bd00afbb19";
|
||||
sha256 = "1ghpkyh9ga759v065yvn4xr8ccwamyr87jkq3av9fslxzfzhwdpm";
|
||||
};
|
||||
meta.homepage = "https://github.com/liuchengxu/vista.vim/";
|
||||
};
|
||||
|
@ -7397,12 +7433,12 @@ let
|
|||
|
||||
YouCompleteMe = buildVimPluginFrom2Nix {
|
||||
pname = "YouCompleteMe";
|
||||
version = "2020-07-21";
|
||||
version = "2020-08-05";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ycm-core";
|
||||
repo = "YouCompleteMe";
|
||||
rev = "d3db1cb3a9b83cd8e7370a2af36c82f28f2c0ddf";
|
||||
sha256 = "15zxpqvamz4vaib9z2yl9ksgq4aynkfg79zsj3gf3c5q368gz7li";
|
||||
rev = "bcfd153813ac1f99947b706991eba2861f54a8a2";
|
||||
sha256 = "1mqgqzfx6v7ps8gk7qgs8mihb35i3q100m39sd8wl1ihgcsq3w1r";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
meta.homepage = "https://github.com/ycm-core/YouCompleteMe/";
|
||||
|
|
|
@ -397,6 +397,7 @@ Olical/conjure
|
|||
OrangeT/vim-csharp
|
||||
osyo-manga/shabadou.vim
|
||||
osyo-manga/vim-anzu
|
||||
osyo-manga/vim-over
|
||||
osyo-manga/vim-textobj-multiblock
|
||||
osyo-manga/vim-watchdogs
|
||||
overcache/NeoSolarized
|
||||
|
@ -432,6 +433,7 @@ reedes/vim-pencil
|
|||
reedes/vim-wordy
|
||||
rhysd/committia.vim
|
||||
rhysd/git-messenger.vim
|
||||
rhysd/vim-clang-format
|
||||
rhysd/vim-grammarous
|
||||
rhysd/vim-operator-surround
|
||||
rodjek/vim-puppet
|
||||
|
@ -528,6 +530,7 @@ tpope/vim-liquid
|
|||
tpope/vim-obsession
|
||||
tpope/vim-pathogen
|
||||
tpope/vim-projectionist
|
||||
tpope/vim-ragtag
|
||||
tpope/vim-rails
|
||||
tpope/vim-repeat
|
||||
tpope/vim-rhubarb
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, fetchpatch, which}:
|
||||
{stdenv, fetchurl, fetchpatch, which, nixosTests}:
|
||||
let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
|
@ -76,6 +76,8 @@ stdenv.mkDerivation {
|
|||
# bash: src/fsec-optimize/fsec-optimize: No such file or directory
|
||||
enableParallelBuilding = false;
|
||||
|
||||
passthru.tests = nixosTests.firejail;
|
||||
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
description = ''Namespace-based sandboxing tool for Linux'';
|
||||
|
|
|
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
postFixup = ''
|
||||
patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ intel-gmmlib intel-graphics-compiler libva ]} \
|
||||
patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ intel-gmmlib intel-graphics-compiler libva stdenv.cc.cc.lib ]} \
|
||||
$out/lib/intel-opencl/libigdrcl.so
|
||||
'';
|
||||
|
||||
|
|
|
@ -4,13 +4,14 @@
|
|||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lxcfs-4.0.4";
|
||||
pname = "lxcfs";
|
||||
version = "4.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lxc";
|
||||
repo = "lxcfs";
|
||||
rev = name;
|
||||
sha256 = "0m97h9mj23i2cb8r4bqpakhnz4a0bb7jxvr207pydq60railp7nm";
|
||||
rev = "lxcfs-${version}";
|
||||
sha256 = "12mk9hgqzzh1874389lrpvldlp87qxxa1sxzk5zr0d0n1857am5y";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig help2man autoreconfHook ];
|
||||
|
@ -40,8 +41,9 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://linuxcontainers.org/lxcfs";
|
||||
description = "FUSE filesystem for LXC";
|
||||
homepage = "https://linuxcontainers.org/lxcfs";
|
||||
changelog = "https://linuxcontainers.org/lxcfs/news/";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ mic92 fpletz ];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, python, fetchFromGitHub }:
|
||||
{ stdenv, python3, fetchFromGitHub }:
|
||||
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "targetcli";
|
||||
version = "2.1.53";
|
||||
|
||||
|
@ -11,7 +11,7 @@ python.pkgs.buildPythonApplication rec {
|
|||
sha256 = "1qrq7y5hnghzbxgrxgl153n8jlhw31kqjbr93jsvlvhz5b3ci750";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [ configshell rtslib ];
|
||||
propagatedBuildInputs = with python3.pkgs; [ configshell rtslib ];
|
||||
|
||||
postInstall = ''
|
||||
install -D targetcli.8 -t $out/share/man/man8/
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue