mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
Merge remote-tracking branch 'upstream/master' into staging
This commit is contained in:
commit
2e56ba6fbd
|
@ -191,7 +191,6 @@ building Python libraries is `buildPythonPackage`. Let's see how we can build th
|
|||
toolz = buildPythonPackage rec {
|
||||
pname = "toolz";
|
||||
version = "0.7.4";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -237,7 +236,6 @@ with import <nixpkgs> {};
|
|||
my_toolz = python35.pkgs.buildPythonPackage rec {
|
||||
pname = "toolz";
|
||||
version = "0.7.4";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = python35.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -283,15 +281,15 @@ order to build [`datashape`](https://github.com/blaze/datashape).
|
|||
{ # ...
|
||||
|
||||
datashape = buildPythonPackage rec {
|
||||
name = "datashape-${version}";
|
||||
pname = "datashape";
|
||||
version = "0.4.7";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/D/DataShape/${name}.tar.gz";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14b2ef766d4c9652ab813182e866f493475e65e558bed0822e38bf07bba1a278";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pytest ];
|
||||
checkInputs = with self; [ pytest ];
|
||||
propagatedBuildInputs = with self; [ numpy multipledispatch dateutil ];
|
||||
|
||||
meta = {
|
||||
|
@ -318,10 +316,11 @@ when building the bindings and are therefore added as `buildInputs`.
|
|||
{ # ...
|
||||
|
||||
lxml = buildPythonPackage rec {
|
||||
name = "lxml-3.4.4";
|
||||
pname = "lxml";
|
||||
version = "3.4.4";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/l/lxml/${name}.tar.gz";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "16a0fa97hym9ysdk3rmqz32xdjqmy4w34ld3rm3jf5viqjx65lxk";
|
||||
};
|
||||
|
||||
|
@ -351,11 +350,11 @@ and `CFLAGS`.
|
|||
{ # ...
|
||||
|
||||
pyfftw = buildPythonPackage rec {
|
||||
name = "pyfftw-${version}";
|
||||
pname = "pyFFTW";
|
||||
version = "0.9.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pyFFTW/pyFFTW-${version}.tar.gz";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f6bbb6afa93085409ab24885a1a3cdb8909f095a142f4d49e346f2bd1b789074";
|
||||
};
|
||||
|
||||
|
@ -440,11 +439,11 @@ We first create a function that builds `toolz` in `~/path/to/toolz/release.nix`
|
|||
{ pkgs, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "toolz-${version}";
|
||||
pname = "toolz";
|
||||
version = "0.7.4";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/t/toolz/toolz-${version}.tar.gz";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd";
|
||||
};
|
||||
|
||||
|
@ -549,25 +548,31 @@ The `buildPythonPackage` function is implemented in
|
|||
|
||||
The following is an example:
|
||||
```nix
|
||||
{ # ...
|
||||
|
||||
twisted = buildPythonPackage {
|
||||
name = "twisted-8.1.0";
|
||||
buildPythonPackage rec {
|
||||
version = "3.3.1";
|
||||
pname = "pytest";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/Twisted-8.1.0.tar.bz2;
|
||||
sha256 = "0q25zbr4xzknaghha72mq57kh53qw1bf8csgp63pm9sfi72qhirl";
|
||||
};
|
||||
preCheck = ''
|
||||
# don't test bash builtins
|
||||
rm testing/test_argcomplete.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ self.ZopeInterface ];
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "cf8436dc59d8695346fcd3ab296de46425ecab00d64096cebe79fb51ecb2eb93";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://twistedmatrix.com/;
|
||||
description = "Twisted, an event-driven networking engine written in Python";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
checkInputs = [ hypothesis ];
|
||||
buildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [ attrs py setuptools six pluggy ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ];
|
||||
description = "Framework for writing tests";
|
||||
};
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
The `buildPythonPackage` mainly does four things:
|
||||
|
@ -623,7 +628,6 @@ with import <nixpkgs> {};
|
|||
packageOverrides = self: super: {
|
||||
pandas = super.pandas.overridePythonAttrs(old: rec {
|
||||
version = "0.19.1";
|
||||
name = "pandas-${version}";
|
||||
src = super.fetchPypi {
|
||||
pname = "pandas";
|
||||
inherit version;
|
||||
|
|
|
@ -739,6 +739,7 @@
|
|||
xvapx = "Marti Serra <marti.serra.coscollano@gmail.com>";
|
||||
xwvvvvwx = "David Terry <davidterry@posteo.de>";
|
||||
xzfc = "Albert Safin <xzfcpw@gmail.com>";
|
||||
y0no = "Yoann Ono <y0no@y0no.fr>";
|
||||
yarr = "Dmitry V. <savraz@gmail.com>";
|
||||
yegortimoshenko = "Yegor Timoshenko <yegortimoshenko@gmail.com>";
|
||||
ylwghst = "Burim Augustin Berisa <ylwghst@onionmail.info>";
|
||||
|
|
|
@ -21,7 +21,7 @@ find . -type f | while read src; do
|
|||
# Sanitize file name
|
||||
filename=$(basename "$src" | tr '@' '_')
|
||||
nameVersion="${filename%.tar.*}"
|
||||
name=$(echo "$nameVersion" | sed -e 's,-[[:digit:]].*,,' | sed -e 's,-opensource-src$,,')
|
||||
name=$(echo "$nameVersion" | sed -e 's,-[[:digit:]].*,,' | sed -e 's,-opensource-src$,,' | sed -e 's,-everywhere-src$,,')
|
||||
version=$(echo "$nameVersion" | sed -e 's,^\([[:alpha:]][[:alnum:]]*-\)\+,,')
|
||||
echo "$name,$version,$src,$filename" >>$csv
|
||||
done
|
||||
|
|
|
@ -144,6 +144,11 @@ following incompatible changes:</para>
|
|||
will be accessible at <literal>/run/memcached/memcached.sock</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The <varname>hardware.amdHybridGraphics.disable</varname> option was removed for lack of a maintainer. If you still need this module, you may wish to include a copy of it from an older version of nixos in your imports.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
</section>
|
||||
|
|
|
@ -225,7 +225,6 @@
|
|||
./services/games/terraria.nix
|
||||
./services/hardware/acpid.nix
|
||||
./services/hardware/actkbd.nix
|
||||
./services/hardware/amd-hybrid-graphics.nix
|
||||
./services/hardware/bluetooth.nix
|
||||
./services/hardware/brltty.nix
|
||||
./services/hardware/freefall.nix
|
||||
|
|
|
@ -48,6 +48,15 @@ in
|
|||
Name of the theme to be used by oh-my-zsh.
|
||||
'';
|
||||
};
|
||||
|
||||
cacheDir = mkOption {
|
||||
default = "$HOME/.cache/oh-my-zsh";
|
||||
type = types.str;
|
||||
description = ''
|
||||
Cache directory to be used by `oh-my-zsh`.
|
||||
Without this option it would default to the read-only nix store.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -74,6 +83,13 @@ in
|
|||
"ZSH_THEME=\"${cfg.theme}\""
|
||||
}
|
||||
|
||||
${optionalString (cfg.cacheDir != null) ''
|
||||
if [[ ! -d "${cfg.cacheDir}" ]]; then
|
||||
mkdir -p "${cfg.cacheDir}"
|
||||
fi
|
||||
ZSH_CACHE_DIR=${cfg.cacheDir}
|
||||
''}
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -1,46 +0,0 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
###### interface
|
||||
|
||||
options = {
|
||||
|
||||
hardware.amdHybridGraphics.disable = lib.mkOption {
|
||||
default = false;
|
||||
type = lib.types.bool;
|
||||
description = ''
|
||||
Completely disable the AMD graphics card and use the
|
||||
integrated graphics processor instead.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
###### implementation
|
||||
|
||||
config = lib.mkIf config.hardware.amdHybridGraphics.disable {
|
||||
systemd.services."amd-hybrid-graphics" = {
|
||||
path = [ pkgs.bash ];
|
||||
description = "Disable AMD Card";
|
||||
after = [ "sys-kernel-debug.mount" ];
|
||||
before = [ "systemd-vconsole-setup.service" "display-manager.service" ];
|
||||
requires = [ "sys-kernel-debug.mount" "vgaswitcheroo.path" ];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
ExecStart = "${pkgs.bash}/bin/sh -c 'echo -e \"IGD\\nOFF\" > /sys/kernel/debug/vgaswitcheroo/switch'";
|
||||
ExecStop = "${pkgs.bash}/bin/sh -c 'echo ON >/sys/kernel/debug/vgaswitcheroo/switch'";
|
||||
};
|
||||
};
|
||||
systemd.paths."vgaswitcheroo" = {
|
||||
pathConfig = {
|
||||
PathExists = "/sys/kernel/debug/vgaswitcheroo/switch";
|
||||
Unit = "amd-hybrid-graphics.service";
|
||||
};
|
||||
wantedBy = ["multi-user.target"];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
|
@ -50,6 +50,11 @@ let
|
|||
"up ${pkgs.writeScript "openvpn-${name}-up" upScript}"}
|
||||
${optionalString (cfg.down != "" || cfg.updateResolvConf)
|
||||
"down ${pkgs.writeScript "openvpn-${name}-down" downScript}"}
|
||||
${optionalString (cfg.authUserPass != null)
|
||||
"auth-user-pass ${pkgs.writeText "openvpn-credentials-${name}" ''
|
||||
${cfg.authUserPass.username}
|
||||
${cfg.authUserPass.password}
|
||||
''}"}
|
||||
'';
|
||||
|
||||
in {
|
||||
|
@ -161,6 +166,29 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
authUserPass = mkOption {
|
||||
default = null;
|
||||
description = ''
|
||||
This option can be used to store the username / password credentials
|
||||
with the "auth-user-pass" authentication method.
|
||||
|
||||
WARNING: Using this option will put the credentials WORLD-READABLE in the Nix store!
|
||||
'';
|
||||
type = types.nullOr (types.submodule {
|
||||
|
||||
options = {
|
||||
username = mkOption {
|
||||
description = "The username to store inside the credentials file.";
|
||||
type = types.string;
|
||||
};
|
||||
|
||||
password = mkOption {
|
||||
description = "The password to store inside the credentials file.";
|
||||
type = types.string;
|
||||
};
|
||||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
});
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
, supportedSystems ? [ "x86_64-linux" "aarch64-linux" ]
|
||||
}:
|
||||
|
||||
with import ../pkgs/top-level/release-lib.nix { inherit supportedSystems; };
|
||||
with import ../lib;
|
||||
|
||||
let
|
||||
|
@ -11,8 +12,6 @@ let
|
|||
versionSuffix =
|
||||
(if stableBranch then "." else "pre") + "${toString nixpkgs.revCount}.${nixpkgs.shortRev}";
|
||||
|
||||
forAllSystems = genAttrs supportedSystems;
|
||||
|
||||
importTest = fn: args: system: import fn ({
|
||||
inherit system;
|
||||
} // args);
|
||||
|
@ -124,22 +123,13 @@ in rec {
|
|||
# Build the initial ramdisk so Hydra can keep track of its size over time.
|
||||
initialRamdisk = buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.initialRamdisk);
|
||||
|
||||
netboot = {
|
||||
x86_64-linux = makeNetboot {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./modules/installer/netboot/netboot-minimal.nix
|
||||
versionModule
|
||||
];
|
||||
};
|
||||
} // (optionalAttrs (elem "aarch64-linux" supportedSystems) {
|
||||
aarch64-linux = makeNetboot {
|
||||
system = "aarch64-linux";
|
||||
modules = [
|
||||
./modules/installer/netboot/netboot-minimal.nix
|
||||
versionModule
|
||||
];
|
||||
};});
|
||||
netboot = forTheseSystems [ "x86_64-linux" "aarch64-linux" ] (system: makeNetboot {
|
||||
inherit system;
|
||||
modules = [
|
||||
./modules/installer/netboot/netboot-minimal.nix
|
||||
versionModule
|
||||
];
|
||||
});
|
||||
|
||||
iso_minimal = forAllSystems (system: makeIso {
|
||||
module = ./modules/installer/cd-dvd/installation-cd-minimal.nix;
|
||||
|
@ -147,7 +137,7 @@ in rec {
|
|||
inherit system;
|
||||
});
|
||||
|
||||
iso_graphical = genAttrs [ "x86_64-linux" ] (system: makeIso {
|
||||
iso_graphical = forTheseSystems [ "x86_64-linux" ] (system: makeIso {
|
||||
module = ./modules/installer/cd-dvd/installation-cd-graphical-kde.nix;
|
||||
type = "graphical";
|
||||
inherit system;
|
||||
|
@ -155,7 +145,7 @@ in rec {
|
|||
|
||||
# A variant with a more recent (but possibly less stable) kernel
|
||||
# that might support more hardware.
|
||||
iso_minimal_new_kernel = genAttrs [ "x86_64-linux" ] (system: makeIso {
|
||||
iso_minimal_new_kernel = forTheseSystems [ "x86_64-linux" ] (system: makeIso {
|
||||
module = ./modules/installer/cd-dvd/installation-cd-minimal-new-kernel.nix;
|
||||
type = "minimal-new-kernel";
|
||||
inherit system;
|
||||
|
@ -163,7 +153,7 @@ in rec {
|
|||
|
||||
|
||||
# A bootable VirtualBox virtual appliance as an OVA file (i.e. packaged OVF).
|
||||
ova = genAttrs [ "x86_64-linux" ] (system:
|
||||
ova = forTheseSystems [ "x86_64-linux" ] (system:
|
||||
|
||||
with import nixpkgs { inherit system; };
|
||||
|
||||
|
|
|
@ -29,6 +29,8 @@ rec {
|
|||
dogecoin = callPackage ./dogecoin.nix { withGui = true; };
|
||||
dogecoind = callPackage ./dogecoin.nix { withGui = false; };
|
||||
|
||||
ethsign = callPackage ./ethsign { };
|
||||
|
||||
freicoin = callPackage ./freicoin.nix { boost = boost155; };
|
||||
go-ethereum = callPackage ./go-ethereum.nix {
|
||||
inherit (darwin) libobjc;
|
||||
|
|
59
pkgs/applications/altcoins/ethsign/default.nix
Normal file
59
pkgs/applications/altcoins/ethsign/default.nix
Normal file
|
@ -0,0 +1,59 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub, fetchgit, clang }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "ethsign-${version}";
|
||||
version = "0.8.2";
|
||||
|
||||
goPackagePath = "github.com/dapphub/ethsign";
|
||||
hardeningDisable = ["fortify"];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dapphub";
|
||||
repo = "ethsign";
|
||||
rev = "v${version}";
|
||||
sha256 = "1gd0bq5x49sjm83r2wivjf03dxvhdli6cvwb9b853wwcvy4inmmh";
|
||||
};
|
||||
|
||||
extraSrcs = [
|
||||
{
|
||||
goPackagePath = "github.com/ethereum/go-ethereum";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ethereum";
|
||||
repo = "go-ethereum";
|
||||
rev = "v1.7.3";
|
||||
sha256 = "1w6rbq2qpjyf2v9mr18yiv2af1h2sgyvgrdk4bd8ixgl3qcd5b11";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "gopkg.in/urfave/cli.v1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "urfave";
|
||||
repo = "cli";
|
||||
rev = "v1.19.1";
|
||||
sha256 = "1ny63c7bfwfrsp7vfkvb4i0xhq4v7yxqnwxa52y4xlfxs4r6v6fg";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/crypto";
|
||||
src = fetchgit {
|
||||
url = "https://go.googlesource.com/crypto";
|
||||
rev = "94eea52f7b742c7cbe0b03b22f0c4c8631ece122";
|
||||
sha256 = "095zyvjb0m2pz382500miqadhk7w3nis8z3j941z8cq4rdafijvi";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/sys";
|
||||
src = fetchgit {
|
||||
url = "https://go.googlesource.com/sys";
|
||||
rev = "53aa286056ef226755cd898109dbcdaba8ac0b81";
|
||||
sha256 = "1yd17ccklby099cpdcsgx6lf0lj968hsnppp16mwh9009ldf72r1";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://github.com/dapphub/ethsign;
|
||||
description = "Make raw signed Ethereum transactions";
|
||||
license = [licenses.gpl3];
|
||||
};
|
||||
}
|
|
@ -1,22 +1,24 @@
|
|||
{ stdenv, makeWrapper, lib, fetchFromGitHub
|
||||
, bc, coreutils, curl, ethabi, git, gnused, jshon, perl, solc, which }:
|
||||
, bc, coreutils, curl, ethabi, git, gnused, jshon, perl, solc, which
|
||||
, nodejs, ethsign
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "seth-${version}";
|
||||
version = "0.5.6";
|
||||
version = "0.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dapphub";
|
||||
repo = "seth";
|
||||
rev = "v${version}";
|
||||
sha256 = "1zl70xy7njjwy4k4g84v7lpf9a2nnnbxh4mkpw7jzqfs2mr636z6";
|
||||
sha256 = "1lbr7i3rznfp3h03y7pc094r0m992lbzr926rnr0xxbyp755wvm4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [makeWrapper];
|
||||
buildPhase = "true";
|
||||
makeFlags = ["prefix=$(out)"];
|
||||
postInstall = let path = lib.makeBinPath [
|
||||
bc coreutils curl ethabi git gnused jshon perl solc which
|
||||
bc coreutils curl ethabi git gnused jshon perl solc which nodejs ethsign
|
||||
]; in ''
|
||||
wrapProgram "$out/bin/seth" --prefix PATH : "${path}"
|
||||
'';
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
let
|
||||
androidStudio = stdenv.mkDerivation {
|
||||
name = "${pname}";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-ide-${build}-linux.zip";
|
||||
|
@ -48,6 +48,7 @@ let
|
|||
installPhase = ''
|
||||
cp -r . $out
|
||||
wrapProgram $out/bin/studio.sh \
|
||||
--set ANDROID_EMULATOR_USE_SYSTEM_LIBS 1 \
|
||||
--set PATH "${stdenv.lib.makeBinPath [
|
||||
|
||||
# Checked in studio.sh
|
||||
|
@ -68,7 +69,6 @@ let
|
|||
|
||||
# Runtime stuff
|
||||
git
|
||||
|
||||
]}" \
|
||||
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [
|
||||
|
||||
|
|
|
@ -135,10 +135,10 @@
|
|||
arbitools = callPackage ({ cl-lib ? null, elpaBuild, fetchurl, lib }:
|
||||
elpaBuild {
|
||||
pname = "arbitools";
|
||||
version = "0.93";
|
||||
version = "0.94";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/packages/arbitools-0.93.el";
|
||||
sha256 = "0z3lqp8dqfkams5h4sw569p48d2rvpd3d8lb4xaw0z8l49y2mvg8";
|
||||
url = "https://elpa.gnu.org/packages/arbitools-0.94.el";
|
||||
sha256 = "00iq8rr1275p48ic5mibcx657li723q8r7ax4g21w6bzwsj3gksd";
|
||||
};
|
||||
packageRequires = [ cl-lib ];
|
||||
meta = {
|
||||
|
@ -768,10 +768,10 @@
|
|||
el-search = callPackage ({ elpaBuild, emacs, fetchurl, lib, stream }:
|
||||
elpaBuild {
|
||||
pname = "el-search";
|
||||
version = "1.4.0.14";
|
||||
version = "1.4.0.17";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/packages/el-search-1.4.0.14.tar";
|
||||
sha256 = "1qc30dia59i2bklhivfhmsghirnpgz5mvcjdc78n0r8nizb68jfp";
|
||||
url = "https://elpa.gnu.org/packages/el-search-1.4.0.17.tar";
|
||||
sha256 = "14jacy0gjhpvia15ffa99np2wyblmadb95f17a9azl6dsn6dq1m6";
|
||||
};
|
||||
packageRequires = [ emacs stream ];
|
||||
meta = {
|
||||
|
@ -1386,10 +1386,10 @@
|
|||
mines = callPackage ({ cl-lib ? null, elpaBuild, emacs, fetchurl, lib }:
|
||||
elpaBuild {
|
||||
pname = "mines";
|
||||
version = "1.2";
|
||||
version = "1.5";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/packages/mines-1.2.tar";
|
||||
sha256 = "1xwnw2hyk1qz98mdnckk0i05li0gzygq12kkmrlidxnk7ngbq9vw";
|
||||
url = "https://elpa.gnu.org/packages/mines-1.5.tar";
|
||||
sha256 = "1wpkn47iza78hzj396z5c05hsimnhhhmr1cq598azd6h8c1zca7g";
|
||||
};
|
||||
packageRequires = [ cl-lib emacs ];
|
||||
meta = {
|
||||
|
@ -2320,10 +2320,10 @@
|
|||
}) {};
|
||||
which-key = callPackage ({ elpaBuild, emacs, fetchurl, lib }: elpaBuild {
|
||||
pname = "which-key";
|
||||
version = "3.0.2";
|
||||
version = "3.1.0";
|
||||
src = fetchurl {
|
||||
url = "https://elpa.gnu.org/packages/which-key-3.0.2.tar";
|
||||
sha256 = "1s7bq7vq9xsf2pz1w03l743yzaxm9gk5qgympcwlkiq90ph13vcn";
|
||||
url = "https://elpa.gnu.org/packages/which-key-3.1.0.tar";
|
||||
sha256 = "17n09i92m7qdicybxl60j81c8fn7jcx25wds0sb7j8i364psjabq";
|
||||
};
|
||||
packageRequires = [ emacs ];
|
||||
meta = {
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1753,12 +1753,12 @@
|
|||
apiwrap = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "apiwrap";
|
||||
version = "0.3";
|
||||
version = "0.4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "vermiculus";
|
||||
repo = "apiwrap.el";
|
||||
rev = "5d25972192cd34553997ba193c09eab093a2b870";
|
||||
sha256 = "1pp2gzw17k58s9akraf8p4jxbar8viym2a43rkc7agzy47qsybs0";
|
||||
rev = "7935275ee45f0359d887b8563ffd1d002f0c618e";
|
||||
sha256 = "1p6sj46135dh7fgpzrfzsp5zkmx5si5lndwc7pnk30fbz5pindsw";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/0197fd3657e65e3826375d9b6f19da3058366c91/recipes/apiwrap";
|
||||
|
@ -2047,12 +2047,12 @@
|
|||
auto-compile = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild, packed }:
|
||||
melpaBuild {
|
||||
pname = "auto-compile";
|
||||
version = "1.4.1";
|
||||
version = "1.4.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "emacscollective";
|
||||
repo = "auto-compile";
|
||||
rev = "a31819a1b75a2320edb0f7f25d6c6faf528bf41a";
|
||||
sha256 = "17hzl03livgj49zb0knlfn6r020nvj41pjjz3acy82zwrjydsvxa";
|
||||
rev = "8d117868a0a091389d528428136e60f951e9c550";
|
||||
sha256 = "1qkw8qzhqzk16kvk1200ha10gi6ny0saqvyqm6b1ww0iw3q1ic5c";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/57a2fb9524df3fdfdc54c403112e12bd70888b23/recipes/auto-compile";
|
||||
|
@ -3061,12 +3061,12 @@
|
|||
bog = callPackage ({ cl-lib ? null, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "bog";
|
||||
version = "1.3.0";
|
||||
version = "1.3.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "kyleam";
|
||||
repo = "bog";
|
||||
rev = "cf7817de3f37ce2404ee637a655f1a511b829585";
|
||||
sha256 = "0h166w8bg864ppwg64m0vhg649mmkclld85zcd0lmbqa9wfml5j5";
|
||||
rev = "6ed4d3edbe771e586d873b826330f3ef23aa1611";
|
||||
sha256 = "0s4jwlaq3mqyzkyg3x4nh4nx7vw825jhz7ggakay7a2cfvpa4i2j";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/19fd0bf2f8e52c79120c492a6dcabdd51b465d35/recipes/bog";
|
||||
|
@ -3142,6 +3142,27 @@
|
|||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
borg = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "borg";
|
||||
version = "2.0.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "emacscollective";
|
||||
repo = "borg";
|
||||
rev = "34eac585d6829e17ce59b09fe6ad5d675302c096";
|
||||
sha256 = "1q7k2c7pxcywg6xjk8awg73skyw59a6w4aa9sxbsz9vdj2zn04k9";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/878ab90d444f3a1fd2c9f9068ca7b477e218f1da/recipes/borg";
|
||||
sha256 = "0gn4hf7hn190gl0kg59nr6jzjnb39c0hy9b3brrsfld9hyxga9jr";
|
||||
name = "borg";
|
||||
};
|
||||
packageRequires = [];
|
||||
meta = {
|
||||
homepage = "https://melpa.org/#/borg";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
boxquote = callPackage ({ cl-lib ? null, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "boxquote";
|
||||
|
@ -6476,6 +6497,27 @@
|
|||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
cubicle-mode = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "cubicle-mode";
|
||||
version = "1.1.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "cubicle-model-checker";
|
||||
repo = "cubicle";
|
||||
rev = "b043b0247bf9b144a5c3360e5096a4b141dd1fb6";
|
||||
sha256 = "0zsfz1h68xpbgdb1ln8l081vwrgd7i01ap4rjlyrsk8j3q3ry5wz";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/81c29c912b83cbb536d30ba04130b39c0e5e5969/recipes/cubicle-mode";
|
||||
sha256 = "0xcmd0s6dfryl1ihfaqq0pfqc906yzzwk3d3nv8g6b6w78pv1lzv";
|
||||
name = "cubicle-mode";
|
||||
};
|
||||
packageRequires = [];
|
||||
meta = {
|
||||
homepage = "https://melpa.org/#/cubicle-mode";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
cuda-mode = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "cuda-mode";
|
||||
|
@ -6626,12 +6668,12 @@
|
|||
dante = callPackage ({ dash, emacs, f, fetchFromGitHub, fetchurl, flycheck, haskell-mode, lib, melpaBuild, s }:
|
||||
melpaBuild {
|
||||
pname = "dante";
|
||||
version = "1.3";
|
||||
version = "1.4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jyp";
|
||||
repo = "dante";
|
||||
rev = "6b260611dc08468fca9b9af132a00783dd2cf8d9";
|
||||
sha256 = "0s5wi010sn3ng9fr7fqbc11kmjqirr28wya3rnnzzb3m5gyxs8id";
|
||||
rev = "1a25bf26ee8d9878ce858cfaff84b083339056d6";
|
||||
sha256 = "0kvsx9n8qm9s2w9bz167jzcb1b3d4fgc807w1miwil9dcyar6rkk";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/5afa8226077cbda4b76f52734cf8e0b745ab88e8/recipes/dante";
|
||||
|
@ -6962,12 +7004,12 @@
|
|||
deft = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "deft";
|
||||
version = "0.7";
|
||||
version = "0.8";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jrblevin";
|
||||
repo = "deft";
|
||||
rev = "4001a55cf5f79cdbfa00f1405e8a4645af4acd40";
|
||||
sha256 = "157c6ck6gb59i7dikbdnaq7cwlh3nnk0vqgil4v1294s2xbpp46n";
|
||||
rev = "c4b30d780bfa732ff52d85f0311e4a045f44a7b4";
|
||||
sha256 = "0z7cilgiz6krvl5h2z72hkch43qxmypb0k6p5vxn5lx1p6v0mrf2";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/1e2a0e4698d4e71ec28656594f6a83504a823490/recipes/deft";
|
||||
|
@ -9433,12 +9475,12 @@
|
|||
elpa-mirror = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "elpa-mirror";
|
||||
version = "2.1.0";
|
||||
version = "2.1.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "redguardtoo";
|
||||
repo = "elpa-mirror";
|
||||
rev = "9cf096448b69c795b20aab89557e9add6029b13c";
|
||||
sha256 = "05la1v1p7wyrjflh8lv3pwr7ywm2rvvzhh8phr24w31jfs2kp4gf";
|
||||
rev = "83a38b5721c459d311833522903de96f874e1a4e";
|
||||
sha256 = "0j2nk1nhbihfqajkmzp3501mhv5617qhb7qbj46qz8azs8a1dvri";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/d64ce7042c45f29fb394be25ce415912182bac8b/recipes/elpa-mirror";
|
||||
|
@ -9545,12 +9587,12 @@
|
|||
elx = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "elx";
|
||||
version = "1.1.1";
|
||||
version = "1.2.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "emacscollective";
|
||||
repo = "elx";
|
||||
rev = "9f5d593b65686e8da29ef79457c8f6fc061af7e5";
|
||||
sha256 = "1vs7nmsi82gv9mw1mia6ri1vmn26ldwnj8akirqgq31rfgyfj4vh";
|
||||
rev = "127fd4fca8ac6470cfda62f47bb1c29859862cfc";
|
||||
sha256 = "0j7j7wh89a34scilw11pbdb86nf515ig38pjkwyarfvj93gigc04";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/57a2fb9524df3fdfdc54c403112e12bd70888b23/recipes/elx";
|
||||
|
@ -12435,12 +12477,12 @@
|
|||
fish-mode = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "fish-mode";
|
||||
version = "0.1.2";
|
||||
version = "0.1.3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "wwwjfy";
|
||||
repo = "emacs-fish";
|
||||
rev = "22aabbccd564883684f6d224b8e0a512f334be41";
|
||||
sha256 = "17djaz79spms9il71m4xdfjhm58dzswb6fpncngkgx8kxvcy9y24";
|
||||
rev = "cd0387f7f1d5c50e080091f86ca97d8a67d603a6";
|
||||
sha256 = "0q4cq1rkiz5mjxhp7p5awmw59q1yjb2sryc9i54cwhr5dwwqf95k";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/efac97c0f54a3300251020c4626056526c18b441/recipes/fish-mode";
|
||||
|
@ -14760,12 +14802,12 @@
|
|||
ghub-plus = callPackage ({ apiwrap, emacs, fetchFromGitHub, fetchurl, ghub, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "ghub-plus";
|
||||
version = "0.2";
|
||||
version = "0.2.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "vermiculus";
|
||||
repo = "ghub-plus";
|
||||
rev = "e04050f81106029c342deb7adbfc67b2a888ec58";
|
||||
sha256 = "0ydd6aiy8x878jlzp88gi30yslhkcin0rbdjirj2vjs88cfvcjq6";
|
||||
rev = "8cfdaf42446a68e6aa4eb0655d43563407cb5636";
|
||||
sha256 = "0acfqf1219bnzyf64sv68fvpi4a13nc0wv8dz5a8h6r1j0ysx6qj";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/03a412fd25218ff6f302734e078a699ff0234e36/recipes/ghub+";
|
||||
|
@ -18065,12 +18107,12 @@
|
|||
helm-org-rifle = callPackage ({ dash, emacs, f, fetchFromGitHub, fetchurl, helm, lib, melpaBuild, s }:
|
||||
melpaBuild {
|
||||
pname = "helm-org-rifle";
|
||||
version = "1.4.2";
|
||||
version = "1.5.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "alphapapa";
|
||||
repo = "helm-org-rifle";
|
||||
rev = "26749ff9f34b2abddf7c47ff71b1046942e38398";
|
||||
sha256 = "1q969rlqj706wdzd3s54pqpfpqkg18bzl5srl7xkw43cfzxpcpj2";
|
||||
rev = "68f01726795ca3054cfc6327dcdb22c9c83dfdfa";
|
||||
sha256 = "0vak9phqgxz5dk1zj3i4cs94y797h77qadirsf33gl073cg95l8a";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/f39cc94dde5aaf0d6cfea5c98dd52cdb0bcb1615/recipes/helm-org-rifle";
|
||||
|
@ -18632,12 +18674,12 @@
|
|||
helpful = callPackage ({ dash, dash-functional, elisp-refs, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild, s, shut-up }:
|
||||
melpaBuild {
|
||||
pname = "helpful";
|
||||
version = "0.5";
|
||||
version = "0.6";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Wilfred";
|
||||
repo = "helpful";
|
||||
rev = "9fdbf5b24df28b046731db1c7a1cc90338d55dce";
|
||||
sha256 = "13kw0i4vhd8fgwgchap5qxckvhs00ifr7z68whnd3xzklx3v47bj";
|
||||
rev = "e1b660e2a48b39b0a81119c2593362dd60076757";
|
||||
sha256 = "031hglxwlq8fryi8vs11hyflcrk09qc9qja28nqby0adn20z47mc";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/889d34b654de13bd413d46071a5ff191cbf3d157/recipes/helpful";
|
||||
|
@ -19409,12 +19451,12 @@
|
|||
ialign = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "ialign";
|
||||
version = "0.2.0";
|
||||
version = "0.3.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mkcms";
|
||||
repo = "interactive-align";
|
||||
rev = "df591e452f9a56c69fb69de961baa75751bae3d8";
|
||||
sha256 = "1k3c0wxbn6yrd75275ny66avp70qpd3glnmagsgq3x8mbyxh233d";
|
||||
rev = "f022c86d566a4b0b4ffdc5c8c75a4a7b9468fa71";
|
||||
sha256 = "087rjk26pfa29igq3cbp48yaxlm4xqz62svszbdb1hjfip5y453a";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/072f1f7ce17e2972863bce10af9c52b3c6502eab/recipes/ialign";
|
||||
|
@ -19889,6 +19931,27 @@
|
|||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
imake = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "imake";
|
||||
version = "1.0.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tarsius";
|
||||
repo = "imake";
|
||||
rev = "edd2e59f7996c35450987cf8f137ecb54777e9ca";
|
||||
sha256 = "12mq1ki001jgjdfr3fx43z1xz4jrki18rb0wkb7n956dvl34w0fg";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/28de8f7f5302b27c7c6600ad65a998119518be43/recipes/imake";
|
||||
sha256 = "0j732fi6999n9990w4l28raw140fvqfbynyh4x65yilhw95r7c34";
|
||||
name = "imake";
|
||||
};
|
||||
packageRequires = [ emacs ];
|
||||
meta = {
|
||||
homepage = "https://melpa.org/#/imake";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
imapfilter = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "imapfilter";
|
||||
|
@ -21569,12 +21632,12 @@
|
|||
kaolin-themes = callPackage ({ autothemer, cl-lib ? null, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "kaolin-themes";
|
||||
version = "1.1.1";
|
||||
version = "1.2.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ogdenwebb";
|
||||
repo = "emacs-kaolin-themes";
|
||||
rev = "d4a1cbae1fc77192e5844291821709c82c9dc455";
|
||||
sha256 = "04k2yz3vrj1h0zf6cz0jd97fg8zah2j980l5ycsgyy0dk9ysink8";
|
||||
rev = "88a25b89a480f1193cc1c5502f3a5d0b68cb7227";
|
||||
sha256 = "03bbpaih29yx8s16v59mca8v6sak6294zq7d534613la28n4h6w7";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/043a4e3bd5301ef8f4df2cbda0b3f4111eb399e4/recipes/kaolin-themes";
|
||||
|
@ -23115,12 +23178,12 @@
|
|||
magit-popup = callPackage ({ async, dash, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "magit-popup";
|
||||
version = "2.12.0";
|
||||
version = "2.12.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "magit";
|
||||
repo = "magit-popup";
|
||||
rev = "05a836caf02eba91fa26bdf5dd6fd183fe23937d";
|
||||
sha256 = "08p57alfbkcsqkhnfjhfckqhans278ffjyhhhvgy8s7asa6as9kl";
|
||||
rev = "5a2a6f2907a09c7592c4631d2678dd7ab44fd5a2";
|
||||
sha256 = "0m8h6jc87bcl3lhygc06la4hs7sh6c7vflxlqvwr3bfmknl8l8yw";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/0263ca6aea7bf6eae26a637454affbda6bd106df/recipes/magit-popup";
|
||||
|
@ -25388,12 +25451,12 @@
|
|||
no-littering = callPackage ({ cl-lib ? null, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "no-littering";
|
||||
version = "0.5.11";
|
||||
version = "0.5.12";
|
||||
src = fetchFromGitHub {
|
||||
owner = "emacscollective";
|
||||
repo = "no-littering";
|
||||
rev = "a4b42b185b65e78bc3bb6523e23aefb1213eb3b2";
|
||||
sha256 = "1yzcawvz3vbq6pgr0b3sk0qg24jx1fpkinwcmsdl283ib8msbc7g";
|
||||
rev = "8e321f1036770c20637a0f946b655805cd070e25";
|
||||
sha256 = "11hxf0fkka4mv1qsw0nx3ymvgcav95r2bvk1gwyj5m5cbwb4a1n9";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/57a2fb9524df3fdfdc54c403112e12bd70888b23/recipes/no-littering";
|
||||
|
@ -25490,11 +25553,11 @@
|
|||
}) {};
|
||||
notmuch = callPackage ({ fetchgit, fetchurl, lib, melpaBuild }: melpaBuild {
|
||||
pname = "notmuch";
|
||||
version = "0.26pre2";
|
||||
version = "0.26";
|
||||
src = fetchgit {
|
||||
url = "git://git.notmuchmail.org/git/notmuch";
|
||||
rev = "4cb1eeba83416a12c616aca6469c027b8b8a303d";
|
||||
sha256 = "0brcdwblfj3nb2ca0izvhlm3x1pf0r72wsa9f2hf0ssnh9w2z40s";
|
||||
rev = "3c4e64d976eb561ac5157df1bbe5882e3e65b583";
|
||||
sha256 = "00a9ggrc63n88g7vp57c09r859pl2dbxnqgf543ks94lm0jzyz3f";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/b19f21ed7485036e799ccd88edbf7896a379d759/recipes/notmuch";
|
||||
|
@ -28310,12 +28373,12 @@
|
|||
parsebib = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "parsebib";
|
||||
version = "2.3.1";
|
||||
version = "2.3.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "joostkremers";
|
||||
repo = "parsebib";
|
||||
rev = "bc31b627c666df576aa37e21c27a2223b3cb91a3";
|
||||
sha256 = "1bnqnxkb9dnl0fjrrjx0xn9jsqki2h8ygw3d5dm4bl79smah3qkh";
|
||||
rev = "c8d59deb20552f9a1885297b5ae0b8f753d191a5";
|
||||
sha256 = "1b1iiiy184czp014gg1bb3jks9frmkw8hs5z2l2lnzjmfjr6jm6g";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/c39633957475dcd6a033760ba20a957716cce59c/recipes/parsebib";
|
||||
|
@ -29040,6 +29103,27 @@
|
|||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
php-runtime = callPackage ({ cl-lib ? null, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "php-runtime";
|
||||
version = "0.1.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "emacs-php";
|
||||
repo = "php-runtime.el";
|
||||
rev = "fa4312863245511462b75cb31df2f8558288f4df";
|
||||
sha256 = "1glwy0cgnn0z4rnd45pqy0bmyaddhxfjlj778hz7ghy40h9kqbdn";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/615c9ac208d8c20082a8ac83e49e93d99e2cbc89/recipes/php-runtime";
|
||||
sha256 = "0dvnwajrjsgyqzglzpkx9vwx3f55mrag6dsbdjqc9vvpvxhmgfwb";
|
||||
name = "php-runtime";
|
||||
};
|
||||
packageRequires = [ cl-lib emacs ];
|
||||
meta = {
|
||||
homepage = "https://melpa.org/#/php-runtime";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
phpcbf = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild, s }:
|
||||
melpaBuild {
|
||||
pname = "phpcbf";
|
||||
|
@ -29292,6 +29376,27 @@
|
|||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
play-crystal = callPackage ({ dash, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild, request }:
|
||||
melpaBuild {
|
||||
pname = "play-crystal";
|
||||
version = "0.1.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "veelenga";
|
||||
repo = "play-crystal.el";
|
||||
rev = "86b54346e7c832c14f8e5654a462f6490a6b11d7";
|
||||
sha256 = "0kvkr24f8r21pahm2lsvbr9bg53770wxwpdfmmjljs2zmgxf2c40";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/92715977136afa731e85e894542dc88b664b3304/recipes/play-crystal";
|
||||
sha256 = "1jqf36b1mhyf4j7fs386g6isy09q7k8zwdc4rb34mhjg1a56gcnf";
|
||||
name = "play-crystal";
|
||||
};
|
||||
packageRequires = [ dash emacs request ];
|
||||
meta = {
|
||||
homepage = "https://melpa.org/#/play-crystal";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}) {};
|
||||
play-routes-mode = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "play-routes-mode";
|
||||
|
@ -31491,12 +31596,12 @@
|
|||
req-package = callPackage ({ dash, fetchFromGitHub, fetchurl, ht, lib, log4e, melpaBuild, use-package }:
|
||||
melpaBuild {
|
||||
pname = "req-package";
|
||||
version = "1.0";
|
||||
version = "1.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "edvorg";
|
||||
repo = "req-package";
|
||||
rev = "30f76a9c52994562191c90c315002410706f6c0b";
|
||||
sha256 = "0qdr2pshfq6v75s9hx9wgvn56pd7b65vaqaa64dryr7v4yzd4r15";
|
||||
rev = "15c0dfecad2bb939e97abf9d0c7fa086676e5c05";
|
||||
sha256 = "0qidddvnv2qdcqx4b1fkp8lbax6hzp7np4c6r66h0d33dk6b7m77";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/f58a801f0791566d0c39493a5f82ff0d15d7ab41/recipes/req-package";
|
||||
|
@ -37792,12 +37897,12 @@
|
|||
which-key = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "which-key";
|
||||
version = "3.0.2";
|
||||
version = "3.1.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "justbur";
|
||||
repo = "emacs-which-key";
|
||||
rev = "6d2e17c949ff7bfebfe0b0878a93d94b31585031";
|
||||
sha256 = "03szbjp6j6rjj43k3vs2jay4y7bnhhh1ymgqv8vvdnqsf88pdg88";
|
||||
rev = "7559a79e95aada65601f7413a1c3f08bfa34557b";
|
||||
sha256 = "1l9m04hypk8j5qkg7rlhsknj9hx5l3zjy97s3kv7wbcwvcx3yxhz";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/315865a3df97c0694f648633d44b8b34df1ac76d/recipes/which-key";
|
||||
|
@ -38089,8 +38194,8 @@
|
|||
version = "0.9.8";
|
||||
src = fetchhg {
|
||||
url = "https://bitbucket.com/ArneBab/wisp";
|
||||
rev = "52fa9101d8c4";
|
||||
sha256 = "1ijzd3xmygkkkwm0ckkmi576y93drcs63l6bsc8qz2pvjcn5k8sw";
|
||||
rev = "d04938232934";
|
||||
sha256 = "1sjadb0kh3hrdsvwywi04agrzrs21sxzh1v1km0z3x6f15nr048c";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/5b7972602399f9df9139cff177e38653bb0f43ed/recipes/wisp-mode";
|
||||
|
@ -38127,12 +38232,12 @@
|
|||
with-editor = callPackage ({ async, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
|
||||
melpaBuild {
|
||||
pname = "with-editor";
|
||||
version = "2.7.0";
|
||||
version = "2.7.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "magit";
|
||||
repo = "with-editor";
|
||||
rev = "99d3278b1c79718de16dd4f57dcc8c4aa31a4051";
|
||||
sha256 = "1mcfinr1wv87hqn2787dcyn7lkgfni4xfgsji50pwj3zfgg0yqyr";
|
||||
rev = "04d59d68dab58a7cf3034c84d8ba0553b78ae30c";
|
||||
sha256 = "080f39m9nmi163arpmxw45xwadb7q7w7p385yi1jy62bzvqnk0pm";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/8c52c840dc35f3fd17ec660e113ddbb53aa99076/recipes/with-editor";
|
||||
|
@ -38864,8 +38969,8 @@
|
|||
version = "1.80";
|
||||
src = fetchhg {
|
||||
url = "https://www.yatex.org/hgrepos/yatex/";
|
||||
rev = "668632d9392e";
|
||||
sha256 = "1d37yr7yqqg1gavi3406rv9rfvcm5ic365jhs6pispfx1kr77k6n";
|
||||
rev = "cef987df070f";
|
||||
sha256 = "1nryf7pizmwhyk2jw5dgild031xb6xylyyhr8pwx74iijcbpz2qh";
|
||||
};
|
||||
recipeFile = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/milkypostman/melpa/e28710244a1bef8f56156fe1c271520896a9c694/recipes/yatex";
|
||||
|
|
|
@ -164,9 +164,6 @@ self:
|
|||
# upstream issue: missing file header
|
||||
qiita = markBroken super.qiita;
|
||||
|
||||
# upstream issue: missing file header
|
||||
rcirc-menu = markBroken super.rcirc-menu;
|
||||
|
||||
# upstream issue: missing file header
|
||||
speech-tagger = markBroken super.speech-tagger;
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{ callPackage }: {
|
||||
org = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
|
||||
pname = "org";
|
||||
version = "20180108";
|
||||
version = "20180115";
|
||||
src = fetchurl {
|
||||
url = "https://orgmode.org/elpa/org-20180108.tar";
|
||||
sha256 = "02rs7zi3dzps0mlyfbgiywd2smnlw0pk8ps1nqk0d5hx3n6d15yv";
|
||||
url = "https://orgmode.org/elpa/org-20180115.tar";
|
||||
sha256 = "1zc75kxbx9bk1xag46s027a290fnva1id8vv92lz9i5nkqnrm430";
|
||||
};
|
||||
packageRequires = [];
|
||||
meta = {
|
||||
|
@ -14,10 +14,10 @@
|
|||
}) {};
|
||||
org-plus-contrib = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
|
||||
pname = "org-plus-contrib";
|
||||
version = "20180108";
|
||||
version = "20180115";
|
||||
src = fetchurl {
|
||||
url = "https://orgmode.org/elpa/org-plus-contrib-20180108.tar";
|
||||
sha256 = "10mhiqsrxxmhsy8dl88r456shx6ajm4w19pz259b960551r596iz";
|
||||
url = "https://orgmode.org/elpa/org-plus-contrib-20180115.tar";
|
||||
sha256 = "1gm6b0hpa4y83bxsbps39b1xvq99m1dh9nbvn9r4spw4rxhhfppy";
|
||||
};
|
||||
packageRequires = [];
|
||||
meta = {
|
||||
|
|
|
@ -1,16 +1,7 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, gettext, libmsgpack, libtermkey
|
||||
, libtool, libuv, luaPackages, ncurses, perl, pkgconfig
|
||||
, unibilium, makeWrapper, vimUtils, xsel, gperf, callPackage
|
||||
|
||||
, withPython ? true, pythonPackages, extraPythonPackages ? []
|
||||
, withPython3 ? true, python3Packages, extraPython3Packages ? []
|
||||
, unibilium, vimUtils, xsel, gperf, callPackage
|
||||
, withJemalloc ? true, jemalloc
|
||||
, withRuby ? true, bundlerEnv, ruby
|
||||
|
||||
, withPyGUI ? false
|
||||
, vimAlias ? false
|
||||
, viAlias ? false
|
||||
, configure ? null
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
@ -46,47 +37,8 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
rubyEnv = bundlerEnv {
|
||||
name = "neovim-ruby-env";
|
||||
gemdir = ./ruby_provider;
|
||||
postBuild = ''
|
||||
ln -s ${ruby}/bin/* $out/bin
|
||||
'';
|
||||
};
|
||||
rubyWrapper = ''--cmd \"let g:ruby_host_prog='$out/bin/nvim-ruby'\" '';
|
||||
|
||||
pluginPythonPackages = if configure == null then [] else builtins.concatLists
|
||||
(map ({ pythonDependencies ? [], ...}: pythonDependencies)
|
||||
(vimUtils.requiredPlugins configure));
|
||||
pythonEnv = pythonPackages.python.buildEnv.override {
|
||||
extraLibs = (
|
||||
if withPyGUI
|
||||
then [ pythonPackages.neovim_gui ]
|
||||
else [ pythonPackages.neovim ]
|
||||
) ++ extraPythonPackages ++ pluginPythonPackages;
|
||||
ignoreCollisions = true;
|
||||
};
|
||||
pythonWrapper = ''--cmd \"let g:python_host_prog='$out/bin/nvim-python'\" '';
|
||||
|
||||
pluginPython3Packages = if configure == null then [] else builtins.concatLists
|
||||
(map ({ python3Dependencies ? [], ...}: python3Dependencies)
|
||||
(vimUtils.requiredPlugins configure));
|
||||
python3Env = python3Packages.python.buildEnv.override {
|
||||
extraLibs = [ python3Packages.neovim ] ++ extraPython3Packages ++ pluginPython3Packages;
|
||||
ignoreCollisions = true;
|
||||
};
|
||||
python3Wrapper = ''--cmd \"let g:python3_host_prog='$out/bin/nvim-python3'\" '';
|
||||
|
||||
additionalFlags =
|
||||
optionalString (withPython || withPython3 || withRuby)
|
||||
''--add-flags "${(optionalString withPython pythonWrapper) +
|
||||
(optionalString withPython3 python3Wrapper) +
|
||||
(optionalString withRuby rubyWrapper)}" --unset PYTHONPATH '' +
|
||||
optionalString (withRuby)
|
||||
''--suffix PATH : ${rubyEnv}/bin --set GEM_HOME ${rubyEnv}/${rubyEnv.ruby.gemPath} '';
|
||||
|
||||
neovim = stdenv.mkDerivation rec {
|
||||
name = "neovim-${version}";
|
||||
name = "neovim-unwrapped-${version}";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -113,7 +65,6 @@ let
|
|||
nativeBuildInputs = [
|
||||
cmake
|
||||
gettext
|
||||
makeWrapper
|
||||
pkgconfig
|
||||
];
|
||||
|
||||
|
@ -140,17 +91,6 @@ let
|
|||
install_name_tool -change libjemalloc.1.dylib \
|
||||
${jemalloc}/lib/libjemalloc.1.dylib \
|
||||
$out/bin/nvim
|
||||
'' + optionalString withPython ''
|
||||
ln -s ${pythonEnv}/bin/python $out/bin/nvim-python
|
||||
'' + optionalString withPython3 ''
|
||||
ln -s ${python3Env}/bin/python3 $out/bin/nvim-python3
|
||||
'' + optionalString withPython3 ''
|
||||
ln -s ${rubyEnv}/bin/neovim-ruby-host $out/bin/nvim-ruby
|
||||
'' + optionalString withPyGUI ''
|
||||
makeWrapper "${pythonEnv}/bin/pynvim" "$out/bin/pynvim" \
|
||||
--prefix PATH : "$out/bin"
|
||||
'' + optionalString (withPython || withPython3 || withRuby) ''
|
||||
wrapProgram $out/bin/nvim ${additionalFlags}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
@ -175,24 +115,5 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
in if (vimAlias == false && viAlias == false && configure == null)
|
||||
then neovim
|
||||
else stdenv.mkDerivation {
|
||||
name = "neovim-${neovim.version}-configured";
|
||||
inherit (neovim) version meta;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
for item in ${neovim}/bin/*; do
|
||||
ln -s $item $out/bin/
|
||||
done
|
||||
'' + optionalString vimAlias ''
|
||||
ln -s $out/bin/nvim $out/bin/vim
|
||||
'' + optionalString viAlias ''
|
||||
ln -s $out/bin/nvim $out/bin/vi
|
||||
'' + optionalString (configure != null) ''
|
||||
wrapProgram $out/bin/nvim --add-flags "-u ${vimUtils.vimrcFile configure}"
|
||||
'';
|
||||
}
|
||||
in
|
||||
neovim
|
||||
|
|
111
pkgs/applications/editors/neovim/wrapper.nix
Normal file
111
pkgs/applications/editors/neovim/wrapper.nix
Normal file
|
@ -0,0 +1,111 @@
|
|||
{ stdenv, lib, makeDesktopItem, makeWrapper, lndir
|
||||
, vimUtils
|
||||
, neovim
|
||||
, bundlerEnv, ruby
|
||||
, pythonPackages
|
||||
, python3Packages
|
||||
}:
|
||||
with stdenv.lib;
|
||||
|
||||
neovim:
|
||||
|
||||
let
|
||||
wrapper = {
|
||||
name ? "neovim"
|
||||
, withPython ? true, extraPythonPackages ? []
|
||||
, withPython3 ? true, extraPython3Packages ? []
|
||||
, withRuby ? true
|
||||
, withPyGUI ? false
|
||||
, vimAlias ? false
|
||||
, viAlias ? false
|
||||
, configure ? null
|
||||
}:
|
||||
let
|
||||
|
||||
rubyEnv = bundlerEnv {
|
||||
name = "neovim-ruby-env";
|
||||
gemdir = ./ruby_provider;
|
||||
postBuild = ''
|
||||
ln -s ${ruby}/bin/* $out/bin
|
||||
'';
|
||||
};
|
||||
|
||||
pluginPythonPackages = if configure == null then [] else builtins.concatLists
|
||||
(map ({ pythonDependencies ? [], ...}: pythonDependencies)
|
||||
(vimUtils.requiredPlugins configure));
|
||||
pythonEnv = pythonPackages.python.buildEnv.override {
|
||||
extraLibs = (
|
||||
if withPyGUI
|
||||
then [ pythonPackages.neovim_gui ]
|
||||
else [ pythonPackages.neovim ]
|
||||
) ++ extraPythonPackages ++ pluginPythonPackages;
|
||||
ignoreCollisions = true;
|
||||
};
|
||||
|
||||
pluginPython3Packages = if configure == null then [] else builtins.concatLists
|
||||
(map ({ python3Dependencies ? [], ...}: python3Dependencies)
|
||||
(vimUtils.requiredPlugins configure));
|
||||
python3Env = python3Packages.python.buildEnv.override {
|
||||
extraLibs = [ python3Packages.neovim ] ++ extraPython3Packages ++ pluginPython3Packages;
|
||||
ignoreCollisions = true;
|
||||
};
|
||||
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name;
|
||||
buildCommand = let bin="${neovim}/bin/nvim"; in ''
|
||||
if [ ! -x "${bin}" ]
|
||||
then
|
||||
echo "cannot find executable file \`${bin}'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
makeWrapper "$(readlink -v --canonicalize-existing "${bin}")" \
|
||||
"$out/bin/nvim" --add-flags " \
|
||||
--cmd \"${if withPython then "let g:python_host_prog='$out/bin/nvim-python'" else "let g:loaded_python_provider = 1"}\" \
|
||||
--cmd \"${if withPython3 then "let g:python3_host_prog='$out/bin/nvim-python3'" else "let g:loaded_python3_provider = 1"}\" \
|
||||
--cmd \"${if withRuby then "let g:ruby_host_prog='$out/bin/nvim-ruby'" else "let g:loaded_ruby_provider=1"}\" " \
|
||||
--unset PYTHONPATH \
|
||||
${optionalString withRuby '' --suffix PATH : ${rubyEnv}/bin --set GEM_HOME ${rubyEnv}/${rubyEnv.ruby.gemPath}'' }
|
||||
|
||||
''
|
||||
+ optionalString (!stdenv.isDarwin) ''
|
||||
# copy and patch the original neovim.desktop file
|
||||
mkdir -p $out/share/applications
|
||||
substitute ${neovim}/share/applications/nvim.desktop $out/share/applications/nvim.desktop \
|
||||
--replace 'TryExec=nvim' "TryExec=$out/bin/nvim" \
|
||||
--replace 'Name=Neovim' 'Name=WrappedNeovim'
|
||||
''
|
||||
+ optionalString withPython ''
|
||||
ln -s ${pythonEnv}/bin/python $out/bin/nvim-python
|
||||
'' + optionalString withPython3 ''
|
||||
ln -s ${python3Env}/bin/python3 $out/bin/nvim-python3
|
||||
'' + optionalString withRuby ''
|
||||
ln -s ${rubyEnv}/bin/neovim-ruby-host $out/bin/nvim-ruby
|
||||
''
|
||||
+ optionalString withPyGUI ''
|
||||
makeWrapper "${pythonEnv}/bin/pynvim" "$out/bin/pynvim" \
|
||||
--prefix PATH : "$out/bin"
|
||||
'' + optionalString vimAlias ''
|
||||
ln -s $out/bin/nvim $out/bin/vim
|
||||
'' + optionalString viAlias ''
|
||||
ln -s $out/bin/nvim $out/bin/vi
|
||||
'' + optionalString (configure != null) ''
|
||||
wrapProgram $out/bin/nvim --add-flags "-u ${vimUtils.vimrcFile configure}"
|
||||
''
|
||||
;
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
buildInputs = [makeWrapper];
|
||||
passthru = { unwrapped = neovim; };
|
||||
|
||||
meta = neovim.meta // {
|
||||
description = neovim.meta.description;
|
||||
hydraPlatforms = [];
|
||||
# prefer wrapper over the package
|
||||
priority = (neovim.meta.priority or 0) - 1;
|
||||
};
|
||||
};
|
||||
in
|
||||
lib.makeOverridable wrapper
|
|
@ -2,7 +2,7 @@
|
|||
makeWrapper, libXScrnSaver, libxkbfile, libsecret }:
|
||||
|
||||
let
|
||||
version = "1.19.1";
|
||||
version = "1.19.2";
|
||||
channel = "stable";
|
||||
|
||||
plat = {
|
||||
|
@ -12,9 +12,9 @@ let
|
|||
}.${stdenv.system};
|
||||
|
||||
sha256 = {
|
||||
"i686-linux" = "0ypx1jrzg76f8p4yh9hi3bhsrc6w4r7rg6i2aa6q7s8ny0q9hrlx";
|
||||
"x86_64-linux" = "1934wdiy2d1fzcjxjyf60dw1g1pp3lk2wv41xgrabfy5j2xfz14r";
|
||||
"x86_64-darwin" = "1zbcddgdwvmnk1gpmgw6rz0rswhkfc72wcjdbvgghm4msfwcgvc8";
|
||||
"i686-linux" = "05qfcmwl1r43slwkb2rxh99hwpzd8c622la0ffd9p2jg4lbkgs1p";
|
||||
"x86_64-linux" = "0kjwmw68av9mnqcg1vaazm3k240y9jvbng6n7ycgzxwddzx0qlac";
|
||||
"x86_64-darwin" = "1mjmi5r9qlc6ggh3w566454ar06by15xsm6dymr8zv4sb352w70h";
|
||||
}.${stdenv.system};
|
||||
|
||||
archive_fmt = if stdenv.system == "x86_64-darwin" then "zip" else "tar.gz";
|
||||
|
|
|
@ -18,5 +18,5 @@ mkDerivation {
|
|||
kdbusaddons kguiaddons kdnssd kiconthemes ki18n kio khtml kdelibs4support
|
||||
kpty libmtp libssh openexr openslp phonon qtsvg samba solid
|
||||
];
|
||||
NIX_CFLAGS_COMPILE = [ "-I${ilmbase.dev}/include/OpenEXR" ];
|
||||
CXXFLAGS = [ "-I${ilmbase.dev}/include/OpenEXR" ];
|
||||
}
|
||||
|
|
51
pkgs/applications/misc/redshift/575.patch
Normal file
51
pkgs/applications/misc/redshift/575.patch
Normal file
|
@ -0,0 +1,51 @@
|
|||
From 467156efccc5e36a36bec8c0b64cc5a70f14d5ed Mon Sep 17 00:00:00 2001
|
||||
From: Yegor Timoshenko <yegortimoshenko@riseup.net>
|
||||
Date: Tue, 16 Jan 2018 11:43:46 +0000
|
||||
Subject: [PATCH] Fix Autoconf script
|
||||
|
||||
gettext/intltool macros are not used correctly, see:
|
||||
https://bugs.launchpad.net/inkscape/+bug/1418943
|
||||
---
|
||||
bootstrap | 6 +-----
|
||||
configure.ac | 5 +----
|
||||
2 files changed, 2 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/bootstrap b/bootstrap
|
||||
index 0599cf5..40b1dca 100755
|
||||
--- a/bootstrap
|
||||
+++ b/bootstrap
|
||||
@@ -1,7 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
-# change to root directory
|
||||
-cd $(dirname "$0")
|
||||
-
|
||||
-autopoint --force && \
|
||||
- AUTOPOINT="intltoolize --automake --copy" autoreconf --force --install --verbose
|
||||
+autoreconf --force --install && intltoolize
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index be0b51a..a2e7c42 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -17,6 +17,7 @@ AC_PROG_OBJC # For macOS support modules
|
||||
AC_LANG([C])
|
||||
|
||||
AC_PROG_INTLTOOL([0.50])
|
||||
+AC_SUBST(LIBINTL)
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
@@ -51,10 +52,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], [
|
||||
])
|
||||
AC_LANG_POP([Objective C])
|
||||
|
||||
-# Checks for libraries.
|
||||
-AM_GNU_GETTEXT_VERSION([0.17])
|
||||
-AM_GNU_GETTEXT([external])
|
||||
-
|
||||
GETTEXT_PACKAGE=redshift
|
||||
AC_SUBST(GETTEXT_PACKAGE)
|
||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext])
|
||||
--
|
||||
2.15.1
|
||||
|
|
@ -1,68 +1,63 @@
|
|||
{ fetchurl, stdenv, gettext, intltool, makeWrapper, pkgconfig
|
||||
, geoclue2
|
||||
, guiSupport ? true, hicolor_icon_theme, librsvg, gtk3, python, pygobject3, pyxdg
|
||||
, drmSupport ? true, libdrm
|
||||
, randrSupport ? true, libxcb
|
||||
, vidModeSupport ? true, libX11, libXxf86vm
|
||||
}:
|
||||
{ stdenv, fetchFromGitHub, fetchurl, autoconf, automake, gettext, intltool
|
||||
, libtool, pkgconfig, wrapGAppsHook, wrapPython, geoclue2, gobjectIntrospection
|
||||
, gtk3, python, pygobject3, pyxdg, libdrm, libxcb }:
|
||||
|
||||
let
|
||||
mkFlag = flag: name: if flag
|
||||
then "--enable-${name}"
|
||||
else "--disable-${name}";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "redshift-${version}";
|
||||
version = "1.11";
|
||||
|
||||
src = fetchurl {
|
||||
sha256 = "0ngkwj7rg8nfk806w0sg443w6wjr91xdc0zisqfm5h2i77wm1qqh";
|
||||
url = "https://github.com/jonls/redshift/releases/download/v${version}/redshift-${version}.tar.xz";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jonls";
|
||||
repo = "redshift";
|
||||
rev = "v${version}";
|
||||
sha256 = "0jfi4wqklqw2rm0r2xwalyzir88zkdvqj0z5id0l5v20vsrfiiyj";
|
||||
};
|
||||
|
||||
buildInputs = [ geoclue2 ]
|
||||
++ stdenv.lib.optionals guiSupport [ hicolor_icon_theme librsvg gtk3
|
||||
python pygobject3 pyxdg ]
|
||||
++ stdenv.lib.optionals drmSupport [ libdrm ]
|
||||
++ stdenv.lib.optionals randrSupport [ libxcb ]
|
||||
++ stdenv.lib.optionals vidModeSupport [ libX11 libXxf86vm ];
|
||||
nativeBuildInputs = [ gettext intltool makeWrapper pkgconfig ];
|
||||
|
||||
configureFlags = [
|
||||
(mkFlag guiSupport "gui")
|
||||
(mkFlag drmSupport "drm")
|
||||
(mkFlag randrSupport "randr")
|
||||
(mkFlag vidModeSupport "vidmode")
|
||||
patches = [
|
||||
# https://github.com/jonls/redshift/pull/575
|
||||
./575.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
gettext
|
||||
intltool
|
||||
libtool
|
||||
pkgconfig
|
||||
wrapGAppsHook
|
||||
wrapPython
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
geoclue2
|
||||
gobjectIntrospection
|
||||
gtk3
|
||||
libdrm
|
||||
libxcb
|
||||
python
|
||||
];
|
||||
|
||||
pythonPath = [ pygobject3 pyxdg ];
|
||||
|
||||
preConfigure = "./bootstrap";
|
||||
postFixup = "wrapPythonPrograms";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preInstall = stdenv.lib.optionalString guiSupport ''
|
||||
substituteInPlace src/redshift-gtk/redshift-gtk \
|
||||
--replace "/usr/bin/env python3" "${python}/bin/${python.executable}"
|
||||
'';
|
||||
postInstall = stdenv.lib.optionalString guiSupport ''
|
||||
wrapProgram "$out/bin/redshift-gtk" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
||||
--prefix PYTHONPATH : "$PYTHONPATH" \
|
||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||
--prefix XDG_DATA_DIRS : "$out/share:${hicolor_icon_theme}/share"
|
||||
|
||||
install -Dm644 {.,$out/share/doc/redshift}/redshift.conf.sample
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Gradually change screen color temperature";
|
||||
description = "Screen color temperature manager";
|
||||
longDescription = ''
|
||||
The color temperature is set according to the position of the
|
||||
sun. A different color temperature is set during night and
|
||||
daytime. During twilight and early morning, the color
|
||||
temperature transitions smoothly from night to daytime
|
||||
temperature to allow your eyes to slowly adapt.
|
||||
Redshift adjusts the color temperature according to the position
|
||||
of the sun. A different color temperature is set during night and
|
||||
daytime. During twilight and early morning, the color temperature
|
||||
transitions smoothly from night to daytime temperature to allow
|
||||
your eyes to slowly adapt. At night the color temperature should
|
||||
be set to match the lamps in your room.
|
||||
'';
|
||||
license = licenses.gpl3Plus;
|
||||
homepage = http://jonls.dk/redshift;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ mornfall nckx ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{ stdenv, fetchFromGitHub, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
version = "0.16.2";
|
||||
version = "0.17.1";
|
||||
name = "toot-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ihabunek";
|
||||
repo = "toot";
|
||||
rev = "${version}";
|
||||
sha256 = "19n6rmm44y24zvkpk56vd2xmx49sn6wc5qayi1jm83jlnlbbwfh7";
|
||||
sha256 = "05fzsakm089bn03z8gip6yp4xfmwa054v40x2f3gqpl04r504gis";
|
||||
};
|
||||
|
||||
checkInputs = with python3Packages; [ pytest ];
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
{ stdenv, fetchurl, itstool, python2Packages, intltool, wrapGAppsHook
|
||||
{ stdenv, fetchurl, itstool, python3Packages, intltool, wrapGAppsHook
|
||||
, libxml2, gobjectIntrospection, gtk3, gnome3, cairo, file
|
||||
}:
|
||||
|
||||
|
||||
let
|
||||
minor = "3.16";
|
||||
version = "${minor}.4";
|
||||
inherit (python2Packages) python buildPythonApplication pycairo pygobject3;
|
||||
minor = "3.18";
|
||||
version = "${minor}.0";
|
||||
inherit (python3Packages) python buildPythonApplication pycairo pygobject3;
|
||||
in buildPythonApplication rec {
|
||||
name = "meld-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/meld/${minor}/meld-${version}.tar.xz";
|
||||
sha256 = "0rwflfkfnb9ydnk4k591x0il29d4dvz95cjs2f279blx64lgki4k";
|
||||
sha256 = "0gi2jzgsrd5q2icyp6wphbn532ddg82nxhfxlffkniy7wnqmi0c4";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -41,6 +41,8 @@ in buildPythonApplication rec {
|
|||
|
||||
pythonPath = [ gtk3 ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Visual diff and merge tool";
|
||||
homepage = http://meldmerge.org/;
|
||||
|
|
|
@ -30,6 +30,8 @@ python2Packages.buildPythonApplication rec {
|
|||
wrapPythonProgramsIn $cli "$out $pythonPath"
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Graphical tools for working with version control systems";
|
||||
homepage = http://rabbitvcs.org/;
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "i3status-rust-${version}";
|
||||
version = "0.9.0.2017-11-09";
|
||||
version = "0.9.0.2018-01-15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "greshake";
|
||||
repo = "i3status-rust";
|
||||
rev = "5daf2cdd611bed3db804d011d5d5af34b558e615";
|
||||
sha256 = "0j6h7x5mm3m7wq0if20qxc9z3qw29xgf5qb3sqwdbdpz8ykpqdgk";
|
||||
rev = "aa7bc98d945ba63358cd48c66e0261c201b999e4";
|
||||
sha256 = "1q2p53nl499yxsw0i81ryyc2ln80p8i3iii5hx7aiwfi4ybm55b1";
|
||||
};
|
||||
|
||||
cargoSha256 = "1197hp6d4z14j0r22bvw9ly294li0ivg6yfql4lgi27hbvzag71h";
|
||||
|
|
|
@ -30,8 +30,8 @@ mkDerivation {
|
|||
];
|
||||
outputs = [ "bin" "dev" "out" ];
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
''-DNIXPKGS_XWAYLAND="${lib.getBin xwayland}/bin/Xwayland"''
|
||||
CXXFLAGS = [
|
||||
''-DNIXPKGS_XWAYLAND=\"${lib.getBin xwayland}/bin/Xwayland\"''
|
||||
];
|
||||
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
|
||||
postInstall = ''
|
||||
|
|
|
@ -34,9 +34,9 @@ mkDerivation rec {
|
|||
postPatch = ''
|
||||
sed '1i#include <cmath>' -i kcms/touchpad/src/backends/x11/synapticstouchpad.cpp
|
||||
'';
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
CXXFLAGS = [
|
||||
"-I${lib.getDev xorgserver}/include/xorg"
|
||||
''-DNIXPKGS_HWCLOCK="${lib.getBin utillinux}/sbin/hwclock"''
|
||||
''-DNIXPKGS_HWCLOCK=\"${lib.getBin utillinux}/sbin/hwclock\"''
|
||||
];
|
||||
cmakeFlags = [
|
||||
"-DEvdev_INCLUDE_DIRS=${lib.getDev xf86inputevdev}/include/xorg"
|
||||
|
|
|
@ -26,13 +26,13 @@ mkDerivation {
|
|||
kactivities plasma-framework kwindowsystem libksysguard
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
''-DNIXPKGS_ENCFS="${lib.getBin encfs}/bin/encfs"''
|
||||
''-DNIXPKGS_ENCFSCTL="${lib.getBin encfs}/bin/encfsctl"''
|
||||
CXXFLAGS = [
|
||||
''-DNIXPKGS_ENCFS=\"${lib.getBin encfs}/bin/encfs\"''
|
||||
''-DNIXPKGS_ENCFSCTL=\"${lib.getBin encfs}/bin/encfsctl\"''
|
||||
|
||||
''-DNIXPKGS_CRYFS="${lib.getBin cryfs}/bin/cryfs"''
|
||||
''-DNIXPKGS_CRYFS=\"${lib.getBin cryfs}/bin/cryfs\"''
|
||||
|
||||
''-DNIXPKGS_FUSERMOUNT="${lib.getBin fuse}/bin/fusermount"''
|
||||
''-DNIXPKGS_FUSERMOUNT=\"${lib.getBin fuse}/bin/fusermount\"''
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -33,10 +33,10 @@ let
|
|||
sha256 = "03kaqbjbi6viz0n33dk5jlf6ayxqlsq4804n7kwkndiga9s4hd42";
|
||||
};
|
||||
|
||||
libuvVersion = "52d72a52cc7ccd570929990f010ed16e2ec604c8";
|
||||
libuvVersion = "d8ab1c6a33e77bf155facb54215dd8798e13825d";
|
||||
libuv = fetchurl {
|
||||
url = "https://api.github.com/repos/JuliaLang/libuv/tarball/${libuvVersion}";
|
||||
sha256 = "1vldy94sfmlfqmi14126g590wi61fv78rzh7afk82zkipaixvak8";
|
||||
sha256 = "0q5ahc9dzca2yc6cjbhpfi9nwc4yhhjbgxgsychksn13d24gv7ba";
|
||||
};
|
||||
|
||||
rmathVersion = "0.1";
|
||||
|
@ -54,12 +54,12 @@ in
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "julia";
|
||||
version = "0.6.0";
|
||||
version = "0.6.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/JuliaLang/${pname}/releases/download/v${version}/${name}.tar.gz";
|
||||
sha256 = "19xk2cs43lnsy9y0d8wmxj7ich908ipb40vkf7xg9031x272brxw";
|
||||
sha256 = "0ym4n9vn6w8vj175mmsc2nzvdk2ij0cdrs44lkr3p0signji73b5";
|
||||
};
|
||||
prePatch = ''
|
||||
mkdir deps/srccache
|
||||
|
|
|
@ -9,6 +9,7 @@ let
|
|||
hashes = {
|
||||
i686-unknown-linux-gnu = "b7caed0f602cdb8ef22e0bfa9125a65bec411e15c0b8901d937e43303ec7dbee";
|
||||
x86_64-unknown-linux-gnu = "b41e70e018402bc04d02fde82f91bea24428e6be432f0df12ac400cfb03108e8";
|
||||
armv7-unknown-linux-gnueabihf = "416fa6f107ad9e386002e6af1aec495472e2ee489c842183dd429a25b07488d6";
|
||||
aarch64-unknown-linux-gnu = "491ee6c43cc672006968d665bd34c94cc2219ef3592d93d38097c97eaaa864c3";
|
||||
i686-apple-darwin = "c8b0fabeebcde66b683f3a871187e614e07305adda414c2862cb332aecb2b3bf";
|
||||
x86_64-apple-darwin = "75a7f4bd7c72948030bb9e421df27e8a650dea826fb5b836cf59d23d6f985a0d";
|
||||
|
@ -19,6 +20,8 @@ let
|
|||
then "i686-unknown-linux-gnu"
|
||||
else if stdenv.system == "x86_64-linux"
|
||||
then "x86_64-unknown-linux-gnu"
|
||||
else if stdenv.system == "armv7l-linux"
|
||||
then "armv7-unknown-linux-gnueabihf"
|
||||
else if stdenv.system == "aarch64-linux"
|
||||
then "aarch64-unknown-linux-gnu"
|
||||
else if stdenv.system == "i686-darwin"
|
||||
|
|
|
@ -10,6 +10,7 @@ set -euo pipefail
|
|||
PLATFORMS=(
|
||||
i686-unknown-linux-gnu
|
||||
x86_64-unknown-linux-gnu
|
||||
armv7-unknown-linux-gnueabihf
|
||||
aarch64-unknown-linux-gnu
|
||||
i686-apple-darwin
|
||||
x86_64-apple-darwin
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, unzip, cmake, openexr, hdf5 }:
|
||||
{ stdenv, fetchFromGitHub, unzip, cmake, openexr, hdf5-threadsafe }:
|
||||
|
||||
stdenv.mkDerivation rec
|
||||
{
|
||||
|
@ -14,7 +14,8 @@ stdenv.mkDerivation rec
|
|||
|
||||
outputs = [ "bin" "dev" "out" "lib" ];
|
||||
|
||||
buildInputs = [ unzip cmake openexr hdf5 ];
|
||||
nativeBuildInputs = [ unzip cmake ];
|
||||
buildInputs = [ openexr hdf5-threadsafe ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -12,5 +12,5 @@ mkDerivation {
|
|||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ karchive openexr qtbase ];
|
||||
outputs = [ "out" ]; # plugins only
|
||||
NIX_CFLAGS_COMPILE = "-I${getDev ilmbase}/include/OpenEXR";
|
||||
CXXFLAGS = "-I${getDev ilmbase}/include/OpenEXR";
|
||||
}
|
||||
|
|
|
@ -14,10 +14,10 @@ mkDerivation {
|
|||
kconfig kcrash ki18n kio kservice kwindowsystem
|
||||
];
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
''-DNIXPKGS_KF5_KIOCORE="${getLib kio}/lib/libKF5KIOCore.so.5"''
|
||||
''-DNIXPKGS_KF5_PARTS="${getLib kparts}/lib/libKF5Parts.so.5"''
|
||||
''-DNIXPKGS_KF5_PLASMA="${getLib plasma-framework}/lib/libKF5Plasma.so.5"''
|
||||
CXXFLAGS = [
|
||||
''-DNIXPKGS_KF5_KIOCORE=\"${getLib kio}/lib/libKF5KIOCore.so.5\"''
|
||||
''-DNIXPKGS_KF5_PARTS=\"${getLib kparts}/lib/libKF5Parts.so.5\"''
|
||||
''-DNIXPKGS_KF5_PLASMA=\"${getLib plasma-framework}/lib/libKF5Plasma.so.5\"''
|
||||
];
|
||||
postFixup = ''
|
||||
moveToOutput "lib/libexec/kf5/start_kdeinit" "$bin"
|
||||
|
|
|
@ -499,11 +499,11 @@
|
|||
};
|
||||
};
|
||||
kwidgetsaddons = {
|
||||
version = "5.42.0";
|
||||
version = "5.42.1";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/stable/frameworks/5.42/kwidgetsaddons-5.42.0.tar.xz";
|
||||
sha256 = "19fhcscc0irznqmjpi57sl22vrv2lcmqbhkcg2smimgd0r7pm7wg";
|
||||
name = "kwidgetsaddons-5.42.0.tar.xz";
|
||||
url = "${mirror}/stable/frameworks/5.42/kwidgetsaddons-5.42.1.tar.xz";
|
||||
sha256 = "0h0vfrfl5zi01fpvmd825kazzlyawz3i66qrfkymdrnvqmfzcmlg";
|
||||
name = "kwidgetsaddons-5.42.1.tar.xz";
|
||||
};
|
||||
};
|
||||
kwindowsystem = {
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ stdenv, fetchurl, pkgconfig, libmnl, libnfnetlink }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libnetfilter_queue-1.0.2";
|
||||
version = "1.0.3";
|
||||
name = "libnetfilter_queue-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.netfilter.org/pub/libnetfilter_queue/${name}.tar.bz2";
|
||||
sha256 = "0chsmj9ky80068vn458ijz9sh4sk5yc08dw2d6b8yddybpmr1143";
|
||||
url = "https://www.netfilter.org/projects/libnetfilter_queue/files/${name}.tar.bz2";
|
||||
sha256 = "0x77m1fvbqzz5z64jz59fb6j8dvv8b9pg4fmznqwax4x6imjcncq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
|
124
pkgs/development/libraries/qt-5/5.10/default.nix
Normal file
124
pkgs/development/libraries/qt-5/5.10/default.nix
Normal file
|
@ -0,0 +1,124 @@
|
|||
/*
|
||||
|
||||
# Updates
|
||||
|
||||
Before a major version update, make a copy of this directory. (We like to
|
||||
keep the old version around for a short time after major updates.) Add a
|
||||
top-level attribute to `top-level/all-packages.nix`.
|
||||
|
||||
1. Update the URL in `pkgs/development/libraries/qt-5/$VERSION/fetch.sh`.
|
||||
2. From the top of the Nixpkgs tree, run
|
||||
`./maintainers/scripts/fetch-kde-qt.sh > pkgs/development/libraries/qt-5/$VERSION/srcs.nix`.
|
||||
3. Update `qtCompatVersion` below if the minor version number changes.
|
||||
4. Check that the new packages build correctly.
|
||||
5. Commit the changes and open a pull request.
|
||||
|
||||
*/
|
||||
|
||||
{
|
||||
newScope,
|
||||
stdenv, fetchurl, makeSetupHook, makeWrapper,
|
||||
bison, cups ? null, harfbuzz, mesa, perl,
|
||||
gstreamer, gst-plugins-base, gtk3, dconf,
|
||||
|
||||
# options
|
||||
developerBuild ? false,
|
||||
decryptSslTraffic ? false,
|
||||
debug ? null,
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
|
||||
qtCompatVersion = "5.10";
|
||||
|
||||
mirror = "http://download.qt.io";
|
||||
srcs = import ./srcs.nix { inherit fetchurl; inherit mirror; };
|
||||
|
||||
patches = {
|
||||
qtbase = [ ./qtbase.patch ];
|
||||
qtdeclarative = [ ./qtdeclarative.patch ];
|
||||
qtscript = [ ./qtscript.patch ];
|
||||
qtserialport = [ ./qtserialport.patch ];
|
||||
qttools = [ ./qttools.patch ];
|
||||
qtwebengine = optional stdenv.needsPax ./qtwebengine-paxmark-mksnapshot.patch;
|
||||
qtwebkit = [ ./qtwebkit.patch ];
|
||||
};
|
||||
|
||||
mkDerivation =
|
||||
import ../mkDerivation.nix
|
||||
{ inherit stdenv; inherit (stdenv) lib; }
|
||||
{ inherit debug; };
|
||||
|
||||
qtModule =
|
||||
import ../qtModule.nix
|
||||
{ inherit mkDerivation perl; inherit (stdenv) lib; }
|
||||
{ inherit self srcs patches; };
|
||||
|
||||
addPackages = self: with self;
|
||||
let
|
||||
callPackage = self.newScope { inherit qtCompatVersion qtModule srcs; };
|
||||
in {
|
||||
|
||||
inherit mkDerivation;
|
||||
|
||||
qtbase = callPackage ../modules/qtbase.nix {
|
||||
inherit (srcs.qtbase) src version;
|
||||
patches = patches.qtbase;
|
||||
inherit bison cups harfbuzz mesa;
|
||||
withGtk3 = true; inherit dconf gtk3;
|
||||
inherit developerBuild decryptSslTraffic;
|
||||
};
|
||||
|
||||
qtcharts = callPackage ../modules/qtcharts.nix {};
|
||||
qtconnectivity = callPackage ../modules/qtconnectivity.nix {};
|
||||
qtdeclarative = callPackage ../modules/qtdeclarative.nix {};
|
||||
qtdoc = callPackage ../modules/qtdoc.nix {};
|
||||
qtgraphicaleffects = callPackage ../modules/qtgraphicaleffects.nix {};
|
||||
qtimageformats = callPackage ../modules/qtimageformats.nix {};
|
||||
qtlocation = callPackage ../modules/qtlocation.nix {};
|
||||
qtmacextras = callPackage ../modules/qtmacextras.nix {};
|
||||
qtmultimedia = callPackage ../modules/qtmultimedia.nix {
|
||||
inherit gstreamer gst-plugins-base;
|
||||
};
|
||||
qtquick1 = null;
|
||||
qtquickcontrols = callPackage ../modules/qtquickcontrols.nix {};
|
||||
qtquickcontrols2 = callPackage ../modules/qtquickcontrols2.nix {};
|
||||
qtscript = callPackage ../modules/qtscript.nix {};
|
||||
qtsensors = callPackage ../modules/qtsensors.nix {};
|
||||
qtserialport = callPackage ../modules/qtserialport.nix {};
|
||||
qtsvg = callPackage ../modules/qtsvg.nix {};
|
||||
qttools = callPackage ../modules/qttools.nix {};
|
||||
qttranslations = callPackage ../modules/qttranslations.nix {};
|
||||
qtvirtualkeyboard = callPackage ../modules/qtvirtualkeyboard.nix {};
|
||||
qtwayland = callPackage ../modules/qtwayland.nix {};
|
||||
qtwebchannel = callPackage ../modules/qtwebchannel.nix {};
|
||||
qtwebengine = callPackage ../modules/qtwebengine.nix {};
|
||||
qtwebkit = callPackage ../modules/qtwebkit.nix {};
|
||||
qtwebsockets = callPackage ../modules/qtwebsockets.nix {};
|
||||
qtx11extras = callPackage ../modules/qtx11extras.nix {};
|
||||
qtxmlpatterns = callPackage ../modules/qtxmlpatterns.nix {};
|
||||
|
||||
env = callPackage ../qt-env.nix {};
|
||||
full = env "qt-${qtbase.version}" ([
|
||||
qtcharts qtconnectivity qtdeclarative qtdoc qtgraphicaleffects
|
||||
qtimageformats qtlocation qtmultimedia qtquickcontrols qtscript
|
||||
qtsensors qtserialport qtsvg qttools qttranslations qtwebsockets
|
||||
qtx11extras qtxmlpatterns
|
||||
] ++ optional (!stdenv.isDarwin) qtwayland
|
||||
++ optional (stdenv.isDarwin) qtmacextras);
|
||||
|
||||
qmake = makeSetupHook {
|
||||
deps = [ self.qtbase.dev ];
|
||||
substitutions = {
|
||||
inherit (stdenv) isDarwin;
|
||||
qtbase_dev = self.qtbase.dev;
|
||||
fix_qt_builtin_paths = ../hooks/fix-qt-builtin-paths.sh;
|
||||
};
|
||||
} ../hooks/qmake-hook.sh;
|
||||
};
|
||||
|
||||
self = makeScope newScope addPackages;
|
||||
|
||||
in self
|
2
pkgs/development/libraries/qt-5/5.10/fetch.sh
Normal file
2
pkgs/development/libraries/qt-5/5.10/fetch.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
WGET_ARGS=( http://download.qt.io/official_releases/qt/5.10/5.10.0/submodules/ \
|
||||
-A '*.tar.xz' )
|
1119
pkgs/development/libraries/qt-5/5.10/qtbase.patch
Normal file
1119
pkgs/development/libraries/qt-5/5.10/qtbase.patch
Normal file
File diff suppressed because it is too large
Load diff
33
pkgs/development/libraries/qt-5/5.10/qtdeclarative.patch
Normal file
33
pkgs/development/libraries/qt-5/5.10/qtdeclarative.patch
Normal file
|
@ -0,0 +1,33 @@
|
|||
diff --git a/src/qml/qml/qqmlimport.cpp b/src/qml/qml/qqmlimport.cpp
|
||||
index a7cafa1a9..e17ffd35b 100644
|
||||
--- a/src/qml/qml/qqmlimport.cpp
|
||||
+++ b/src/qml/qml/qqmlimport.cpp
|
||||
@@ -1737,6 +1737,15 @@ QQmlImportDatabase::QQmlImportDatabase(QQmlEngine *e)
|
||||
QString installImportsPath = QLibraryInfo::location(QLibraryInfo::Qml2ImportsPath);
|
||||
addImportPath(installImportsPath);
|
||||
|
||||
+ // Add import paths derived from PATH
|
||||
+ const QStringList paths = QFile::decodeName(qgetenv("PATH")).split(':');
|
||||
+ const QString qmldir = QStringLiteral("../" NIXPKGS_QML2_IMPORT_PREFIX);
|
||||
+ for (const QString &path: paths) {
|
||||
+ if (!path.isEmpty()) {
|
||||
+ addImportPath(QDir::cleanPath(path + QDir::separator() + qmldir));
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
// env import paths
|
||||
if (Q_UNLIKELY(!qEnvironmentVariableIsEmpty("QML2_IMPORT_PATH"))) {
|
||||
const QString envImportPath = qEnvironmentVariable("QML2_IMPORT_PATH");
|
||||
diff --git a/tools/qmlcachegen/qmlcache.prf b/tools/qmlcachegen/qmlcache.prf
|
||||
index 330da358b..cdf570205 100644
|
||||
--- a/tools/qmlcachegen/qmlcache.prf
|
||||
+++ b/tools/qmlcachegen/qmlcache.prf
|
||||
@@ -44,7 +44,7 @@ defineReplace(qmlCacheOutputFileName) {
|
||||
}
|
||||
|
||||
qmlcacheinst.base = $$QMLCACHE_DESTDIR
|
||||
-qmlcacheinst.path = $$[QT_INSTALL_QML]/$$TARGETPATH
|
||||
+qmlcacheinst.path = $$NIX_OUTPUT_QML/$$TARGETPATH
|
||||
qmlcacheinst.CONFIG = no_check_exist
|
||||
|
||||
qmlcachegen.input = CACHEGEN_FILES
|
13
pkgs/development/libraries/qt-5/5.10/qtscript.patch
Normal file
13
pkgs/development/libraries/qt-5/5.10/qtscript.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
|
||||
index 1f6d25e..087c3fb 100644
|
||||
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
|
||||
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
|
||||
@@ -81,7 +81,7 @@
|
||||
#include <pthread.h>
|
||||
#elif PLATFORM(GTK)
|
||||
#include <wtf/gtk/GOwnPtr.h>
|
||||
-typedef struct _GMutex GMutex;
|
||||
+typedef union _GMutex GMutex;
|
||||
typedef struct _GCond GCond;
|
||||
#endif
|
||||
|
22
pkgs/development/libraries/qt-5/5.10/qtserialport.patch
Normal file
22
pkgs/development/libraries/qt-5/5.10/qtserialport.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
diff --git a/src/serialport/qtudev_p.h b/src/serialport/qtudev_p.h
|
||||
index af2dab2..8e17f64 100644
|
||||
--- a/src/serialport/qtudev_p.h
|
||||
+++ b/src/serialport/qtudev_p.h
|
||||
@@ -111,9 +111,17 @@ inline QFunctionPointer resolveSymbol(QLibrary *udevLibrary, const char *symbolN
|
||||
inline bool resolveSymbols(QLibrary *udevLibrary)
|
||||
{
|
||||
if (!udevLibrary->isLoaded()) {
|
||||
+#ifdef NIXPKGS_LIBUDEV
|
||||
+ udevLibrary->setFileNameAndVersion(QLatin1String(NIXPKGS_LIBUDEV), 1);
|
||||
+#else
|
||||
udevLibrary->setFileNameAndVersion(QStringLiteral("udev"), 1);
|
||||
+#endif
|
||||
if (!udevLibrary->load()) {
|
||||
+#ifdef NIXPKGS_LIBUDEV
|
||||
+ udevLibrary->setFileNameAndVersion(QLatin1String(NIXPKGS_LIBUDEV), 0);
|
||||
+#else
|
||||
udevLibrary->setFileNameAndVersion(QStringLiteral("udev"), 0);
|
||||
+#endif
|
||||
if (!udevLibrary->load()) {
|
||||
qWarning("Failed to load the library: %s, supported version(s): %i and %i", qPrintable(udevLibrary->fileName()), 1, 0);
|
||||
return false;
|
71
pkgs/development/libraries/qt-5/5.10/qttools.patch
Normal file
71
pkgs/development/libraries/qt-5/5.10/qttools.patch
Normal file
|
@ -0,0 +1,71 @@
|
|||
diff --git a/src/assistant/help/Qt5HelpConfigExtras.cmake.in b/src/assistant/help/Qt5HelpConfigExtras.cmake.in
|
||||
index 3b97923a..63336bd5 100644
|
||||
--- a/src/assistant/help/Qt5HelpConfigExtras.cmake.in
|
||||
+++ b/src/assistant/help/Qt5HelpConfigExtras.cmake.in
|
||||
@@ -2,11 +2,10 @@
|
||||
if (NOT TARGET Qt5::qcollectiongenerator)
|
||||
add_executable(Qt5::qcollectiongenerator IMPORTED)
|
||||
|
||||
-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
||||
- set(imported_location \"${_qt5Help_install_prefix}/$${CMAKE_BIN_DIR}qcollectiongenerator$$CMAKE_BIN_SUFFIX\")
|
||||
-!!ELSE
|
||||
set(imported_location \"$${CMAKE_BIN_DIR}qcollectiongenerator$$CMAKE_BIN_SUFFIX\")
|
||||
-!!ENDIF
|
||||
+ if(NOT EXISTS \"${imported_location}\")
|
||||
+ set(imported_location \"$${CMAKE_BIN_DIR}qcollectiongenerator$$CMAKE_BIN_SUFFIX\")
|
||||
+ endif()
|
||||
_qt5_Help_check_file_exists(${imported_location})
|
||||
|
||||
set_target_properties(Qt5::qcollectiongenerator PROPERTIES
|
||||
@@ -17,11 +16,7 @@ endif()
|
||||
if (NOT TARGET Qt5::qhelpgenerator)
|
||||
add_executable(Qt5::qhelpgenerator IMPORTED)
|
||||
|
||||
-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
||||
- set(imported_location \"${_qt5Help_install_prefix}/$${CMAKE_BIN_DIR}qhelpgenerator$$CMAKE_BIN_SUFFIX\")
|
||||
-!!ELSE
|
||||
set(imported_location \"$${CMAKE_BIN_DIR}qhelpgenerator$$CMAKE_BIN_SUFFIX\")
|
||||
-!!ENDIF
|
||||
_qt5_Help_check_file_exists(${imported_location})
|
||||
|
||||
set_target_properties(Qt5::qhelpgenerator PROPERTIES
|
||||
diff --git a/src/linguist/Qt5LinguistToolsConfig.cmake.in b/src/linguist/Qt5LinguistToolsConfig.cmake.in
|
||||
index 4318b16f..d60db4ff 100644
|
||||
--- a/src/linguist/Qt5LinguistToolsConfig.cmake.in
|
||||
+++ b/src/linguist/Qt5LinguistToolsConfig.cmake.in
|
||||
@@ -44,11 +44,7 @@ endmacro()
|
||||
if (NOT TARGET Qt5::lrelease)
|
||||
add_executable(Qt5::lrelease IMPORTED)
|
||||
|
||||
-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
||||
- set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lrelease$$CMAKE_BIN_SUFFIX\")
|
||||
-!!ELSE
|
||||
set(imported_location \"$${CMAKE_BIN_DIR}lrelease$$CMAKE_BIN_SUFFIX\")
|
||||
-!!ENDIF
|
||||
_qt5_LinguistTools_check_file_exists(${imported_location})
|
||||
|
||||
set_target_properties(Qt5::lrelease PROPERTIES
|
||||
@@ -59,11 +55,7 @@ endif()
|
||||
if (NOT TARGET Qt5::lupdate)
|
||||
add_executable(Qt5::lupdate IMPORTED)
|
||||
|
||||
-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
||||
- set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lupdate$$CMAKE_BIN_SUFFIX\")
|
||||
-!!ELSE
|
||||
set(imported_location \"$${CMAKE_BIN_DIR}lupdate$$CMAKE_BIN_SUFFIX\")
|
||||
-!!ENDIF
|
||||
_qt5_LinguistTools_check_file_exists(${imported_location})
|
||||
|
||||
set_target_properties(Qt5::lupdate PROPERTIES
|
||||
@@ -74,11 +66,7 @@ endif()
|
||||
if (NOT TARGET Qt5::lconvert)
|
||||
add_executable(Qt5::lconvert IMPORTED)
|
||||
|
||||
-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
||||
- set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lconvert$$CMAKE_BIN_SUFFIX\")
|
||||
-!!ELSE
|
||||
set(imported_location \"$${CMAKE_BIN_DIR}lconvert$$CMAKE_BIN_SUFFIX\")
|
||||
-!!ENDIF
|
||||
_qt5_LinguistTools_check_file_exists(${imported_location})
|
||||
|
||||
set_target_properties(Qt5::lconvert PROPERTIES
|
|
@ -0,0 +1,48 @@
|
|||
diff --git a/src/3rdparty/chromium/v8/src/v8.gyp b/chromium/v8/src/v8.gyp
|
||||
index e7e19f5059..934448c7d8 100644
|
||||
--- a/src/3rdparty/chromium/v8/src/v8.gyp
|
||||
+++ b/src/3rdparty/chromium/v8/src/v8.gyp
|
||||
@@ -35,6 +35,7 @@
|
||||
'v8_extra_library_files%': [],
|
||||
'v8_experimental_extra_library_files%': [],
|
||||
'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
|
||||
+ 'mksnapshot_u_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot_u<(EXECUTABLE_SUFFIX)',
|
||||
'v8_os_page_size%': 0,
|
||||
},
|
||||
'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi', 'inspector/inspector.gypi'],
|
||||
@@ -2576,7 +2577,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
- 'target_name': 'mksnapshot',
|
||||
+ 'target_name': 'mksnapshot_u',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'v8_base',
|
||||
@@ -2606,5 +2607,26 @@
|
||||
}],
|
||||
],
|
||||
},
|
||||
+ {
|
||||
+ 'target_name': 'mksnapshot',
|
||||
+ 'type': 'executable',
|
||||
+ 'dependencies': ['mksnapshot_u'],
|
||||
+ 'actions': [
|
||||
+ {
|
||||
+ 'action_name': 'paxmark_m_mksnapshot',
|
||||
+ 'inputs': [
|
||||
+ '<(mksnapshot_u_exec)',
|
||||
+ ],
|
||||
+ 'outputs': [
|
||||
+ '<(mksnapshot_exec)',
|
||||
+ ],
|
||||
+ 'action': [
|
||||
+ 'sh',
|
||||
+ '-c',
|
||||
+ 'cp <(mksnapshot_u_exec) <(mksnapshot_exec) && paxctl -czexm <(mksnapshot_exec)',
|
||||
+ ],
|
||||
+ },
|
||||
+ ],
|
||||
+ },
|
||||
],
|
||||
}
|
77
pkgs/development/libraries/qt-5/5.10/qtwebkit.patch
Normal file
77
pkgs/development/libraries/qt-5/5.10/qtwebkit.patch
Normal file
|
@ -0,0 +1,77 @@
|
|||
diff --git a/Source/WTF/WTF.pri b/Source/WTF/WTF.pri
|
||||
index 69e4cd1f3..3f729a75e 100644
|
||||
--- a/Source/WTF/WTF.pri
|
||||
+++ b/Source/WTF/WTF.pri
|
||||
@@ -12,7 +12,7 @@ mac {
|
||||
# Mac OS does ship libicu but not the associated header files.
|
||||
# Therefore WebKit provides adequate header files.
|
||||
INCLUDEPATH = $${ROOT_WEBKIT_DIR}/Source/WTF/icu $$INCLUDEPATH
|
||||
- LIBS += -licucore
|
||||
+ LIBS += /usr/lib/libicucore.dylib
|
||||
} else:!use?(wchar_unicode): {
|
||||
win32 {
|
||||
CONFIG(static, static|shared) {
|
||||
diff --git a/Source/WebCore/plugins/qt/PluginPackageQt.cpp b/Source/WebCore/plugins/qt/PluginPackageQt.cpp
|
||||
index a923d49aa..46772a4bb 100644
|
||||
--- a/Source/WebCore/plugins/qt/PluginPackageQt.cpp
|
||||
+++ b/Source/WebCore/plugins/qt/PluginPackageQt.cpp
|
||||
@@ -136,7 +136,11 @@ static void initializeGtk(QLibrary* module = 0)
|
||||
}
|
||||
}
|
||||
|
||||
+#ifdef NIXPKGS_LIBGTK2
|
||||
+ QLibrary library(QLatin1String(NIXPKGS_LIBGTK2), 0);
|
||||
+#else
|
||||
QLibrary library(QLatin1String("libgtk-x11-2.0"), 0);
|
||||
+#endif
|
||||
if (library.load()) {
|
||||
typedef void *(*gtk_init_check_ptr)(int*, char***);
|
||||
gtk_init_check_ptr gtkInitCheck = (gtk_init_check_ptr)library.resolve("gtk_init_check");
|
||||
diff --git a/Source/WebCore/plugins/qt/PluginViewQt.cpp b/Source/WebCore/plugins/qt/PluginViewQt.cpp
|
||||
index de06a2fea..86fe39ef1 100644
|
||||
--- a/Source/WebCore/plugins/qt/PluginViewQt.cpp
|
||||
+++ b/Source/WebCore/plugins/qt/PluginViewQt.cpp
|
||||
@@ -697,7 +697,11 @@ static Display *getPluginDisplay()
|
||||
// support gdk based plugins (like flash) that use a different X connection.
|
||||
// The code below has the same effect as this one:
|
||||
// Display *gdkDisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
|
||||
+#ifdef NIXPKGS_LIBGDK2
|
||||
+ QLibrary library(QLatin1String(NIXPKGS_LIBGDK2), 0);
|
||||
+#else
|
||||
QLibrary library(QLatin1String("libgdk-x11-2.0"), 0);
|
||||
+#endif
|
||||
if (!library.load())
|
||||
return 0;
|
||||
|
||||
diff --git a/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp b/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
|
||||
index 8de65216b..38f5c05e5 100644
|
||||
--- a/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
|
||||
+++ b/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
|
||||
@@ -53,7 +53,11 @@ static void messageHandler(QtMsgType type, const QMessageLogContext&, const QStr
|
||||
|
||||
static bool initializeGtk()
|
||||
{
|
||||
+#ifdef NIXPKGS_LIBGTK2
|
||||
+ QLibrary gtkLibrary(QLatin1String(NIXPKGS_LIBGTK2), 0);
|
||||
+#else
|
||||
QLibrary gtkLibrary(QLatin1String("libgtk-x11-2.0"), 0);
|
||||
+#endif
|
||||
if (!gtkLibrary.load())
|
||||
return false;
|
||||
typedef void* (*gtk_init_ptr)(void*, void*);
|
||||
diff --git a/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp b/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
|
||||
index d734ff684..0f6ff63d1 100644
|
||||
--- a/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
|
||||
+++ b/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
|
||||
@@ -64,7 +64,11 @@ static Display* getPluginDisplay()
|
||||
// The code below has the same effect as this one:
|
||||
// Display *gdkDisplay = gdk_x11_display_get_xdisplay(gdk_display_get_default());
|
||||
|
||||
+#ifdef NIXPKGS_LIBGDK2
|
||||
+ QLibrary library(QLatin1String(NIXPKGS_LIBGDK2), 0);
|
||||
+#else
|
||||
QLibrary library(QLatin1String("libgdk-x11-2.0"), 0);
|
||||
+#endif
|
||||
if (!library.load())
|
||||
return 0;
|
||||
|
341
pkgs/development/libraries/qt-5/5.10/srcs.nix
Normal file
341
pkgs/development/libraries/qt-5/5.10/srcs.nix
Normal file
|
@ -0,0 +1,341 @@
|
|||
# DO NOT EDIT! This file is generated automatically by fetch-kde-qt.sh
|
||||
{ fetchurl, mirror }:
|
||||
|
||||
{
|
||||
qt3d = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qt3d-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1arlplfpqdk0qki7bs1pp16y9cwa0awn071p551jg4y74xr7wi8j";
|
||||
name = "qt3d-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtactiveqt = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtactiveqt-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "0x6nbi5hlbr1pncbd8zzkwmqi04gcy64q3bjy5w45rg6zws41mzr";
|
||||
name = "qtactiveqt-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtandroidextras = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtandroidextras-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1ifb49px86abaf4znmlis9wyyxq132nlgj3fyqppbx1sranikygk";
|
||||
name = "qtandroidextras-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtbase = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtbase-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "0qpp56cbw1sfz5ayhj2mskb07cl6jd1ijayg29y624qa6b6phmgx";
|
||||
name = "qtbase-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtcanvas3d = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtcanvas3d-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "11r98mdxy833kcnywlsjrfaqhax7m3b6yhb56072qvr30rpn52fj";
|
||||
name = "qtcanvas3d-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtcharts = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtcharts-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1vri3f7wyg84w6j84452g8h2p7sk7k01r0xszpn4klv7hi52rkhj";
|
||||
name = "qtcharts-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtconnectivity = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtconnectivity-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "19k9n6gzrbg0sbgyhhcl5gv0d4b2gjwmz5966gn6b424fblf4grf";
|
||||
name = "qtconnectivity-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtdatavis3d = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtdatavis3d-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "06363x449k7wkqrd7c0y6b5vqlpwssnkl0g5s1bhp8lkl3bw81lj";
|
||||
name = "qtdatavis3d-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtdeclarative = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtdeclarative-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "07kicxzbwiqwkg1x2k6447rwzvzn31cv1yyggc1m8r84lny4vjsw";
|
||||
name = "qtdeclarative-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtdoc = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtdoc-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "01z4ikqrnnx9mzf5pvk4i2lqks4xai32fs9qqbqnsp0qrrcb1jfn";
|
||||
name = "qtdoc-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtgamepad = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtgamepad-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1rl77rsfgs69cdv75nfjp9w66mndwi211wix5cwl46d7i3wm0xak";
|
||||
name = "qtgamepad-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtgraphicaleffects = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtgraphicaleffects-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "0c2y0ixxncn5xslpxciigq1gfaxd3n7wkcf14k4iy5i15w8nkfcp";
|
||||
name = "qtgraphicaleffects-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtimageformats = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtimageformats-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1z7lnw85apzf6ph3dgnbb6py17qzpgww92kz31n6vbv5z62bigwi";
|
||||
name = "qtimageformats-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtlocation = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtlocation-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1iw5m9v5p6l6mivjvj7g1macpqf2n21mg4wg0hza36dwrz3wwkfq";
|
||||
name = "qtlocation-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtmacextras = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtmacextras-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "08n8na36j9c15hvicqfs7h915m2av5xd5v0azf7660z0q9lk9zb3";
|
||||
name = "qtmacextras-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtmultimedia = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtmultimedia-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "0vw0i5jgn4q63g5ijwwrb6835qdaxcw7sfcjffbqfbdwqgyk70q0";
|
||||
name = "qtmultimedia-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtnetworkauth = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtnetworkauth-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1lnqi1qpy9j5pi2lcmdihf81lspxv6hgdg5jmbqqdqxwzblgpnpc";
|
||||
name = "qtnetworkauth-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtpurchasing = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtpurchasing-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "0mkxslc8qc6sclpngllby3bb86qq5csrsz0xrc14nwmbkhwksxwc";
|
||||
name = "qtpurchasing-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtquickcontrols = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtquickcontrols-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "0ab19raip9828br21qqaglr4y0kqmxix882r13sfxlnm4ivyycx1";
|
||||
name = "qtquickcontrols-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtquickcontrols2 = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtquickcontrols2-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "18d1b5aivaqgs1px61glkyclkky60xd7yzy1vwa1f89sg8j711w1";
|
||||
name = "qtquickcontrols2-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtremoteobjects = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtremoteobjects-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "01bf1ykqxb4d8wz58vxy15yj4jsaqhi258k05dhy7ygdvfgscdnz";
|
||||
name = "qtremoteobjects-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtscript = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtscript-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1z6a14x9yj0p2znc0vny8y4zkdvm5fp42rnisnf9rynakkqg5wkc";
|
||||
name = "qtscript-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtscxml = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtscxml-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "142qysd5s706r62gap62s89xm7334i1ys29dqsp09av9n7b1kfsb";
|
||||
name = "qtscxml-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtsensors = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtsensors-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "0w9rzqc0hva4521i5j298lrsvys3jqddmqd80cxj9nsvnapwb66d";
|
||||
name = "qtsensors-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtserialbus = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtserialbus-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "06rr0191zy5yxqzxiv0c6dvshncjg8kdc33lszk41pajv624fn9z";
|
||||
name = "qtserialbus-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtserialport = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtserialport-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "0mqlhdp20jl6agv58mszznsikmi1dflhalkpfbgpiafjzzczx075";
|
||||
name = "qtserialport-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtspeech = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtspeech-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1hashidb33f1215f0azjby1lh8iw7v2bvxp08mqvdk02jld9w5br";
|
||||
name = "qtspeech-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtsvg = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtsvg-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1c77wnpzjz4wwic5if876y5v1n44v2g2nhjmcs25cc8awz5afaja";
|
||||
name = "qtsvg-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qttools = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qttools-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "0cpybii2yznk6gwaa2cz83rk3cpzzm6l4wvn4n2xwdbrgdsdrx8z";
|
||||
name = "qttools-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qttranslations = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qttranslations-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1gmrisf08nsrni7fyjlz5ggfgfzzkjpq3g7l2hc6vq5g04vbskgc";
|
||||
name = "qttranslations-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtvirtualkeyboard = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtvirtualkeyboard-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "0mqb9sgvq7djd2lz4q4p6p9f0c23cfhk447zx4axvv1mldjxsb9c";
|
||||
name = "qtvirtualkeyboard-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtwayland = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtwayland-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "14sb0227rzqzf5z8dz8b9nzkk5rwq6hrfxifz603iy4mdijzjmsn";
|
||||
name = "qtwayland-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtwebchannel = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtwebchannel-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "18rml5xyb9chz8wrfamsgx4z32kkjbk1rc47ynvhn49mcbf2897j";
|
||||
name = "qtwebchannel-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtwebengine = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtwebengine-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1yb7jpydxg0dwdrx0iv7i5dq4wb9ld1iff8zpjdj8yl4xy4mkgx8";
|
||||
name = "qtwebengine-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtwebglplugin = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtwebglplugin-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "0hgwb5lll3275knnj3ms04y1n0i6gph9kac2246ixmcq8sc7a2k7";
|
||||
name = "qtwebglplugin-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtwebsockets = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtwebsockets-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "00wlyhw7h2axyhinksfm912jfa3n73szxdccz5dlir8742i0zaqp";
|
||||
name = "qtwebsockets-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtwebview = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtwebview-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1955fkc7a22d7a0y2n7kz7r1md56v2s5qvyb3h68szs60zjnk3xa";
|
||||
name = "qtwebview-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtwinextras = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtwinextras-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1mx5qihmh3awqcr9k3z2chxz8273bi5ha90v7f4fqr2vk3g6w4yd";
|
||||
name = "qtwinextras-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtx11extras = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtx11extras-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "11jp0a40jqwcdq7isyip4f4mq2d58c9fx1kvg9g71m92n52ffyfb";
|
||||
name = "qtx11extras-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtxmlpatterns = {
|
||||
version = "5.10.0";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.10/5.10.0/submodules/qtxmlpatterns-everywhere-src-5.10.0.tar.xz";
|
||||
sha256 = "1hq3sbimbhaiw570d2cd84jhki0n2jw2x2s7iq92m53y4akbr2mh";
|
||||
name = "qtxmlpatterns-everywhere-src-5.10.0.tar.xz";
|
||||
};
|
||||
};
|
||||
qtwebkit = {
|
||||
version = "5.9.1";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.9/5.9.1/submodules/qtwebkit-opensource-src-5.9.1.tar.xz";
|
||||
sha256 = "1ksjn1vjbfhdm4y4rg08ag4krk87ahp7qcdcpwll42l0rnz61998";
|
||||
name = "qtwebkit-opensource-src-5.9.1.tar.xz";
|
||||
};
|
||||
};
|
||||
qtwebkit-examples = {
|
||||
version = "5.9.1";
|
||||
src = fetchurl {
|
||||
url = "${mirror}/official_releases/qt/5.9/5.9.1/submodules/qtwebkit-examples-opensource-src-5.9.1.tar.xz";
|
||||
sha256 = "1l2l7ycgqql6rf4gx6sjhsqjapdhvy6vxaxssax3l938nkk4vkp4";
|
||||
name = "qtwebkit-examples-opensource-src-5.9.1.tar.xz";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf
|
||||
index 11fb52a0b1..a4cca1fdcb 100644
|
||||
index 11fb52a0b1..614fdbb046 100644
|
||||
--- a/mkspecs/features/create_cmake.prf
|
||||
+++ b/mkspecs/features/create_cmake.prf
|
||||
@@ -21,7 +21,7 @@ load(cmake_functions)
|
||||
|
@ -35,7 +35,7 @@ index 11fb52a0b1..a4cca1fdcb 100644
|
|||
- # installed in $${CMAKE_LIB_DIR}/cmake/Qt5$${CMAKE_MODULE_NAME}
|
||||
- CMAKE_RELATIVE_INSTALL_DIR = "$${CMAKE_RELATIVE_INSTALL_LIBS_DIR}../../"
|
||||
-}
|
||||
+CMAKE_LIB_DIR = $$NIX_OUTPUT_DEV/lib/
|
||||
+CMAKE_LIB_DIR = $$NIX_OUTPUT_OUT/lib/
|
||||
+CMAKE_LIB_DIR_IS_ABSOLUTE = True
|
||||
|
||||
-CMAKE_BIN_DIR = $$cmakeRelativePath($$[QT_HOST_BINS], $$[QT_INSTALL_PREFIX])
|
||||
|
@ -64,7 +64,7 @@ index 11fb52a0b1..a4cca1fdcb 100644
|
|||
- CMAKE_DLL_DIR = $$CMAKE_LIB_DIR
|
||||
- CMAKE_DLL_DIR_IS_ABSOLUTE = $$CMAKE_LIB_DIR_IS_ABSOLUTE
|
||||
-}
|
||||
+CMAKE_DLL_DIR = $$NIX_OUTPUT_DEV/lib/
|
||||
+CMAKE_DLL_DIR = $$NIX_OUTPUT_OUT/lib/
|
||||
+CMAKE_DLL_DIR_IS_ABSOLUTE = True
|
||||
|
||||
static|staticlib:CMAKE_STATIC_TYPE = true
|
||||
|
@ -628,7 +628,7 @@ index 1d947159e2..b36865fc48 100644
|
|||
|
||||
set_target_properties(Qt5::qdbusxml2cpp PROPERTIES
|
||||
diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
|
||||
index 07869efd7d..37b95d1b6b 100644
|
||||
index 07869efd7d..fb4183bada 100644
|
||||
--- a/src/gui/Qt5GuiConfigExtras.cmake.in
|
||||
+++ b/src/gui/Qt5GuiConfigExtras.cmake.in
|
||||
@@ -2,7 +2,7 @@
|
||||
|
@ -652,7 +652,7 @@ index 07869efd7d..37b95d1b6b 100644
|
|||
|
||||
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
||||
- set(imported_implib \"${_qt5Gui_install_prefix}/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
||||
+ set(imported_implib \"$$NIX_OUTPUT_DEV/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
||||
+ set(imported_implib \"$$NIX_OUTPUT_OUT/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
||||
!!ELSE
|
||||
set(imported_implib \"$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
||||
!!ENDIF
|
||||
|
@ -758,6 +758,28 @@ index 4646ced954..ff3111f393 100644
|
|||
xcursorFound = xcursorLib.load();
|
||||
}
|
||||
if (xcursorFound) {
|
||||
diff --git a/src/testlib/qtestassert.h b/src/testlib/qtestassert.h
|
||||
index ca3e02ca06..28dd73d772 100644
|
||||
--- a/src/testlib/qtestassert.h
|
||||
+++ b/src/testlib/qtestassert.h
|
||||
@@ -38,10 +38,13 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
-
|
||||
-#define QTEST_ASSERT(cond) do { if (!(cond)) qt_assert(#cond,__FILE__,__LINE__); } while (0)
|
||||
-
|
||||
-#define QTEST_ASSERT_X(cond, where, what) do { if (!(cond)) qt_assert_x(where, what,__FILE__,__LINE__); } while (0)
|
||||
+#if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS)
|
||||
+#define QTEST_ASSERT(cond) do { } while ((false) && (cond))
|
||||
+#define QTEST_ASSERT_X(cond, where, what) do { } while ((false) && (cond))
|
||||
+#else
|
||||
+#define QTEST_ASSERT(cond) do { if (!(cond)) qt_assert(#cond,__FILE__,__LINE__); } while (false)
|
||||
+#define QTEST_ASSERT_X(cond, where, what) do { if (!(cond)) qt_assert_x(where, what,__FILE__,__LINE__); } while (false)
|
||||
+#endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
diff --git a/src/widgets/Qt5WidgetsConfigExtras.cmake.in b/src/widgets/Qt5WidgetsConfigExtras.cmake.in
|
||||
index 99d87e2e46..a4eab2aa72 100644
|
||||
--- a/src/widgets/Qt5WidgetsConfigExtras.cmake.in
|
||||
|
|
|
@ -12,7 +12,7 @@ index 5208379f9a..92fe29a0ac 100644
|
|||
|
||||
QMAKE_LFLAGS_REL_RPATH =
|
||||
diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf
|
||||
index bb5083c925..da8e2cb386 100644
|
||||
index bb5083c925..77034f9bb6 100644
|
||||
--- a/mkspecs/features/create_cmake.prf
|
||||
+++ b/mkspecs/features/create_cmake.prf
|
||||
@@ -21,7 +21,7 @@ load(cmake_functions)
|
||||
|
@ -48,7 +48,7 @@ index bb5083c925..da8e2cb386 100644
|
|||
- # installed in $${CMAKE_LIB_DIR}/cmake/Qt5$${CMAKE_MODULE_NAME}
|
||||
- CMAKE_RELATIVE_INSTALL_DIR = "$${CMAKE_RELATIVE_INSTALL_LIBS_DIR}../../"
|
||||
-}
|
||||
+CMAKE_LIB_DIR = $$NIX_OUTPUT_DEV/lib/
|
||||
+CMAKE_LIB_DIR = $$NIX_OUTPUT_OUT/lib/
|
||||
+CMAKE_LIB_DIR_IS_ABSOLUTE = True
|
||||
|
||||
-CMAKE_BIN_DIR = $$cmakeRelativePath($$[QT_HOST_BINS], $$[QT_INSTALL_PREFIX])
|
||||
|
@ -77,7 +77,7 @@ index bb5083c925..da8e2cb386 100644
|
|||
- CMAKE_DLL_DIR = $$CMAKE_LIB_DIR
|
||||
- CMAKE_DLL_DIR_IS_ABSOLUTE = $$CMAKE_LIB_DIR_IS_ABSOLUTE
|
||||
-}
|
||||
+CMAKE_DLL_DIR = $$NIX_OUTPUT_DEV/lib/
|
||||
+CMAKE_DLL_DIR = $$NIX_OUTPUT_OUT/lib/
|
||||
+CMAKE_DLL_DIR_IS_ABSOLUTE = True
|
||||
|
||||
static|staticlib:CMAKE_STATIC_TYPE = true
|
||||
|
@ -432,13 +432,13 @@ index e645ba5803..a0e5c68b7e 100644
|
|||
-
|
||||
-QMAKE_XCODE_LIBRARY_SUFFIX = $$qtPlatformTargetSuffix()
|
||||
diff --git a/mkspecs/features/mac/default_pre.prf b/mkspecs/features/mac/default_pre.prf
|
||||
index 44636f2288..61ed486a76 100644
|
||||
index 44636f2288..3b01424e67 100644
|
||||
--- a/mkspecs/features/mac/default_pre.prf
|
||||
+++ b/mkspecs/features/mac/default_pre.prf
|
||||
@@ -1,56 +1,3 @@
|
||||
@@ -1,56 +1,2 @@
|
||||
CONFIG = asset_catalogs rez $$CONFIG
|
||||
load(default_pre)
|
||||
|
||||
-
|
||||
-isEmpty(QMAKE_XCODE_DEVELOPER_PATH) {
|
||||
- # Get path of Xcode's Developer directory
|
||||
- QMAKE_XCODE_DEVELOPER_PATH = $$system("/usr/bin/xcode-select --print-path 2>/dev/null")
|
||||
|
@ -493,11 +493,11 @@ index 44636f2288..61ed486a76 100644
|
|||
-# at build time, depending on the current Xcode SDK and configuration.
|
||||
-QMAKE_XCODE_LIBRARY_SUFFIX_SETTING = QT_LIBRARY_SUFFIX
|
||||
diff --git a/mkspecs/features/mac/sdk.prf b/mkspecs/features/mac/sdk.prf
|
||||
index 3f6dc076ca..8b13789179 100644
|
||||
index 3f6dc076ca..e69de29bb2 100644
|
||||
--- a/mkspecs/features/mac/sdk.prf
|
||||
+++ b/mkspecs/features/mac/sdk.prf
|
||||
@@ -1,58 +1 @@
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
-
|
||||
-isEmpty(QMAKE_MAC_SDK): \
|
||||
- error("QMAKE_MAC_SDK must be set when using CONFIG += sdk.")
|
||||
-
|
||||
|
@ -676,30 +676,18 @@ index 72dde61a40..f891a2baed 100644
|
|||
INSTALLS += inst_qch_docs
|
||||
|
||||
diff --git a/mkspecs/features/qt_example_installs.prf b/mkspecs/features/qt_example_installs.prf
|
||||
index 668669e4cd..30f7fbac41 100644
|
||||
index 668669e4cd..eb4840a0aa 100644
|
||||
--- a/mkspecs/features/qt_example_installs.prf
|
||||
+++ b/mkspecs/features/qt_example_installs.prf
|
||||
@@ -77,13 +77,13 @@ for(extra, extras): \
|
||||
# Just for Qt Creator
|
||||
OTHER_FILES += $$sourcefiles
|
||||
|
||||
-sourcefiles += \
|
||||
- $$_PRO_FILE_ $$RC_FILE $$DEF_FILE \
|
||||
- $$SOURCES $$HEADERS $$FORMS $$RESOURCES $$TRANSLATIONS \
|
||||
- $$DBUS_ADAPTORS $$DBUS_INTERFACES
|
||||
-addInstallFiles(sources.files, $$sourcefiles)
|
||||
@@ -82,7 +82,7 @@ sourcefiles += \
|
||||
$$SOURCES $$HEADERS $$FORMS $$RESOURCES $$TRANSLATIONS \
|
||||
$$DBUS_ADAPTORS $$DBUS_INTERFACES
|
||||
addInstallFiles(sources.files, $$sourcefiles)
|
||||
-sources.path = $$[QT_INSTALL_EXAMPLES]/$$probase
|
||||
-INSTALLS += sources
|
||||
+ sourcefiles += \
|
||||
+ $$_PRO_FILE_ $$RC_FILE $$DEF_FILE \
|
||||
+ $$SOURCES $$HEADERS $$FORMS $$RESOURCES $$TRANSLATIONS \
|
||||
+ $$DBUS_ADAPTORS $$DBUS_INTERFACES
|
||||
+ addInstallFiles(sources.files, $$sourcefiles)
|
||||
+ sources.path = $$NIX_OUTPUT_DEV/share/examples/$$probase
|
||||
+ INSTALLS += sources
|
||||
+sources.path = $$NIX_OUTPUT_DEV/share/examples/$$probase
|
||||
INSTALLS += sources
|
||||
|
||||
check_examples {
|
||||
srcfiles = $$sources.files
|
||||
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
|
||||
index 1903e509c8..ae7b585989 100644
|
||||
--- a/mkspecs/features/qt_functions.prf
|
||||
|
@ -952,7 +940,7 @@ index 1d947159e2..b36865fc48 100644
|
|||
|
||||
set_target_properties(Qt5::qdbusxml2cpp PROPERTIES
|
||||
diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
|
||||
index 07869efd7d..37b95d1b6b 100644
|
||||
index 07869efd7d..fb4183bada 100644
|
||||
--- a/src/gui/Qt5GuiConfigExtras.cmake.in
|
||||
+++ b/src/gui/Qt5GuiConfigExtras.cmake.in
|
||||
@@ -2,7 +2,7 @@
|
||||
|
@ -976,7 +964,7 @@ index 07869efd7d..37b95d1b6b 100644
|
|||
|
||||
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
||||
- set(imported_implib \"${_qt5Gui_install_prefix}/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
||||
+ set(imported_implib \"$$NIX_OUTPUT_DEV/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
||||
+ set(imported_implib \"$$NIX_OUTPUT_OUT/$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
||||
!!ELSE
|
||||
set(imported_implib \"$${CMAKE_LIB_DIR}${IMPLIB_LOCATION}\")
|
||||
!!ENDIF
|
||||
|
@ -1028,28 +1016,6 @@ index c92d8fc3f8..6008063bcf 100644
|
|||
{
|
||||
// specific curves requested, but not possible to set -> error
|
||||
sslContext->errorStr = msgErrorSettingEllipticCurves(QSslSocket::tr("OpenSSL version too old, need at least v1.0.2"));
|
||||
diff --git a/src/plugins/bearer/corewlan/qcorewlanengine.mm b/src/plugins/bearer/corewlan/qcorewlanengine.mm
|
||||
index 341d3bccf2..3368234c26 100644
|
||||
--- a/src/plugins/bearer/corewlan/qcorewlanengine.mm
|
||||
+++ b/src/plugins/bearer/corewlan/qcorewlanengine.mm
|
||||
@@ -287,7 +287,7 @@ void QScanThread::getUserConfigurations()
|
||||
QMacAutoReleasePool pool;
|
||||
userProfiles.clear();
|
||||
|
||||
- NSArray<NSString *> *wifiInterfaces = [CWWiFiClient interfaceNames];
|
||||
+ NSArray *wifiInterfaces = [CWWiFiClient interfaceNames];
|
||||
for (NSString *ifName in wifiInterfaces) {
|
||||
|
||||
CWInterface *wifiInterface = [[CWWiFiClient sharedWiFiClient] interfaceWithName:ifName];
|
||||
@@ -602,7 +602,7 @@ void QCoreWlanEngine::doRequestUpdate()
|
||||
|
||||
QMacAutoReleasePool pool;
|
||||
|
||||
- NSArray<NSString *> *wifiInterfaces = [CWWiFiClient interfaceNames];
|
||||
+ NSArray *wifiInterfaces = [CWWiFiClient interfaceNames];
|
||||
for (NSString *ifName in wifiInterfaces) {
|
||||
scanThread->interfaceName = QString::fromNSString(ifName);
|
||||
scanThread->start();
|
||||
diff --git a/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp b/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
|
||||
index b5a0a5bbeb..6c20305f4d 100644
|
||||
--- a/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
|
||||
|
@ -1068,19 +1034,6 @@ index b5a0a5bbeb..6c20305f4d 100644
|
|||
}
|
||||
|
||||
QString TableGenerator::findComposeFile()
|
||||
diff --git a/src/plugins/platforms/cocoa/qcocoawindow.mm b/src/plugins/platforms/cocoa/qcocoawindow.mm
|
||||
index 5cd4beb4f0..84919e6d6a 100644
|
||||
--- a/src/plugins/platforms/cocoa/qcocoawindow.mm
|
||||
+++ b/src/plugins/platforms/cocoa/qcocoawindow.mm
|
||||
@@ -320,7 +320,7 @@ static void qt_closePopups()
|
||||
+ (void)applicationActivationChanged:(NSNotification*)notification
|
||||
{
|
||||
const id sender = self;
|
||||
- NSEnumerator<NSWindow*> *windowEnumerator = nullptr;
|
||||
+ NSEnumerator *windowEnumerator = nullptr;
|
||||
NSApplication *application = [NSApplication sharedApplication];
|
||||
|
||||
#if QT_MACOS_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_12)
|
||||
diff --git a/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp b/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
|
||||
index e2e573f0e1..1c8289f81e 100644
|
||||
--- a/src/plugins/platforms/xcb/gl_integrations/xcb_glx/qglxintegration.cpp
|
||||
|
@ -1153,6 +1106,26 @@ index c4cd66c33b..b6f2691587 100644
|
|||
|
||||
return 0;
|
||||
}
|
||||
diff --git a/src/testlib/qtestassert.h b/src/testlib/qtestassert.h
|
||||
index 6498ea84ef..d821ced7fc 100644
|
||||
--- a/src/testlib/qtestassert.h
|
||||
+++ b/src/testlib/qtestassert.h
|
||||
@@ -44,10 +44,13 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
-
|
||||
+#if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS)
|
||||
+#define QTEST_ASSERT(cond) do { } while ((false) && (cond))
|
||||
+#define QTEST_ASSERT_X(cond, where, what) do { } while ((false) && (cond))
|
||||
+#else
|
||||
#define QTEST_ASSERT(cond) do { if (!(cond)) qt_assert(#cond,__FILE__,__LINE__); } while (false)
|
||||
-
|
||||
#define QTEST_ASSERT_X(cond, where, what) do { if (!(cond)) qt_assert_x(where, what,__FILE__,__LINE__); } while (false)
|
||||
+#endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
diff --git a/src/widgets/Qt5WidgetsConfigExtras.cmake.in b/src/widgets/Qt5WidgetsConfigExtras.cmake.in
|
||||
index 99d87e2e46..a4eab2aa72 100644
|
||||
--- a/src/widgets/Qt5WidgetsConfigExtras.cmake.in
|
||||
|
|
|
@ -15,8 +15,8 @@ fixQtModulePaths () {
|
|||
if grep -q '\$\$QT_MODULE_' "${pr:?}"; then
|
||||
echo "fixQtModulePaths: Fixing module paths in \`${pr:?}'..."
|
||||
sed -i "${pr:?}" \
|
||||
-e "s|\\\$\\\$QT_MODULE_LIB_BASE|$dev/lib|g" \
|
||||
-e "s|\\\$\\\$QT_MODULE_HOST_LIB_BASE|$dev/lib|g" \
|
||||
-e "s|\\\$\\\$QT_MODULE_LIB_BASE|$lib/lib|g" \
|
||||
-e "s|\\\$\\\$QT_MODULE_HOST_LIB_BASE|$lib/lib|g" \
|
||||
-e "s|\\\$\\\$QT_MODULE_INCLUDE_BASE|$dev/include|g" \
|
||||
-e "s|\\\$\\\$QT_MODULE_BIN_BASE|$dev/bin|g"
|
||||
fi
|
||||
|
@ -27,13 +27,6 @@ fixQtModulePaths () {
|
|||
echo "fixQtModulePaths: Warning: \`$dir' does not exist"
|
||||
fi
|
||||
|
||||
if [ "z$dev" != "z$lib" ]; then
|
||||
if [ -d "$lib/lib" ]; then
|
||||
mkdir -p "$dev/lib"
|
||||
lndir -silent "$lib/lib" "$dev/lib"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "z$bin" != "z$dev" ]; then
|
||||
if [ -d "$bin/bin" ]; then
|
||||
mkdir -p "$dev/bin"
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
# fixQtStaticLibs
|
||||
#
|
||||
# Usage: fixQtStaticLibs _lib_ _dev_
|
||||
#
|
||||
# Find static Qt libraries in output _lib_ and move them to the corresponding
|
||||
# path in output _dev_. Any QMake library definitions (*.prl files) are also
|
||||
# moved and library paths are patched.
|
||||
#
|
||||
fixQtStaticLibs() {
|
||||
local lib="$1"
|
||||
local dev="$2"
|
||||
|
||||
pushd "$lib"
|
||||
if [ -d "lib" ]; then
|
||||
find lib \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | \
|
||||
while read -r -d $'\0' file; do
|
||||
mkdir -p "$dev/$(dirname "$file")"
|
||||
mv "$lib/$file" "$dev/$file"
|
||||
done
|
||||
fi
|
||||
popd
|
||||
|
||||
if [ -d "$dev" ]; then
|
||||
find "$dev" -name '*.prl' | while read prl; do
|
||||
echo "fixQtStaticLibs: Fixing built-in paths in \`$prl'..."
|
||||
sed -i "$prl" \
|
||||
-e '/^QMAKE_PRL_BUILD_DIR =/d' \
|
||||
-e '/^QMAKE_PRO_INPUT =/d' \
|
||||
-e "s|-L\\\$\\\$NIX_OUTPUT_OUT/lib|-L$lib/lib -L$dev/lib|g"
|
||||
done
|
||||
fi
|
||||
}
|
|
@ -4,7 +4,6 @@ qtDocPrefix=@qtDocPrefix@
|
|||
|
||||
. @fix_qt_builtin_paths@
|
||||
. @fix_qt_module_paths@
|
||||
. @fix_qt_static_libs@
|
||||
|
||||
providesQtRuntime() {
|
||||
[ -d "$1/$qtPluginPrefix" ] || [ -d "$1/$qtQmlPrefix" ]
|
||||
|
@ -63,12 +62,3 @@ postPatchMkspecs() {
|
|||
if [ -z "$dontPatchMkspecs" ]; then
|
||||
postPhases="${postPhases}${postPhases:+ }postPatchMkspecs"
|
||||
fi
|
||||
|
||||
postMoveQtStaticLibs() {
|
||||
if [ "z${!outputLib}" != "z${!outputDev}" ]; then
|
||||
fixQtStaticLibs "${!outputLib}" "${!outputDev}"
|
||||
fi
|
||||
}
|
||||
if [ -z "$dontMoveQtStaticLibs" ]; then
|
||||
postPhases="${postPhases}${postPhases:+ }postMoveQtStaticLibs"
|
||||
fi
|
||||
|
|
|
@ -14,6 +14,8 @@ let
|
|||
++ optional (debug != null)
|
||||
(if debug then "CONFIG+=debug" else "CONFIG+=release");
|
||||
|
||||
NIX_CFLAGS_COMPILE = optional (debug != null) "-DQT_NO_DEBUG";
|
||||
|
||||
cmakeFlags =
|
||||
(args.cmakeFlags or [])
|
||||
++ [ "-DBUILD_TESTING=OFF" ]
|
||||
|
|
|
@ -93,11 +93,9 @@ stdenv.mkDerivation {
|
|||
|
||||
inherit patches;
|
||||
|
||||
fix_qt_static_libs = ../hooks/fix-qt-static-libs.sh;
|
||||
fix_qt_builtin_paths = ../hooks/fix-qt-builtin-paths.sh;
|
||||
fix_qt_module_paths = ../hooks/fix-qt-module-paths.sh;
|
||||
preHook = ''
|
||||
. "$fix_qt_static_libs"
|
||||
. "$fix_qt_builtin_paths"
|
||||
. "$fix_qt_module_paths"
|
||||
. ${../hooks/move-qt-dev-tools.sh}
|
||||
|
@ -363,11 +361,6 @@ stdenv.mkDerivation {
|
|||
fixQtBuiltinPaths "''${!outputDev}" '*.pr?'
|
||||
''
|
||||
|
||||
# Move static libraries and QMake library definitions into $dev.
|
||||
+ ''
|
||||
fixQtStaticLibs "''${!outputLib}" "''${!outputDev}"
|
||||
''
|
||||
|
||||
# Move development tools to $dev
|
||||
+ ''
|
||||
moveQtDevTools
|
||||
|
|
|
@ -1,51 +1,33 @@
|
|||
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, re, stringext, ounit
|
||||
, sexplib, ppx_sexp_conv
|
||||
, legacyVersion ? false
|
||||
, sexplib_p4
|
||||
{ stdenv, fetchurl, ocaml, findlib, jbuilder, ppx_sexp_conv, ounit
|
||||
, ppx_deriving, re, sexplib, stringext
|
||||
}:
|
||||
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "4"
|
||||
|| legacyVersion && stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||
then throw "uri${stdenv.lib.optionalString legacyVersion "_p4"} is not available for OCaml ${ocaml.version}" else
|
||||
|
||||
with
|
||||
if legacyVersion
|
||||
then {
|
||||
version = "1.9.1";
|
||||
sha256 = "0v3jxqgyi4kj92r3x83rszfpnvvzy9lyb913basch4q64yka3w85";
|
||||
} else {
|
||||
version = "1.9.2";
|
||||
sha256 = "137pg8j654x7r0d1664iy2zp3l82nki1kkh921lwdrwc5qqdl6jx";
|
||||
};
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.9.6";
|
||||
name = "ocaml${ocaml.version}-uri-${version}";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mirage/ocaml-uri/archive/v${version}.tar.gz";
|
||||
inherit sha256;
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-uri/releases/download/v${version}/uri-${version}.tbz";
|
||||
sha256 = "1m845rwd70wi4iijkrigyz939m1x84ba70hvv0d9sgk6971w4kz0";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild ounit ]
|
||||
++ stdenv.lib.optional (!legacyVersion) ppx_sexp_conv;
|
||||
propagatedBuildInputs = [ re (if legacyVersion then sexplib_p4 else sexplib) stringext ];
|
||||
unpackCmd = "tar -xjf $curSrc";
|
||||
|
||||
buildInputs = [ ocaml findlib jbuilder ppx_sexp_conv ounit ];
|
||||
propagatedBuildInputs = [ ppx_deriving re sexplib stringext ];
|
||||
|
||||
buildPhase = "jbuilder build";
|
||||
|
||||
configurePhase = "ocaml setup.ml -configure --prefix $out --enable-tests";
|
||||
buildPhase = ''
|
||||
ocaml setup.ml -build
|
||||
ocaml setup.ml -doc
|
||||
'';
|
||||
doCheck = true;
|
||||
checkPhase = "ocaml setup.ml -test";
|
||||
installPhase = "ocaml setup.ml -install";
|
||||
checkPhase = "jbuilder runtest";
|
||||
|
||||
createFindlibDestdir = true;
|
||||
inherit (jbuilder) installPhase;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/mirage/ocaml-uri;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
homepage = "https://github.com/mirage/ocaml-uri";
|
||||
description = "RFC3986 URI parsing library for OCaml";
|
||||
license = stdenv.lib.licenses.isc;
|
||||
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
||||
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
||||
|
|
51
pkgs/development/ocaml-modules/uri/legacy.nix
Normal file
51
pkgs/development/ocaml-modules/uri/legacy.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, re, stringext, ounit
|
||||
, sexplib, ppx_sexp_conv
|
||||
, legacyVersion ? false
|
||||
, sexplib_p4
|
||||
}:
|
||||
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "4"
|
||||
|| legacyVersion && stdenv.lib.versionAtLeast ocaml.version "4.03"
|
||||
then throw "uri${stdenv.lib.optionalString legacyVersion "_p4"} is not available for OCaml ${ocaml.version}" else
|
||||
|
||||
with
|
||||
if legacyVersion
|
||||
then {
|
||||
version = "1.9.1";
|
||||
sha256 = "0v3jxqgyi4kj92r3x83rszfpnvvzy9lyb913basch4q64yka3w85";
|
||||
} else {
|
||||
version = "1.9.2";
|
||||
sha256 = "137pg8j654x7r0d1664iy2zp3l82nki1kkh921lwdrwc5qqdl6jx";
|
||||
};
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-uri-${version}";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mirage/ocaml-uri/archive/v${version}.tar.gz";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild ounit ]
|
||||
++ stdenv.lib.optional (!legacyVersion) ppx_sexp_conv;
|
||||
propagatedBuildInputs = [ re (if legacyVersion then sexplib_p4 else sexplib) stringext ];
|
||||
|
||||
configurePhase = "ocaml setup.ml -configure --prefix $out --enable-tests";
|
||||
buildPhase = ''
|
||||
ocaml setup.ml -build
|
||||
ocaml setup.ml -doc
|
||||
'';
|
||||
doCheck = true;
|
||||
checkPhase = "ocaml setup.ml -test";
|
||||
installPhase = "ocaml setup.ml -install";
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/mirage/ocaml-uri;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
description = "RFC3986 URI parsing library for OCaml";
|
||||
license = stdenv.lib.licenses.isc;
|
||||
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchPypi, buildPythonPackage, isPy3k }:
|
||||
{ stdenv, fetchPypi, buildPythonPackage, python, isPy3k, glibcLocales }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aenum";
|
||||
|
@ -10,12 +10,17 @@ buildPythonPackage rec {
|
|||
sha256 = "d98bc55136d696fcf323760c3db0de489da9e41fd51283fa6f90205deb85bf6a";
|
||||
};
|
||||
|
||||
doCheck = !isPy3k;
|
||||
# The following tests fail (only in python3
|
||||
# test_convert (aenum.test.TestIntEnumConvert)
|
||||
# test_convert_value_lookup_priority (aenum.test.TestIntEnumConvert)
|
||||
# test_convert (aenum.test.TestIntEnumConvert)
|
||||
# test_convert_value_lookup_priority (aenum.test.TestIntEnumConvert)
|
||||
# For Python 3, locale has to be set to en_US.UTF-8 for
|
||||
# tests to pass
|
||||
checkInputs = if isPy3k then [ glibcLocales ] else [];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
${if isPy3k then "export LC_ALL=en_US.UTF-8" else ""}
|
||||
PYTHONPATH=`pwd` ${python.interpreter} aenum/test.py
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants";
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchPypi, buildPythonPackage, nose, six, glibcLocales, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nose-parameterized";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1khlabgib4161vn6alxsjaa8javriywgx9vydddi659gp9x6fpnk";
|
||||
};
|
||||
|
||||
# Tests require some python3-isms but code works without.
|
||||
doCheck = isPy3k;
|
||||
|
||||
buildInputs = [ nose glibcLocales ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkPhase = ''
|
||||
LC_ALL="en_US.UTF-8" nosetests -v
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Parameterized testing with any Python test framework";
|
||||
homepage = https://pypi.python.org/pypi/nose-parameterized;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
|
@ -20,8 +20,9 @@ buildPythonPackage rec {
|
|||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
# Disable doctests on OSX: https://github.com/scikit-learn/scikit-learn/issues/10213
|
||||
checkPhase = ''
|
||||
HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests $out/${python.sitePackages}/sklearn/
|
||||
HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests ${stdenv.lib.optionalString stdenv.isDarwin "--doctest-options=+SKIP"} $out/${python.sitePackages}/sklearn/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
|||
checkInputs = [ pytest requests glibcLocales hypothesis ];
|
||||
|
||||
checkPhase = ''
|
||||
LC_ALL="en_US.UTF-8" py.test
|
||||
LC_ALL="en_US.UTF-8" py.test ${stdenv.lib.optionalString stdenv.isDarwin "-k 'not test_get_machine_id'"}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
24
pkgs/development/tools/go-protobuf/default.nix
Normal file
24
pkgs/development/tools/go-protobuf/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "go-protobuf-${version}";
|
||||
version = "2018-01-04";
|
||||
rev = "1e59b77b52bf8e4b449a57e6f79f21226d571845";
|
||||
|
||||
goPackagePath = "github.com/golang/protobuf";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "golang";
|
||||
repo = "protobuf";
|
||||
sha256 = "19bkh81wnp6njg3931wky6hsnnl2d1ig20vfjxpv450sd3k6yys8";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/golang/protobuf";
|
||||
description = " Go bindings for protocol buffer";
|
||||
maintainers = with maintainers; [ lewo ];
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, kernel }:
|
||||
{ stdenv, fetchurl, kernel, libelf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vhba-${version}";
|
||||
|
@ -10,6 +10,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ];
|
||||
buildInputs = [ libelf ];
|
||||
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
|
|
|
@ -127,6 +127,17 @@ rec {
|
|||
|
||||
# --- generated packages bellow this line ---
|
||||
|
||||
Auto_Pairs = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "Auto_Pairs-2017-07-03";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/jiangmiao/auto-pairs";
|
||||
rev = "f0019fc6423e7ce7bbd01d196a7e027077687fda";
|
||||
sha256 = "1kzrdq3adwxwm3fw65g05ww9405lwqi368win5kayamyj9i0z7r6";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
CSApprox = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "CSApprox-2013-07-26";
|
||||
src = fetchgit {
|
||||
|
@ -149,6 +160,17 @@ rec {
|
|||
|
||||
};
|
||||
|
||||
Cosco = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "Cosco-2017-07-26";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/lfilho/cosco.vim";
|
||||
rev = "4a2a080415860196c936a32679d9032f41ba21e4";
|
||||
sha256 = "0gljxy6shr7kmm8vvj6rm4c0lr0ydbny9lrsp64c3d4d0b2wnmig";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
Gist = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "Gist-2016-10-10";
|
||||
src = fetchgit {
|
||||
|
@ -194,11 +216,22 @@ rec {
|
|||
};
|
||||
|
||||
Syntastic = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "Syntastic-2017-11-17";
|
||||
name = "Syntastic-2018-01-12";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/scrooloose/syntastic";
|
||||
rev = "96cc251075f3f9d290c5afd4adf1b64c1542d469";
|
||||
sha256 = "1c2nch9037565n3mrpxf17dnn4c6j7w8wwzfj3fw9anwzr1m5kwl";
|
||||
rev = "937d77d1f3ba8de08ad275e052e38d0e680a175b";
|
||||
sha256 = "10qrq1fs53srp4inxmcm8zq5kjdl56hh1lwh2jhda9mfwrbhg3fp";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
SyntaxRange = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "SyntaxRange-2017-07-03";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/inkarkat/vim-SyntaxRange";
|
||||
rev = "213cfda0a0f11505665dbfe1e58c803f498761a6";
|
||||
sha256 = "1dg9n3zll3a79lv96kdlxxs141binb8w79zdisj7djxc5y2k48qs";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
|
@ -297,6 +330,17 @@ rec {
|
|||
sourceRoot = ".";
|
||||
};
|
||||
|
||||
caw = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "caw-2018-01-01";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/tyru/caw.vim";
|
||||
rev = "50efcd94e00dc3e814bcc0d3d8ccfa3ff324ea42";
|
||||
sha256 = "06hpby2amh2pb4dlfd7s6wybzc8rh8wa3jz0gyv6xx3l91agfari";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
clang_complete = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "clang_complete-2017-09-25";
|
||||
src = fetchgit {
|
||||
|
@ -329,6 +373,17 @@ rec {
|
|||
|
||||
};
|
||||
|
||||
csv = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "csv-2018-01-03";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/chrisbra/csv.vim";
|
||||
rev = "a50b977fa25a854e7d099198bfa65e2dc680898b";
|
||||
sha256 = "02a6289rbjw8r0l668ala5abfr2rls3slrnk4yrsfc6ka550zj9y";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
ctrlp-cmatcher = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "ctrlp-cmatcher-2015-10-15";
|
||||
src = fetchgit {
|
||||
|
@ -366,6 +421,17 @@ rec {
|
|||
|
||||
};
|
||||
|
||||
easygit = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "easygit-2017-08-11";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/chemzqm/vim-easygit";
|
||||
rev = "8f66da54da627395309548efee6d8705b7f50768";
|
||||
sha256 = "013jl330k9yjcvzzqhwz93adm4349gkl3q1c55m1zfkg3afmvnwd";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
extradite = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "extradite-2015-09-22";
|
||||
src = fetchgit {
|
||||
|
@ -378,11 +444,11 @@ rec {
|
|||
};
|
||||
|
||||
fugitive = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "fugitive-2017-11-30";
|
||||
name = "fugitive-2017-12-16";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/tpope/vim-fugitive";
|
||||
rev = "5032d9ee72361dc3cfaae1a9b3353211203e443f";
|
||||
sha256 = "1zx5l8lx7440l3pvs2bx81r3wmpvbmq7qs8ziz9lvlp91s7dqy88";
|
||||
rev = "f3ccb0c12ee4985b8808f83059830a24cc92821c";
|
||||
sha256 = "1ry67wi5dci4jy54jyf3lsf0yq13a42z9w5qh39rwv5w9wiab2fb";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
|
@ -444,11 +510,11 @@ rec {
|
|||
};
|
||||
|
||||
deoplete-nvim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "deoplete-nvim-2017-12-06";
|
||||
name = "deoplete-nvim-2018-01-14";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/Shougo/deoplete.nvim";
|
||||
rev = "9d048047807b7bfacd7406ebe85acdb1dc019018";
|
||||
sha256 = "15b881j6f54ykljqhbpl9ajjbhjlgqywr963a7g0d35qnyxzidb8";
|
||||
rev = "b164eb8c36ddbb8835434e013358de29b9c8f1f2";
|
||||
sha256 = "0k3zmpdlg4y4f0y3pgfcqmglrrs1iagw8iaaz131nyswz0m2pf6x";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
|
@ -1030,11 +1096,11 @@ rec {
|
|||
};
|
||||
|
||||
fzf-vim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "fzf-vim-2017-12-06";
|
||||
name = "fzf-vim-2018-01-09";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/junegunn/fzf.vim";
|
||||
rev = "11b7fb91e152258c59b0bb0526c3fb04469cf38c";
|
||||
sha256 = "1p6p557bg56763vq49lfhyr8h30kf1gwiqz1jf6j0mqg46w4q77j";
|
||||
rev = "c0a5fee7071ed89602b9b59fb67e83d6cd23addc";
|
||||
sha256 = "0biqq9g116zziv9k0axgn8wasgwb57fwaxwjj8vsajrmq5phdl4z";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
|
@ -2111,6 +2177,17 @@ rec {
|
|||
'';
|
||||
};
|
||||
|
||||
neco-look = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "neco-look-2018-01-07";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/ujihisa/neco-look";
|
||||
rev = "ff3de2731177694d0e85f1227b6cfd51c8e2bc8d";
|
||||
sha256 = "0zpny9sj7alzsbrjbph71b44zf575hij1ky8pwgba0ygp2p2fxd4";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
pathogen = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "pathogen-2017-08-04";
|
||||
src = fetchgit {
|
||||
|
@ -2122,6 +2199,17 @@ rec {
|
|||
|
||||
};
|
||||
|
||||
prettyprint = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "prettyprint-2016-07-16";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/thinca/vim-prettyprint";
|
||||
rev = "d6060d2b1ff1cff71714e126addd3b10883ade12";
|
||||
sha256 = "0mb1ylsq4023ik9wd9iwzlynra2c320xp9h2i79bspapglgd5gk9";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
quickfixstatus = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "quickfixstatus-2011-09-02";
|
||||
src = fetchgit {
|
||||
|
@ -2144,6 +2232,17 @@ rec {
|
|||
|
||||
};
|
||||
|
||||
riv = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "riv-2017-02-07";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/Rykka/riv.vim";
|
||||
rev = "d1efdd92fbb51dc452c61eec54a0ec084f011b4b";
|
||||
sha256 = "18qcglbrixgqk05x34dy2cksaw0dg7n51p48i6zkh5sqspv98zz3";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
sensible = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "sensible-2017-05-09";
|
||||
src = fetchgit {
|
||||
|
@ -2188,6 +2287,17 @@ rec {
|
|||
|
||||
};
|
||||
|
||||
sparkup = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "sparkup-2012-06-10";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/chrisgeo/sparkup";
|
||||
rev = "6fbfceef890e705c47b42b27be743ffed6f9296e";
|
||||
sha256 = "17jgpvl879ik53rr3razfnbpfx63mzpp1rlvxxjsvvrk4g45dssm";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
surround = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "surround-2016-06-01";
|
||||
src = fetchgit {
|
||||
|
@ -2200,11 +2310,22 @@ rec {
|
|||
};
|
||||
|
||||
table-mode = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "table-mode-2017-10-26";
|
||||
name = "table-mode-2018-01-04";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/dhruvasagar/vim-table-mode";
|
||||
rev = "40fe641708c58476c3a1b9aeafb68dd888d4920b";
|
||||
sha256 = "1rb2jq81965gpziqxlljr2bqjyfbikqa9ncxaaak3x61prn4z084";
|
||||
rev = "b25fe6f9f0f0b704d05ebd05edbbf0be3038cef9";
|
||||
sha256 = "14ykj2yrwi8k6mkzg0vi4favwg88l8c7zf7m6qzvndpjqw8jggdy";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
tabpagecd = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "tabpagecd-2013-11-29";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/kana/vim-tabpagecd";
|
||||
rev = "8b71a03a037608fa5918f5096812577cec6355e4";
|
||||
sha256 = "1mr6s2hvsf2a2nkjjvq78c9isfxk2k1ih890w740srbq6ssj0npm";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
|
@ -2484,6 +2605,17 @@ rec {
|
|||
|
||||
};
|
||||
|
||||
vim-cursorword = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-cursorword-2017-10-19";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/itchyny/vim-cursorword";
|
||||
rev = "4878d6185b99131c5f610cc6ad0e223439ac4601";
|
||||
sha256 = "170nf0w7i5k3cr72dkvraq2p0lzsvb3cmdvslyz7cmxnz611n6bf";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
vim-easy-align = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-easy-align-2017-06-03";
|
||||
src = fetchgit {
|
||||
|
@ -2495,6 +2627,17 @@ rec {
|
|||
|
||||
};
|
||||
|
||||
vim-ft-diff_fold = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-ft-diff_fold-2013-02-10";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/thinca/vim-ft-diff_fold";
|
||||
rev = "89771dffd3682ef82a4b3b3e9c971b9909f08e87";
|
||||
sha256 = "0bk95cxkfzamlgv1x2jb1bnfas2pmvvqgpn5fvxddf0andm8sfma";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
vim-gista = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-gista-2017-02-20";
|
||||
src = fetchgit {
|
||||
|
@ -2517,6 +2660,17 @@ rec {
|
|||
|
||||
};
|
||||
|
||||
vim-dashboard = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-dashboard-2017-08-08";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/junegunn/vim-github-dashboard";
|
||||
rev = "054d7c69d9882a6ffccedd6e43623e184958d3b6";
|
||||
sha256 = "1ns6dd8719hqrkqnxd52ssi7gxjxni7w4l1ih7ag72d62qzw0p8y";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
vim-iced-coffee-script = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-iced-coffee-script-2013-12-27";
|
||||
src = fetchgit {
|
||||
|
@ -2528,6 +2682,28 @@ rec {
|
|||
|
||||
};
|
||||
|
||||
vim-javascript = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-javascript-2018-01-10";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/pangloss/vim-javascript";
|
||||
rev = "4c0a554423df72ecb8d13b143afa7a4cfcb994ec";
|
||||
sha256 = "01lbkcfjqwrn2pbxz1jj8g2vxasc2i7s6nc7665s1warn066ykjr";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
vim-jsbeautify = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-jsbeautify-2017-05-20";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/maksimr/vim-jsbeautify";
|
||||
rev = "e83f749c3de7e958e7bc285e80e484707b6f1e12";
|
||||
sha256 = "0dy9ljqp6shac406xgawzrqcapm80rjxmbzwy93ypzlhi8b67w0a";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
vim-latex-live-preview = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-latex-live-preview-2017-11-09";
|
||||
src = fetchgit {
|
||||
|
@ -2539,6 +2715,17 @@ rec {
|
|||
|
||||
};
|
||||
|
||||
vim-logreview = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-logreview-2017-07-08";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/andreshazard/vim-logreview";
|
||||
rev = "b7b66ab338e904127d796af49235b8c29742f18f";
|
||||
sha256 = "09lyymq0f3ybqdzhbpia7b0wcjbcyg5nkqd72qk8jkvc42da2af3";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
vim-multiple-cursors = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-multiple-cursors-2017-08-04";
|
||||
src = fetchgit {
|
||||
|
@ -2550,6 +2737,28 @@ rec {
|
|||
|
||||
};
|
||||
|
||||
vim-ruby = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-ruby-2017-06-22";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/vim-ruby/vim-ruby";
|
||||
rev = "074200ffa39b19baf9d9750d399d53d97f21ee07";
|
||||
sha256 = "1w2d12cl40nf73f3hcpqc4sqma8h1a557fy8kds2x143gq7s5vx6";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
vim-scouter = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-scouter-2014-08-10";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/thinca/vim-scouter";
|
||||
rev = "5221901d4ad6b2ef8b370b336db2aa7f69f2b6dc";
|
||||
sha256 = "0fx64hj1kzrsxz96195d5lm3x88zyycbcr78819mcbgfzyxis6b8";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
vim-signature = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vim-signature-2017-09-24";
|
||||
src = fetchgit {
|
||||
|
@ -2637,4 +2846,26 @@ rec {
|
|||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
xterm-color-table = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "xterm-color-table-2013-12-31";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/guns/xterm-color-table.vim";
|
||||
rev = "9754e857e5f4fe1f8727106dcc682d21c29a51e4";
|
||||
sha256 = "08a1d9428xwrjp40qgi34cb5fwgc239qf3agxl32k7bqbn08pq19";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
zeavim = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "zeavim-2017-12-20";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/KabbAmine/zeavim.vim";
|
||||
rev = "88f81078059d98d7637a93b90730897a3af231a4";
|
||||
sha256 = "1p43f6bbs9fcvvp1i90kzx1xj7k6c5w3ajf9wlrplpkz6hsiv2wv";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
"CSApprox"
|
||||
"CheckAttach"
|
||||
"Cosco"
|
||||
"Gist"
|
||||
"Hoogle"
|
||||
"Solarized"
|
||||
"Supertab"
|
||||
"Syntastic"
|
||||
"SyntaxRange"
|
||||
"Tabular"
|
||||
"Tagbar"
|
||||
"The_NERD_Commenter"
|
||||
|
@ -13,11 +15,14 @@
|
|||
"VimOutliner"
|
||||
"WebAPI"
|
||||
"YankRing"
|
||||
"caw"
|
||||
"clang_complete"
|
||||
"commentary"
|
||||
"csv"
|
||||
"ctrlp-cmatcher"
|
||||
"ctrlp-py-matcher"
|
||||
"ctrlp-z"
|
||||
"easygit"
|
||||
"extradite"
|
||||
"fugitive"
|
||||
"ghcmod"
|
||||
|
@ -168,16 +173,22 @@
|
|||
"github:zig-lang/zig.vim"
|
||||
"goyo"
|
||||
"gruvbox"
|
||||
"jiangmiao-auto-pairs"
|
||||
"matchit.zip"
|
||||
"neco-look"
|
||||
"pathogen"
|
||||
"prettyprint"
|
||||
"quickfixstatus"
|
||||
"rainbow_parentheses"
|
||||
"riv"
|
||||
"sensible"
|
||||
"sleuth"
|
||||
"snipmate"
|
||||
"sourcemap"
|
||||
"sparkup"
|
||||
"surround"
|
||||
"table-mode"
|
||||
"tabpagecd"
|
||||
"taglist"
|
||||
"tlib"
|
||||
"undotree"
|
||||
|
@ -202,12 +213,20 @@
|
|||
"vim-addon-xdebug"
|
||||
"vim-airline"
|
||||
"vim-coffee-script"
|
||||
"vim-cursorword"
|
||||
"vim-dashboard"
|
||||
"vim-easy-align"
|
||||
"vim-ft-diff_fold"
|
||||
"vim-gista"
|
||||
"vim-gitgutter"
|
||||
"vim-iced-coffee-script"
|
||||
"vim-javascript"
|
||||
"vim-jsbeautify"
|
||||
"vim-latex-live-preview"
|
||||
"vim-logreview"
|
||||
"vim-multiple-cursors"
|
||||
"vim-ruby"
|
||||
"vim-scouter"
|
||||
"vim-signature"
|
||||
"vim-signify"
|
||||
"vim-snippets"
|
||||
|
@ -216,3 +235,5 @@
|
|||
"vimwiki"
|
||||
"vinegar"
|
||||
"vundle"
|
||||
"xterm-color-table"
|
||||
"zeavim"
|
||||
|
|
|
@ -2,15 +2,17 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "evdi-${version}";
|
||||
version = "1.4.1+git2017-06-12";
|
||||
version = "unstable-2018-01-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DisplayLink";
|
||||
repo = "evdi";
|
||||
rev = "ee1c578774e62fe4b08d92750620ed3094642160";
|
||||
sha256 = "1m3wkmw4hjpjax7rvhmpicz09d7vxcxklq797ddjg6ljvf12671b";
|
||||
rev = "e7a08d08e3876efba8007e91df1b296f2447b8de";
|
||||
sha256 = "01z7bx5rgpb5lc4c6dxfiv52ni25564djxmvmgy3d7r1x1mqhxgs";
|
||||
};
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
buildInputs = [ kernel libdrm ];
|
||||
|
||||
makeFlags = [ "KVER=${kernel.modDirVersion}" "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" ];
|
||||
|
@ -27,6 +29,6 @@ stdenv.mkDerivation rec {
|
|||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
homepage = http://www.displaylink.com/;
|
||||
broken = versionOlder kernel.version "4.9" || !stdenv.lib.versionOlder kernel.version "4.13";
|
||||
broken = versionOlder kernel.version "4.9";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -40,11 +40,11 @@ assert withCollectd -> collectd != null;
|
|||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freeradius-${version}";
|
||||
version = "3.0.15";
|
||||
version = "3.0.16";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${version}.tar.gz";
|
||||
sha256 = "1qygf5if2xjzl7kfzwl428ydz5q1m0j5sx077n12v7znlgnwaagx";
|
||||
sha256 = "062dw4ckaa7k2br16l3naz9dr7hvzqhpxdwam3klq1i44v4hvl1b";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
|
25
pkgs/tools/misc/parallel-rust/default.nix
Normal file
25
pkgs/tools/misc/parallel-rust/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, fetchFromGitHub, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "parallel-rust-${version}";
|
||||
version = "0.11.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mmstick";
|
||||
repo = "parallel";
|
||||
rev = version;
|
||||
sha256 = "1bb1m3ckkrxlnw9w24ig70bd1zwyrbaw914q3xz5yv43c0l6pn9c";
|
||||
};
|
||||
|
||||
cargoSha256 = "0p3wpjz3jrqjasi39zq6q54dhpymc5jp0mfsnzbq6dvz18s8m588";
|
||||
|
||||
patches = [ ./fix_cargo_lock_version.patch ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A command-line CPU load balancer written in Rust";
|
||||
homepage = https://github.com/mmstick/parallel;
|
||||
license = licenses.mit;
|
||||
maintainers = [];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
12
pkgs/tools/misc/parallel-rust/fix_cargo_lock_version.patch
Normal file
12
pkgs/tools/misc/parallel-rust/fix_cargo_lock_version.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
index c01308d..dba3927 100644
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -1,6 +1,6 @@
|
||||
[root]
|
||||
name = "parallel"
|
||||
-version = "0.11.2"
|
||||
+version = "0.11.3"
|
||||
dependencies = [
|
||||
"arrayvec 0.3.23 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"itoa 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
@ -1,16 +1,27 @@
|
|||
{ stdenv, buildPythonApplication, fetchFromGitHub }:
|
||||
{ stdenv, python3Packages, fetchFromGitHub, glibcLocales }:
|
||||
|
||||
with python3Packages;
|
||||
buildPythonApplication rec {
|
||||
name = "wakatime-${version}";
|
||||
version = "10.0.1";
|
||||
version = "10.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wakatime";
|
||||
repo = "wakatime";
|
||||
rev = version;
|
||||
sha256 = "1bg8fzd3rdc6na0a7z1d55m2gbnfq6d72mf2jlyzc817r6dr4bfx";
|
||||
sha256 = "0mq1b5hwm03jz1mhlfiwi8k5r6556r1nfv9h7qs3y32zrj9mvifv";
|
||||
};
|
||||
|
||||
# needs more dependencies from https://github.com/wakatime/wakatime/blob/191b302bfb5f272ae928c6d3867d06f3dfcba4a8/dev-requirements.txt
|
||||
# especially nose-capturestderr, which we do not package yet.
|
||||
doCheck = false;
|
||||
checkInputs = [ mock testfixtures pytest glibcLocales ];
|
||||
|
||||
checkPhase = ''
|
||||
export HOME=$(mktemp -d) LC_ALL=en_US.utf-8
|
||||
pytest tests
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "WakaTime command line interface";
|
||||
|
|
|
@ -27,8 +27,8 @@ let
|
|||
};
|
||||
in {
|
||||
miniupnpc_2 = generic {
|
||||
version = "2.0.20170509";
|
||||
sha256 = "0spi75q6nafxp3ndnrhrlqagzmjlp8wwlr5x7rnvdpswgxi6ihyk";
|
||||
version = "2.0.20171212";
|
||||
sha256 = "0za7pr6hrr3ajkifirhhxfn3hlhl06f622g8hnj5h8y18sp3bwff";
|
||||
};
|
||||
miniupnpc_1 = generic {
|
||||
version = "1.9.20160209";
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
assert stdenv.isLinux;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "miniupnpd-2.0";
|
||||
name = "miniupnpd-2.0.20171212";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
|
||||
sha256 = "1dxzhvkylrnbkd5srb9rb2g4f9ydd1zbjg5sdf190m0g1sha6snr";
|
||||
sha256 = "0jdcll1nd8jf356fpl0n2yw8sww58nfz6hkx052d77l34afq6sn7";
|
||||
name = "${name}.tar.gz";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
{ stdenv, fetchFromGitHub, bison, flex, geoip, geolite-legacy, libcli, libnet
|
||||
, libnetfilter_conntrack, libnl, libpcap, libsodium, liburcu, ncurses, perl
|
||||
, pkgconfig, zlib }:
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, bison, flex, geoip, geolite-legacy
|
||||
, libcli, libnet, libnetfilter_conntrack, libnl, libpcap, libsodium
|
||||
, liburcu, ncurses, perl, pkgconfig, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "netsniff-ng-${version}";
|
||||
version = "0.6.2";
|
||||
version = "0.6.3";
|
||||
|
||||
# Upstream recommends and supports git
|
||||
src = fetchFromGitHub rec {
|
||||
repo = "netsniff-ng";
|
||||
owner = repo;
|
||||
rev = "v${version}";
|
||||
sha256 = "1lz4hwgwdq3znlqjmvl7cw3g3ilbayn608h0hwqdf7v2jq6n67kg";
|
||||
sha256 = "0g3105c5ha897bpwsnrp72gx4n61gspxmld594i37g8k7vwzny4l";
|
||||
};
|
||||
|
||||
patches = [ ./glibc-2.26.patch ];
|
||||
|
||||
buildInputs = [ bison flex geoip geolite-legacy libcli libnet libnl
|
||||
libnetfilter_conntrack libpcap libsodium liburcu ncurses perl
|
||||
pkgconfig zlib ];
|
||||
pkgconfig zlib makeWrapper ];
|
||||
|
||||
# ./configure is not autoGNU but some home-brewn magic
|
||||
configurePhase = ''
|
||||
|
@ -33,6 +33,10 @@ stdenv.mkDerivation rec {
|
|||
makeFlags = [ "PREFIX=$(out)" "ETCDIR=$(out)/etc" ];
|
||||
|
||||
postInstall = ''
|
||||
# trafgen and bpfc can call out to cpp to process config files.
|
||||
wrapProgram "$out/sbin/trafgen" --prefix PATH ":" "${stdenv.cc}/bin"
|
||||
wrapProgram "$out/sbin/bpfc" --prefix PATH ":" "${stdenv.cc}/bin"
|
||||
|
||||
ln -sv ${geolite-legacy}/share/GeoIP/GeoIP.dat $out/etc/netsniff-ng/country4.dat
|
||||
ln -sv ${geolite-legacy}/share/GeoIP/GeoIPv6.dat $out/etc/netsniff-ng/country6.dat
|
||||
ln -sv ${geolite-legacy}/share/GeoIP/GeoIPCity.dat $out/etc/netsniff-ng/city4.dat
|
||||
|
|
2
pkgs/tools/security/bettercap/Gemfile
Normal file
2
pkgs/tools/security/bettercap/Gemfile
Normal file
|
@ -0,0 +1,2 @@
|
|||
source 'https://rubygems.org'
|
||||
gem 'bettercap'
|
42
pkgs/tools/security/bettercap/Gemfile.lock
Normal file
42
pkgs/tools/security/bettercap/Gemfile.lock
Normal file
|
@ -0,0 +1,42 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
bettercap (1.6.2)
|
||||
colorize (~> 0.8.0)
|
||||
em-proxy (~> 0.1, >= 0.1.8)
|
||||
net-dns (~> 0.8, >= 0.8.0)
|
||||
network_interface (~> 0.0, >= 0.0.1)
|
||||
packetfu (~> 1.1, >= 1.1.10)
|
||||
pcaprub (~> 0.12, >= 0.12.0, <= 1.1.11)
|
||||
rubydns (~> 1.0, >= 1.0.3)
|
||||
celluloid (0.16.0)
|
||||
timers (~> 4.0.0)
|
||||
celluloid-io (0.16.2)
|
||||
celluloid (>= 0.16.0)
|
||||
nio4r (>= 1.1.0)
|
||||
colorize (0.8.1)
|
||||
em-proxy (0.1.9)
|
||||
eventmachine
|
||||
eventmachine (1.2.5)
|
||||
hitimes (1.2.6)
|
||||
net-dns (0.8.0)
|
||||
network_interface (0.0.2)
|
||||
nio4r (2.2.0)
|
||||
packetfu (1.1.13)
|
||||
pcaprub
|
||||
pcaprub (0.12.4)
|
||||
rubydns (1.0.3)
|
||||
celluloid (= 0.16.0)
|
||||
celluloid-io (= 0.16.2)
|
||||
timers (~> 4.0.1)
|
||||
timers (4.0.4)
|
||||
hitimes
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
bettercap
|
||||
|
||||
BUNDLED WITH
|
||||
1.14.6
|
23
pkgs/tools/security/bettercap/default.nix
Normal file
23
pkgs/tools/security/bettercap/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, bundlerEnv, ruby, libpcap}:
|
||||
|
||||
bundlerEnv rec {
|
||||
name = "bettercap-${version}";
|
||||
|
||||
version = (import gemset).bettercap.version;
|
||||
inherit ruby;
|
||||
gemdir = ./.;
|
||||
gemset = ./gemset.nix;
|
||||
|
||||
buildInputs = [ libpcap ruby ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A man in the middle tool";
|
||||
longDescription = ''
|
||||
BetterCAP is a powerful, flexible and portable tool created to perform various types of MITM attacks against a network, manipulate HTTP, HTTPS and TCP traffic in realtime, sniff for credentials and much more.
|
||||
'' ;
|
||||
homepage = https://www.bettercap.org/;
|
||||
license = with licenses; gpl3;
|
||||
maintainers = with maintainers; [ y0no ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
121
pkgs/tools/security/bettercap/gemset.nix
Normal file
121
pkgs/tools/security/bettercap/gemset.nix
Normal file
|
@ -0,0 +1,121 @@
|
|||
{
|
||||
bettercap = {
|
||||
dependencies = ["colorize" "em-proxy" "net-dns" "network_interface" "packetfu" "pcaprub" "rubydns"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1mns96yfyfnksk720p8k83qkwwsid4sicwgrzxaa9gbc53aalll0";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.6.2";
|
||||
};
|
||||
celluloid = {
|
||||
dependencies = ["timers"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "044xk0y7i1xjafzv7blzj5r56s7zr8nzb619arkrl390mf19jxv3";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.16.0";
|
||||
};
|
||||
celluloid-io = {
|
||||
dependencies = ["celluloid" "nio4r"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1l1x0p6daa5vskywrvaxdlanwib3k5pps16axwyy4p8d49pn9rnx";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.16.2";
|
||||
};
|
||||
colorize = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "133rqj85n400qk6g3dhf2bmfws34mak1wqihvh3bgy9jhajw580b";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.8.1";
|
||||
};
|
||||
em-proxy = {
|
||||
dependencies = ["eventmachine"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1yzkg6jkmcg859b5mf13igpf8q2bjhsmqjsva05948fi733w5n2j";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.1.9";
|
||||
};
|
||||
eventmachine = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "075hdw0fgzldgss3xaqm2dk545736khcvv1fmzbf1sgdlkyh1v8z";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.2.5";
|
||||
};
|
||||
hitimes = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "06222h9236jw9jgmdlpi0q7psac1shvxqxqx905qkvabmxdxlfar";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.2.6";
|
||||
};
|
||||
net-dns = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "12nal6vhdyg0pbcqpsxqr59h7mbgdhcqp3v0xnzvy167n40gabf9";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.8.0";
|
||||
};
|
||||
network_interface = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1xh4knfq77ii4pjzsd2z1p3nd6nrcdjhb2vi5gw36jqj43ffw0zp";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.0.2";
|
||||
};
|
||||
nio4r = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0jjrj7vs29w6dfgsxq08226jfbi2j0x62lf4p9zmvyp19dj4z00a";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.2.0";
|
||||
};
|
||||
packetfu = {
|
||||
dependencies = ["pcaprub"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "16ppq9wfxq4x2hss61l5brs3s6fmi8gb50mnp1nnnzb1asq4g8ll";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.1.13";
|
||||
};
|
||||
pcaprub = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0pl4lqy7308185pfv0197n8b4v20fhd0zb3wlpz284rk8ssclkvz";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.12.4";
|
||||
};
|
||||
rubydns = {
|
||||
dependencies = ["celluloid" "celluloid-io" "timers"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1cvj8li8shz7zn1rc5hdrkqmvr9j187g4y28mvkfvmv1j9hdln62";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.0.3";
|
||||
};
|
||||
timers = {
|
||||
dependencies = ["hitimes"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1jx4wb0x182gmbcs90vz0wzfyp8afi1mpl9w5ippfncyk4kffvrz";
|
||||
type = "gem";
|
||||
};
|
||||
version = "4.0.4";
|
||||
};
|
||||
}
|
|
@ -19,9 +19,9 @@ stdenv.mkDerivation rec {
|
|||
chmod +x $out/bin/kpcli
|
||||
|
||||
wrapProgram $out/bin/kpcli --set PERL5LIB \
|
||||
"${with perlPackages; stdenv.lib.makePerlPath [
|
||||
"${with perlPackages; stdenv.lib.makePerlPath ([
|
||||
CaptureTiny Clipboard Clone CryptRijndael SortNaturally TermReadKey TermShellUI FileKeePass TermReadLineGnu XMLParser
|
||||
]}"
|
||||
] ++ stdenv.lib.optional stdenv.isDarwin MacPasteboard)}"
|
||||
'';
|
||||
|
||||
|
||||
|
|
29
pkgs/tools/security/onioncircuits/default.nix
Normal file
29
pkgs/tools/security/onioncircuits/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchgit, pythonPackages, intltool, gtk3, gobjectIntrospection, defaultIconTheme }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
name = "onioncircuits-${version}";
|
||||
version = "0.5";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git-tails.immerda.ch/onioncircuits/";
|
||||
rev = version;
|
||||
sha256 = "13mqif9b9iajpkrl9ijspdnvy82kxhprxd5mw3njk68rcn4z2pcm";
|
||||
};
|
||||
|
||||
buildInputs = [ intltool gtk3 gobjectIntrospection ];
|
||||
propagatedBuildInputs = with pythonPackages; [ stem distutils_extra pygobject3 ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram "$out/bin/onioncircuits" \
|
||||
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
||||
--prefix XDG_DATA_DIRS : "$out/share:${defaultIconTheme}/share"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://tails.boum.org;
|
||||
description = "GTK application to display Tor circuits and streams";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.phreedom ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{ fetchurl, stdenv }:
|
||||
{ fetchurl, stdenv, unzip }:
|
||||
|
||||
let
|
||||
version = "2.9";
|
||||
|
@ -32,6 +32,8 @@ in stdenv.mkDerivation rec {
|
|||
|
||||
sourceRoot = ".";
|
||||
|
||||
nativeBuildInputs = stdenv.lib.optional (stdenv.lib.hasSuffix ".zip" url) unzip;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/kindlegen/doc
|
||||
install -m755 kindlegen $out/bin/kindlegen
|
||||
|
|
|
@ -121,7 +121,13 @@ mapAliases (rec {
|
|||
owncloudclient = owncloud-client; # added 2016-08
|
||||
pgp-tools = signing-party; # added 2017-03-26
|
||||
pidgin-with-plugins = pidgin; # added 2016-06
|
||||
pidginlatexSF = pidginlatex; # added 2014-11-02
|
||||
pidginlatexSF = pidgin-latex; # added 2014-11-02
|
||||
pidginlatex = pidgin-latex; # added 2018-01-08
|
||||
pidginmsnpecan = pidgin-msn-pecan; # added 2018-01-08
|
||||
pidginotr = pidgin-otr; # added 2018-01-08
|
||||
pidginosd = pidgin-osd; # added 2018-01-08
|
||||
pidginsipe = pidgin-sipe; # added 2018-01-08
|
||||
pidginwindowmerge = pidgin-window-merge; # added 2018-01-08
|
||||
postage = pgmanage; # added 2017-11-03
|
||||
poppler_qt5 = libsForQt5.poppler; # added 2015-12-19
|
||||
PPSSPP = ppsspp; # added 2017-10-01
|
||||
|
|
|
@ -841,6 +841,8 @@ with pkgs;
|
|||
|
||||
buildtorrent = callPackage ../tools/misc/buildtorrent { };
|
||||
|
||||
bustle = haskellPackages.bustle;
|
||||
|
||||
bwm_ng = callPackage ../tools/networking/bwm-ng { };
|
||||
|
||||
byobu = callPackage ../tools/misc/byobu {
|
||||
|
@ -1253,6 +1255,8 @@ with pkgs;
|
|||
|
||||
ps_mem = callPackage ../tools/system/ps_mem { };
|
||||
|
||||
parallel-rust = callPackage ../tools/misc/parallel-rust { };
|
||||
|
||||
socklog = callPackage ../tools/system/socklog { };
|
||||
|
||||
staccato = callPackage ../tools/text/staccato { };
|
||||
|
@ -1372,6 +1376,8 @@ with pkgs;
|
|||
|
||||
bepasty = callPackage ../tools/misc/bepasty { };
|
||||
|
||||
bettercap = callPackage ../tools/security/bettercap { };
|
||||
|
||||
bfg-repo-cleaner = gitAndTools.bfg-repo-cleaner;
|
||||
|
||||
bgs = callPackage ../tools/X11/bgs { };
|
||||
|
@ -2684,6 +2690,13 @@ with pkgs;
|
|||
inherit gfortran;
|
||||
});
|
||||
|
||||
hdf5-threadsafe = appendToName "threadsafe" (hdf5.overrideAttrs (oldAttrs: {
|
||||
# Threadsafe hdf5
|
||||
# However, hdf5 hl (High Level) library is not considered stable
|
||||
# with thread safety and should be disabled.
|
||||
configureFlags = oldAttrs.configureFlags ++ ["--enable-threadsafe" "--disable-hl" ];
|
||||
}));
|
||||
|
||||
hdfview = callPackage ../tools/misc/hdfview {
|
||||
javac = jdk;
|
||||
};
|
||||
|
@ -2819,7 +2832,7 @@ with pkgs;
|
|||
inadyn = callPackage ../tools/networking/inadyn { };
|
||||
|
||||
inboxer = callPackage ../applications/networking/mailreaders/inboxer { };
|
||||
|
||||
|
||||
inetutils = callPackage ../tools/networking/inetutils { };
|
||||
|
||||
inform7 = callPackage ../development/compilers/inform7 { };
|
||||
|
@ -3814,6 +3827,10 @@ with pkgs;
|
|||
|
||||
ola = callPackage ../applications/misc/ola { };
|
||||
|
||||
onioncircuits = callPackage ../tools/security/onioncircuits {
|
||||
inherit (gnome3) defaultIconTheme;
|
||||
};
|
||||
|
||||
opencc = callPackage ../tools/text/opencc { };
|
||||
|
||||
opencl-info = callPackage ../tools/system/opencl-info { };
|
||||
|
@ -10642,8 +10659,23 @@ with pkgs;
|
|||
|
||||
libsForQt59 = lib.makeScope qt59.newScope mkLibsForQt5;
|
||||
|
||||
qt5 = qt59;
|
||||
libsForQt5 = libsForQt59;
|
||||
qt510 = recurseIntoAttrs (makeOverridable
|
||||
(import ../development/libraries/qt-5/5.10) {
|
||||
inherit newScope;
|
||||
inherit stdenv fetchurl makeSetupHook makeWrapper;
|
||||
bison = bison2; # error: too few arguments to function 'int yylex(...
|
||||
inherit cups;
|
||||
harfbuzz = harfbuzz-icu;
|
||||
mesa = mesa_noglu;
|
||||
inherit perl;
|
||||
inherit (gst_all_1) gstreamer gst-plugins-base;
|
||||
inherit (gnome3) gtk3 dconf;
|
||||
});
|
||||
|
||||
libsForQt510 = recurseIntoAttrs (lib.makeScope qt510.newScope mkLibsForQt5);
|
||||
|
||||
qt5 = qt510;
|
||||
libsForQt5 = libsForQt510;
|
||||
|
||||
qt5ct = libsForQt5.callPackage ../tools/misc/qt5ct { };
|
||||
|
||||
|
@ -13185,6 +13217,8 @@ with pkgs;
|
|||
|
||||
go-bindata-assetfs = callPackage ../development/tools/go-bindata-assetfs { };
|
||||
|
||||
go-protobuf = callPackage ../development/tools/go-protobuf { };
|
||||
|
||||
gocode = callPackage ../development/tools/gocode { };
|
||||
|
||||
goconvey = callPackage ../development/tools/goconvey { };
|
||||
|
@ -14169,6 +14203,7 @@ with pkgs;
|
|||
|
||||
|
||||
go-ethereum = self.altcoins.go-ethereum;
|
||||
ethsign = self.altcoins.ethsign;
|
||||
ethabi = self.altcoins.ethabi;
|
||||
ethrun = self.altcoins.ethrun;
|
||||
seth = self.altcoins.seth;
|
||||
|
@ -16506,11 +16541,11 @@ with pkgs;
|
|||
plugins = [];
|
||||
};
|
||||
|
||||
pidginlatex = callPackage ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex {
|
||||
pidgin-latex = callPackage ../applications/networking/instant-messengers/pidgin-plugins/pidgin-latex {
|
||||
texLive = texlive.combined.scheme-basic;
|
||||
};
|
||||
|
||||
pidginmsnpecan = callPackage ../applications/networking/instant-messengers/pidgin-plugins/msn-pecan { };
|
||||
pidgin-msn-pecan = callPackage ../applications/networking/instant-messengers/pidgin-plugins/msn-pecan { };
|
||||
|
||||
pidgin-mra = callPackage ../applications/networking/instant-messengers/pidgin-plugins/pidgin-mra { };
|
||||
|
||||
|
@ -16520,13 +16555,13 @@ with pkgs;
|
|||
|
||||
pidgin-xmpp-receipts = callPackage ../applications/networking/instant-messengers/pidgin-plugins/pidgin-xmpp-receipts { };
|
||||
|
||||
pidginotr = callPackage ../applications/networking/instant-messengers/pidgin-plugins/otr { };
|
||||
pidgin-otr = callPackage ../applications/networking/instant-messengers/pidgin-plugins/otr { };
|
||||
|
||||
pidginosd = callPackage ../applications/networking/instant-messengers/pidgin-plugins/pidgin-osd { };
|
||||
pidgin-osd = callPackage ../applications/networking/instant-messengers/pidgin-plugins/pidgin-osd { };
|
||||
|
||||
pidginsipe = callPackage ../applications/networking/instant-messengers/pidgin-plugins/sipe { };
|
||||
pidgin-sipe = callPackage ../applications/networking/instant-messengers/pidgin-plugins/sipe { };
|
||||
|
||||
pidginwindowmerge = callPackage ../applications/networking/instant-messengers/pidgin-plugins/window-merge { };
|
||||
pidgin-window-merge = callPackage ../applications/networking/instant-messengers/pidgin-plugins/window-merge { };
|
||||
|
||||
purple-hangouts = callPackage ../applications/networking/instant-messengers/pidgin-plugins/purple-hangouts { };
|
||||
|
||||
|
@ -17347,6 +17382,8 @@ with pkgs;
|
|||
|
||||
urh = callPackage ../applications/misc/urh { };
|
||||
|
||||
uuagc = haskell.lib.justStaticExecutables haskellPackages.uuagc;
|
||||
|
||||
uucp = callPackage ../tools/misc/uucp { };
|
||||
|
||||
uvccapture = callPackage ../applications/video/uvccapture { };
|
||||
|
@ -17415,10 +17452,14 @@ with pkgs;
|
|||
|
||||
vimpc = callPackage ../applications/audio/vimpc { };
|
||||
|
||||
neovim = callPackage ../applications/editors/neovim {
|
||||
wrapNeovim = callPackage ../applications/editors/neovim/wrapper.nix { };
|
||||
|
||||
neovim-unwrapped = callPackage ../applications/editors/neovim {
|
||||
luaPackages = luajitPackages;
|
||||
};
|
||||
|
||||
neovim = wrapNeovim neovim-unwrapped { };
|
||||
|
||||
neovim-qt = libsForQt5.callPackage ../applications/editors/neovim/qt.nix { };
|
||||
|
||||
neovim-pygui = pythonPackages.neovim_gui;
|
||||
|
@ -18764,7 +18805,7 @@ with pkgs;
|
|||
};
|
||||
|
||||
redshift = callPackage ../applications/misc/redshift {
|
||||
inherit (python3Packages) python pygobject3 pyxdg;
|
||||
inherit (python3Packages) python pygobject3 pyxdg wrapPython;
|
||||
};
|
||||
|
||||
redshift-plasma-applet = libsForQt5.callPackage ../applications/misc/redshift-plasma-applet { };
|
||||
|
|
|
@ -667,8 +667,12 @@ let
|
|||
uucp = callPackage ../development/ocaml-modules/uucp { };
|
||||
uunf = callPackage ../development/ocaml-modules/uunf { };
|
||||
|
||||
uri = callPackage ../development/ocaml-modules/uri { };
|
||||
uri_p4 = callPackage ../development/ocaml-modules/uri {
|
||||
uri =
|
||||
if lib.versionAtLeast ocaml.version "4.3"
|
||||
then callPackage ../development/ocaml-modules/uri { }
|
||||
else callPackage ../development/ocaml-modules/uri/legacy.nix { };
|
||||
|
||||
uri_p4 = callPackage ../development/ocaml-modules/uri/legacy.nix {
|
||||
legacyVersion = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -2184,6 +2184,12 @@ let self = _self // overrides; _self = with self; {
|
|||
description = "Clipboard - Copy and Paste with any OS";
|
||||
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
||||
};
|
||||
propagatedBuildInputs = stdenv.lib.optional stdenv.isDarwin MacPasteboard;
|
||||
# Disable test on darwin because MacPasteboard fails when not logged in interactively.
|
||||
# Mac OS error -4960 (coreFoundationUnknownErr): The unknown error at lib/Clipboard/MacPasteboard.pm line 3.
|
||||
# Mac-Pasteboard-0.009.readme: 'NOTE that Mac OS X appears to restrict pasteboard access to processes that are logged in interactively.
|
||||
# Ssh sessions and cron jobs can not create the requisite pasteboard handles, giving coreFoundationUnknownErr (-4960)'
|
||||
doCheck = !stdenv.isDarwin;
|
||||
};
|
||||
|
||||
|
||||
|
@ -8320,6 +8326,20 @@ let self = _self // overrides; _self = with self; {
|
|||
inherit fetchurl buildPerlPackage stdenv DBDmysql;
|
||||
};
|
||||
|
||||
MacPasteboard = buildPerlPackage rec {
|
||||
name = "Mac-Pasteboard-0.009";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/W/WY/WYANT/${name}.tar.gz";
|
||||
sha256 = "85b1d5e9630973b997c3c1634e2df964d6a8d6cb57d9abe1f7093385cf26cf54";
|
||||
};
|
||||
meta = with stdenv.lib; {
|
||||
description = "Manipulate Mac OS X pasteboards";
|
||||
license = with licenses; [ artistic1 gpl1Plus ];
|
||||
platforms = platforms.darwin;
|
||||
};
|
||||
buildInputs = [ pkgs.darwin.apple_sdk.frameworks.ApplicationServices ];
|
||||
};
|
||||
|
||||
MailMaildir = buildPerlPackage rec {
|
||||
version = "1.0.0";
|
||||
name = "Mail-Maildir-${version}";
|
||||
|
|
|
@ -3947,33 +3947,7 @@ in {
|
|||
};
|
||||
});
|
||||
|
||||
nose-parameterized = buildPythonPackage (rec {
|
||||
name = "nose-parameterized-${version}";
|
||||
version = "0.5.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/n/nose-parameterized/${name}.tar.gz";
|
||||
sha256 = "a11c41b0cf8218e7cdc19ab7a1bdf5c141d161cd2350daee819473cc63cd0685";
|
||||
};
|
||||
|
||||
# Tests require some python3-isms but code works without.
|
||||
doCheck = isPy3k;
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
buildInputs = with self; [ nose pkgs.glibcLocales ];
|
||||
propagatedBuildInputs = with self; [ self.six ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -v
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Parameterized testing with any Python test framework";
|
||||
homepage = https://pypi.python.org/pypi/nose-parameterized;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
});
|
||||
nose-parameterized = callPackage ../development/python-modules/nose-parameterized {};
|
||||
|
||||
neurotools = buildPythonPackage (rec {
|
||||
name = "NeuroTools-${version}";
|
||||
|
@ -6916,6 +6890,24 @@ in {
|
|||
|
||||
schema = callPackage ../development/python-modules/schema {};
|
||||
|
||||
stem = buildPythonPackage rec {
|
||||
name = "stem-${version}";
|
||||
version = "1.6.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/s/stem/${name}.tar.gz";
|
||||
sha256 = "1va9p3ij7lxg6ixfsvaql06dn11l3fgpxmss1dhlvafm7sqizznp";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Controller library that allows applications to interact with Tor (https://www.torproject.org/";
|
||||
homepage = https://stem.torproject.org/;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ phreedom ];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
svg-path = buildPythonPackage rec {
|
||||
name = "svg.path-${version}";
|
||||
version = "2.0b1";
|
||||
|
@ -17752,7 +17744,7 @@ in {
|
|||
tiros = callPackage ../development/python-modules/tiros { };
|
||||
|
||||
tifffile = callPackage ../development/python-modules/tifffile { };
|
||||
|
||||
|
||||
# Tkinter/tkinter is part of the Python standard library.
|
||||
# The Python interpreters in Nixpkgs come without tkinter by default.
|
||||
# To make the module available, we make it available as any other
|
||||
|
|
|
@ -75,7 +75,7 @@ in
|
|||
f (["buildPackages"] ++ path) { inherit system crossSystem; }
|
||||
);
|
||||
|
||||
testEqual = path: systems: forAllSupportedSystems systems (testEqualOne path);
|
||||
testEqual = path: systems: forTheseSystems systems (testEqualOne path);
|
||||
|
||||
mapTestEqual = lib.mapAttrsRecursive testEqual;
|
||||
|
||||
|
|
|
@ -58,7 +58,8 @@ rec {
|
|||
interested in the result of cross building a package. */
|
||||
crossMaintainers = [ maintainers.viric ];
|
||||
|
||||
forAllSupportedSystems = systems: f:
|
||||
forAllSystems = genAttrs supportedSystems;
|
||||
forTheseSystems = systems: f:
|
||||
genAttrs (filter (x: elem x supportedSystems) systems) f;
|
||||
|
||||
/* Build a package on the given set of platforms. The function `f'
|
||||
|
@ -66,14 +67,14 @@ rec {
|
|||
platform as an argument . We return an attribute set containing
|
||||
a derivation for each supported platform, i.e. ‘{ x86_64-linux =
|
||||
f pkgs_x86_64_linux; i686-linux = f pkgs_i686_linux; ... }’. */
|
||||
testOn = systems: f: forAllSupportedSystems systems
|
||||
testOn = systems: f: forTheseSystems systems
|
||||
(system: hydraJob' (f (pkgsFor system)));
|
||||
|
||||
|
||||
/* Similar to the testOn function, but with an additional
|
||||
'crossSystem' parameter for allPackages, defining the target
|
||||
platform for cross builds. */
|
||||
testOnCross = crossSystem: systems: f: forAllSupportedSystems systems
|
||||
testOnCross = crossSystem: systems: f: forTheseSystems systems
|
||||
(system: hydraJob' (f (allPackages { inherit system crossSystem; })));
|
||||
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@ with import ./release-lib.nix { inherit supportedSystems; };
|
|||
cpio = all;
|
||||
cron = linux;
|
||||
cups = linux;
|
||||
dbus = linux;
|
||||
dhcp = linux;
|
||||
diffutils = all;
|
||||
e2fsprogs = linux;
|
||||
|
@ -174,10 +175,4 @@ with import ./release-lib.nix { inherit supportedSystems; };
|
|||
zile = linux;
|
||||
zip = all;
|
||||
|
||||
dbus = {
|
||||
libs = linux;
|
||||
daemon = linux;
|
||||
tools = linux;
|
||||
};
|
||||
|
||||
} ))
|
||||
|
|
Loading…
Reference in a new issue