Merge staging-next into staging
This commit is contained in:
commit
fc0c744d51
@ -8798,6 +8798,16 @@
|
|||||||
fingerprint = "B3C0 DA1A C18B 82E8 CA8B B1D1 4F62 CD07 CE64 796A";
|
fingerprint = "B3C0 DA1A C18B 82E8 CA8B B1D1 4F62 CD07 CE64 796A";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
vincentbernat = {
|
||||||
|
email = "vincent@bernat.ch";
|
||||||
|
github = "vincentbernat";
|
||||||
|
githubId = 631446;
|
||||||
|
name = "Vincent Bernat";
|
||||||
|
keys = [{
|
||||||
|
longkeyid = "rsa4096/0x95A42FE8353525F9";
|
||||||
|
fingerprint = "AEF2 3487 66F3 71C6 89A7 3600 95A4 2FE8 3535 25F9";
|
||||||
|
}];
|
||||||
|
};
|
||||||
vinymeuh = {
|
vinymeuh = {
|
||||||
email = "vinymeuh@gmail.com";
|
email = "vinymeuh@gmail.com";
|
||||||
github = "vinymeuh";
|
github = "vinymeuh";
|
||||||
|
@ -3,6 +3,7 @@ import argparse
|
|||||||
import atexit
|
import atexit
|
||||||
import base64
|
import base64
|
||||||
import io
|
import io
|
||||||
|
import itertools
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import pathlib
|
import pathlib
|
||||||
@ -92,10 +93,17 @@ logging.basicConfig(format="%(message)s")
|
|||||||
logger = logging.getLogger("test-driver")
|
logger = logging.getLogger("test-driver")
|
||||||
logger.setLevel(logging.INFO)
|
logger.setLevel(logging.INFO)
|
||||||
|
|
||||||
|
machine_colours_iter = (
|
||||||
|
"\x1b[{}m".format(x) for x in itertools.cycle(reversed(range(31, 37)))
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class MachineLogAdapter(logging.LoggerAdapter):
|
class MachineLogAdapter(logging.LoggerAdapter):
|
||||||
def process(self, msg: str, kwargs: Any) -> Tuple[str, Any]:
|
def process(self, msg: str, kwargs: Any) -> Tuple[str, Any]:
|
||||||
return f"{self.extra['machine']}: {msg}", kwargs
|
return (
|
||||||
|
f"{self.extra['colour_code']}{self.extra['machine']}\x1b[39m: {msg}",
|
||||||
|
kwargs,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def make_command(args: list) -> str:
|
def make_command(args: list) -> str:
|
||||||
@ -172,7 +180,10 @@ class Machine:
|
|||||||
self.socket = None
|
self.socket = None
|
||||||
self.monitor: Optional[socket.socket] = None
|
self.monitor: Optional[socket.socket] = None
|
||||||
self.allow_reboot = args.get("allowReboot", False)
|
self.allow_reboot = args.get("allowReboot", False)
|
||||||
self.logger = MachineLogAdapter(logger, extra=dict(machine=self.name))
|
self.logger = MachineLogAdapter(
|
||||||
|
logger,
|
||||||
|
extra=dict(machine=self.name, colour_code=next(machine_colours_iter)),
|
||||||
|
)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def create_startcommand(args: Dict[str, str]) -> str:
|
def create_startcommand(args: Dict[str, str]) -> str:
|
||||||
|
@ -108,6 +108,15 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postBuildCommands = mkOption {
|
||||||
|
example = literalExample "'' dd if=\${pkgs.myBootLoader}/SPL of=$img bs=1024 seek=1 conv=notrunc ''";
|
||||||
|
default = "";
|
||||||
|
description = ''
|
||||||
|
Shell commands to run after the image is built.
|
||||||
|
Can be used for boards requiring to dd u-boot SPL before actual partitions.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
compressImage = mkOption {
|
compressImage = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
@ -197,6 +206,9 @@ in
|
|||||||
# Verify the FAT partition before copying it.
|
# Verify the FAT partition before copying it.
|
||||||
fsck.vfat -vn firmware_part.img
|
fsck.vfat -vn firmware_part.img
|
||||||
dd conv=notrunc if=firmware_part.img of=$img seek=$START count=$SECTORS
|
dd conv=notrunc if=firmware_part.img of=$img seek=$START count=$SECTORS
|
||||||
|
|
||||||
|
${config.sdImage.postBuildCommands}
|
||||||
|
|
||||||
if test -n "$compressImage"; then
|
if test -n "$compressImage"; then
|
||||||
zstd -T$NIX_BUILD_CORES --rm $img
|
zstd -T$NIX_BUILD_CORES --rm $img
|
||||||
fi
|
fi
|
||||||
|
@ -52,6 +52,14 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
lockMessage = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = "";
|
||||||
|
description = ''
|
||||||
|
Message to show on physlock login terminal.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
lockOn = {
|
lockOn = {
|
||||||
|
|
||||||
suspend = mkOption {
|
suspend = mkOption {
|
||||||
@ -111,7 +119,7 @@ in
|
|||||||
++ cfg.lockOn.extraTargets;
|
++ cfg.lockOn.extraTargets;
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "forking";
|
Type = "forking";
|
||||||
ExecStart = "${pkgs.physlock}/bin/physlock -d${optionalString cfg.disableSysRq "s"}";
|
ExecStart = "${pkgs.physlock}/bin/physlock -d${optionalString cfg.disableSysRq "s"}${optionalString (cfg.lockMessage != "") " -p \"${cfg.lockMessage}\""}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -82,6 +82,7 @@ in {
|
|||||||
auth required pam_unix.so nullok
|
auth required pam_unix.so nullok
|
||||||
account required pam_unix.so
|
account required pam_unix.so
|
||||||
session required pam_unix.so
|
session required pam_unix.so
|
||||||
|
session required pam_env.so conffile=${config.system.build.pamEnvironment} readenv=0
|
||||||
session required ${pkgs.systemd}/lib/security/pam_systemd.so
|
session required ${pkgs.systemd}/lib/security/pam_systemd.so
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -21,13 +21,13 @@ with stdenv.lib.strings;
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
version = "unstable-2020-08-03";
|
version = "unstable-2020-08-27";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "grame-cncm";
|
owner = "grame-cncm";
|
||||||
repo = "faust";
|
repo = "faust";
|
||||||
rev = "b6045f4592384076d3b383d116e602a95a000eb3";
|
rev = "c10f316fa90f338e248787ebf55e3795c3a0d70e";
|
||||||
sha256 = "1wcpilwnkc7rrbv9gbkj5hb7kamkh8nrc3r4hbcvbz5ar2pfc6d5";
|
sha256 = "068pm04ddafbsj2r8akdpqyzb0m8mp9ql0rgi83hcqs4ndr8v7sb";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
, alsaLib
|
, alsaLib
|
||||||
, opencv2
|
, opencv2
|
||||||
, libsndfile
|
, libsndfile
|
||||||
|
, which
|
||||||
}:
|
}:
|
||||||
|
|
||||||
faust.wrapWithBuildEnv {
|
faust.wrapWithBuildEnv {
|
||||||
@ -21,6 +22,7 @@ faust.wrapWithBuildEnv {
|
|||||||
alsaLib
|
alsaLib
|
||||||
opencv2
|
opencv2
|
||||||
libsndfile
|
libsndfile
|
||||||
|
which
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
, opencv2
|
, opencv2
|
||||||
, qt4
|
, qt4
|
||||||
, libsndfile
|
, libsndfile
|
||||||
|
, alsaLib
|
||||||
, which
|
, which
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -20,6 +21,7 @@ faust.wrapWithBuildEnv {
|
|||||||
opencv2
|
opencv2
|
||||||
qt4
|
qt4
|
||||||
libsndfile
|
libsndfile
|
||||||
|
alsaLib
|
||||||
which
|
which
|
||||||
];
|
];
|
||||||
|
|
||||||
|
35
pkgs/applications/audio/mooSpace/default.nix
Normal file
35
pkgs/applications/audio/mooSpace/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "mooSpace";
|
||||||
|
version = "unstable-2020-06-10";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "modularev";
|
||||||
|
repo = pname;
|
||||||
|
rev = "e5440407ea6ef9f7fcca838383b2b9a388c22874";
|
||||||
|
sha256 = "10vsbddf6d7i06040850v8xkmqh3bqawczs29kfgakair809wqxl";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
||||||
|
|
||||||
|
patchPhase = "mv ${pname}_faust.dsp ${pname}.dsp";
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
faust2jaqt -time -vec -t 0 ${pname}.dsp
|
||||||
|
faust2lv2 -time -vec -t 0 -gui ${pname}.dsp
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp ${pname} $out/bin/
|
||||||
|
mkdir -p $out/lib/lv2
|
||||||
|
cp -r ${pname}.lv2 $out/lib/lv2
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Variable reverb audio effect, jack and lv2";
|
||||||
|
homepage = "https://github.com/modularev/mooSpace";
|
||||||
|
license = stdenv.lib.licenses.gpl3;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||||
|
};
|
||||||
|
}
|
48
pkgs/applications/editors/code-browser/default.nix
Normal file
48
pkgs/applications/editors/code-browser/default.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, copper
|
||||||
|
, ruby
|
||||||
|
, python3
|
||||||
|
, qtbase
|
||||||
|
, gtk3
|
||||||
|
, pkg-config
|
||||||
|
, withQt ? false
|
||||||
|
, withGtk ? false, wrapQtAppsHook ? null
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "code-browser";
|
||||||
|
version = "7.1.20";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://tibleiz.net/download/code-browser-${version}-src.tar.gz";
|
||||||
|
sha256 = "1svi0v3h42h2lrb8c7pjvqc8019v1p20ibsnl48pfhl8d96mmdnz";
|
||||||
|
};
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile --replace "LFLAGS=-no-pie" "LFLAGS=-no-pie -L."
|
||||||
|
substituteInPlace libs/copper-ui/Makefile --replace "moc -o" "${qtbase.dev}/bin/moc -o"
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
nativeBuildInputs = [ copper
|
||||||
|
python3
|
||||||
|
ruby
|
||||||
|
qtbase
|
||||||
|
gtk3
|
||||||
|
pkg-config
|
||||||
|
]
|
||||||
|
++ stdenv.lib.optionals withQt [ wrapQtAppsHook ];
|
||||||
|
buildInputs = stdenv.lib.optionals withQt [ qtbase ]
|
||||||
|
++ stdenv.lib.optionals withGtk [ gtk3 ];
|
||||||
|
makeFlags = [
|
||||||
|
"prefix=$(out)"
|
||||||
|
"COPPER=${copper}/bin/copper-elf64"
|
||||||
|
"with-local-libs"
|
||||||
|
"QINC=${qtbase.dev}/include"
|
||||||
|
]
|
||||||
|
++ stdenv.lib.optionals withQt [ "UI=qt" ]
|
||||||
|
++ stdenv.lib.optionals withGtk [ "UI=gtk" ];
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Folding text editor, designed to hierarchically structure any kind of text file and especially source code.";
|
||||||
|
homepage = "https://tibleiz.net/code-browser/";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.x86_64;
|
||||||
|
};
|
||||||
|
}
|
27
pkgs/applications/editors/kakoune/plugins/case.kak.nix
Normal file
27
pkgs/applications/editors/kakoune/plugins/case.kak.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchFromGitLab }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "case.kak";
|
||||||
|
version = "unstable-2020-04-06";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
owner = "FlyingWombat";
|
||||||
|
repo = "case.kak";
|
||||||
|
rev = "6f1511820aa3abfa118e0f856118adc8113e2185";
|
||||||
|
sha256 = "002njrlwgakqgp74wivbppr9qyn57dn4n5bxkr6k6nglk9qndwdp";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/kak/autoload/plugins
|
||||||
|
cp -r rc/case.kak $out/share/kak/autoload/plugins
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Ease navigation between opened buffers in Kakoune";
|
||||||
|
homepage = "https://gitlab.com/FlyingWombat/case.kak";
|
||||||
|
license = licenses.unlicense;
|
||||||
|
maintainers = with maintainers; [ eraserhd ];
|
||||||
|
platform = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -3,6 +3,7 @@
|
|||||||
{
|
{
|
||||||
inherit parinfer-rust;
|
inherit parinfer-rust;
|
||||||
|
|
||||||
|
case-kak = pkgs.callPackage ./case.kak.nix { };
|
||||||
kak-ansi = pkgs.callPackage ./kak-ansi.nix { };
|
kak-ansi = pkgs.callPackage ./kak-ansi.nix { };
|
||||||
kak-auto-pairs = pkgs.callPackage ./kak-auto-pairs.nix { };
|
kak-auto-pairs = pkgs.callPackage ./kak-auto-pairs.nix { };
|
||||||
kak-buffers = pkgs.callPackage ./kak-buffers.nix { };
|
kak-buffers = pkgs.callPackage ./kak-buffers.nix { };
|
||||||
|
25
pkgs/applications/editors/kibi/default.nix
Normal file
25
pkgs/applications/editors/kibi/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, rustPlatform
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "kibi";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
cargoSha256 = "0zyqzb3k4ak7h58zjbg9b32hz1vgbbn9i9l85j4vd4aw8mhsz0n9";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ilai-deutel";
|
||||||
|
repo = "kibi";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1cqnzw6gpsmrqcz82zn1x5i6najcr3i7shj0wnqzpwppff9a6yac";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A text editor in ≤1024 lines of code, written in Rust";
|
||||||
|
homepage = "https://github.com/ilai-deutel/kibi";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ robertodr ];
|
||||||
|
};
|
||||||
|
}
|
@ -11,8 +11,8 @@ let
|
|||||||
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
|
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
|
||||||
|
|
||||||
sha256 = {
|
sha256 = {
|
||||||
x86_64-linux = "1yar8j6h39gpnq4givxh5cvi336p56sgc8pg32j6sasqk6mxv02c";
|
x86_64-linux = "1i4vq8a81jgshn9iqkj8rp0yqihq2bjim27c8sh4vl9d6a8a6vcr";
|
||||||
x86_64-darwin = "1d68xkqkd49z7v4y3230l2v77aw34d7jkdbgj0wnc04kv6n8wx88";
|
x86_64-darwin = "090xj8pq3fdn7dcfrzvgvx906k6gs2xm04xkymz8vpm3a4rq1svn";
|
||||||
}.${system};
|
}.${system};
|
||||||
in
|
in
|
||||||
callPackage ./generic.nix rec {
|
callPackage ./generic.nix rec {
|
||||||
@ -21,7 +21,7 @@ in
|
|||||||
|
|
||||||
# Please backport all compatible updates to the stable release.
|
# Please backport all compatible updates to the stable release.
|
||||||
# This is important for the extension ecosystem.
|
# This is important for the extension ecosystem.
|
||||||
version = "1.48.1";
|
version = "1.48.2";
|
||||||
pname = "vscode";
|
pname = "vscode";
|
||||||
|
|
||||||
executableName = "code" + lib.optionalString isInsiders "-insiders";
|
executableName = "code" + lib.optionalString isInsiders "-insiders";
|
||||||
|
@ -11,8 +11,8 @@ let
|
|||||||
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
|
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
|
||||||
|
|
||||||
sha256 = {
|
sha256 = {
|
||||||
x86_64-linux = "0f8p25963i7bbm2zxb4ra935maxk3sxims6j873wqwqnzn701diq";
|
x86_64-linux = "17frdyli375l20mb7sb5bmw000p9cplj4pagmhnb6nibi9wqypdx";
|
||||||
x86_64-darwin = "0k8ylcbiqvb0cnvbz3059rbyjqxmvig8zf7bfqgln1w591i411c4";
|
x86_64-darwin = "1dh5k36fjdfwhidlsg1grjwy3s9jik3pg6xpdgi6946vzqv1vxll";
|
||||||
}.${system};
|
}.${system};
|
||||||
|
|
||||||
sourceRoot = {
|
sourceRoot = {
|
||||||
@ -27,7 +27,7 @@ in
|
|||||||
|
|
||||||
# Please backport all compatible updates to the stable release.
|
# Please backport all compatible updates to the stable release.
|
||||||
# This is important for the extension ecosystem.
|
# This is important for the extension ecosystem.
|
||||||
version = "1.48.1";
|
version = "1.48.2";
|
||||||
pname = "vscodium";
|
pname = "vscodium";
|
||||||
|
|
||||||
executableName = "codium";
|
executableName = "codium";
|
||||||
|
@ -18,13 +18,13 @@
|
|||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "nomacs";
|
pname = "nomacs";
|
||||||
version = "3.17.2045";
|
version = "3.17.2206";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nomacs";
|
owner = "nomacs";
|
||||||
repo = "nomacs";
|
repo = "nomacs";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1lchdmmw2sg0xbpcnsk3sxh120xpcv1lh2khf4h5zzdlccbklq7l";
|
sha256 = "1bq7bv4p7w67172y893lvpk90d6fgdpnylynbj2kn8m2hs6khya4";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -1,24 +1,38 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk2, libpng, exiv2, lcms
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, desktop-file-utils, gtk2, libpng, exiv2, lcms
|
||||||
, intltool, gettext, shared-mime-info, glib, gdk-pixbuf, perl}:
|
, intltool, gettext, shared-mime-info, glib, gdk-pixbuf, perl}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "viewnior";
|
pname = "viewnior";
|
||||||
version = "1.6";
|
version = "1.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "xsisqox";
|
owner = "hellosiyan";
|
||||||
repo = "Viewnior";
|
repo = "Viewnior";
|
||||||
rev = "${pname}-${version}";
|
rev = "${pname}-${version}";
|
||||||
sha256 = "06ppv3r85l3id4ij6h4y5fgm3nib2587fdrdv9fccyi75zk7fs0p";
|
sha256 = "0y4hk3vq8psba5k615w18qj0kbdfp5w0lm98nv5apy6hmcpwfyig";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [
|
||||||
buildInputs =
|
meson
|
||||||
[ pkgconfig gtk2 libpng exiv2 lcms intltool gettext
|
ninja
|
||||||
shared-mime-info glib gdk-pixbuf perl
|
pkgconfig
|
||||||
|
desktop-file-utils
|
||||||
|
intltool
|
||||||
|
gettext
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
buildInputs = [
|
||||||
|
gtk2
|
||||||
|
libpng
|
||||||
|
exiv2
|
||||||
|
lcms
|
||||||
|
shared-mime-info
|
||||||
|
glib
|
||||||
|
gdk-pixbuf
|
||||||
|
perl
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
description = "Fast and simple image viewer";
|
description = "Fast and simple image viewer";
|
||||||
longDescription =
|
longDescription =
|
||||||
'' Viewnior is insipred by big projects like Eye of Gnome, because of it's
|
'' Viewnior is insipred by big projects like Eye of Gnome, because of it's
|
||||||
@ -27,13 +41,9 @@ stdenv.mkDerivation rec {
|
|||||||
with the quality of it's functions. The program is made with better integration
|
with the quality of it's functions. The program is made with better integration
|
||||||
in mind (follows Gnome HIG2).
|
in mind (follows Gnome HIG2).
|
||||||
'';
|
'';
|
||||||
|
license = licenses.gpl3;
|
||||||
license = stdenv.lib.licenses.gpl3;
|
|
||||||
|
|
||||||
homepage = "http://siyanpanayotov.com/project/viewnior/";
|
homepage = "http://siyanpanayotov.com/project/viewnior/";
|
||||||
|
maintainers = with maintainers; [ smironov artturin ];
|
||||||
maintainers = [ stdenv.lib.maintainers.smironov ];
|
platforms = platforms.gnu ++ platforms.linux;
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
pname = "havoc";
|
pname = "havoc";
|
||||||
version = "2019-12-08";
|
version = "0.3.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ii8";
|
owner = "ii8";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "507446c92ed7bf8380a58c5ba2b14aba5cdf412c";
|
rev = version;
|
||||||
sha256 = "13nfnan1gmy4cqxmqv0rc8a4mcb1g62v73d56hy7z2psv4am7a09";
|
sha256 = "1g05r9j6srwz1krqvzckx80jn8fm48rkb4xp68953gy9yp2skg3k";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "cni-plugins";
|
pname = "cni-plugins";
|
||||||
version = "0.8.6";
|
version = "0.8.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "containernetworking";
|
owner = "containernetworking";
|
||||||
repo = "plugins";
|
repo = "plugins";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0f1cqxjf26sy1c4aw6y7pyd9lrz0vknby4q5j6xj77a1pab9073m";
|
sha256 = "1sjk0cghldygx1jgx4bqv83qky7shk64n6xkkfxl92f12wyvsq9j";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
@ -16,7 +16,7 @@ buildGoModule rec {
|
|||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
buildFlagsArray = [
|
buildFlagsArray = [
|
||||||
"-ldflags=-X github.com/containernetworking/plugins/pkg/utils/buildversion.BuildVersion=${version}"
|
"-ldflags=-X github.com/containernetworking/plugins/pkg/utils/buildversion.BuildVersion=v${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
subPackages = [
|
subPackages = [
|
||||||
|
@ -132,8 +132,8 @@ in rec {
|
|||||||
});
|
});
|
||||||
|
|
||||||
terraform_0_13 = pluggable (generic {
|
terraform_0_13 = pluggable (generic {
|
||||||
version = "0.13.0";
|
version = "0.13.1";
|
||||||
sha256 = "0kangddd99ix50w67hi0pwa9js9c0hjxqvrc0lxaa6msjvjsxyyq";
|
sha256 = "0a2sjjb79ziv42ifhplpkvqgsg8gxvr1wdgkhdj59dwahqv64pm2";
|
||||||
patches = [ ./provider-path.patch ];
|
patches = [ ./provider-path.patch ];
|
||||||
passthru = { inherit plugins; };
|
passthru = { inherit plugins; };
|
||||||
});
|
});
|
||||||
|
@ -6,13 +6,13 @@ with stdenv.lib;
|
|||||||
|
|
||||||
perlPackages.buildPerlPackage rec {
|
perlPackages.buildPerlPackage rec {
|
||||||
pname = "convos";
|
pname = "convos";
|
||||||
version = "4.29";
|
version = "4.33";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Nordaaker";
|
owner = "Nordaaker";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "07m9lhwgqq77hi4n2zrya7n8apkjv8xi166bxa0n7pnlknlp74ar";
|
sha256 = "0mxq4jpjk4vvhi5lqslj614dvk84iq12rsdyykxr8h9cnjjs57im";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ]
|
nativeBuildInputs = [ makeWrapper ]
|
||||||
@ -33,6 +33,10 @@ perlPackages.buildPerlPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
# Remove online test
|
||||||
|
#
|
||||||
|
rm t/web-pwa.t
|
||||||
|
|
||||||
# A test fails since gethostbyaddr(127.0.0.1) fails to resolve to localhost in
|
# A test fails since gethostbyaddr(127.0.0.1) fails to resolve to localhost in
|
||||||
# the sandbox, we replace the this out from a substitution expression
|
# the sandbox, we replace the this out from a substitution expression
|
||||||
#
|
#
|
||||||
|
37
pkgs/applications/networking/ncgopher/default.nix
Normal file
37
pkgs/applications/networking/ncgopher/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, rustPlatform
|
||||||
|
, pkg-config
|
||||||
|
, ncurses6
|
||||||
|
, openssl
|
||||||
|
, sqlite
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "ncgopher";
|
||||||
|
version = "0.1.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jansc";
|
||||||
|
repo = "ncgopher";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1mv89sanmr49b9za95jl5slpq960b246j2054r8xfafzqmbp44af";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "12r4vgrg2bkr3p61yxcsg02kppg84vn956l0v1vb08i94rxzc8zk";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
buildInputs = [
|
||||||
|
ncurses6
|
||||||
|
openssl
|
||||||
|
sqlite
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A gopher and gemini client for the modern internet";
|
||||||
|
homepage = "https://github.com/jansc/ncgopher";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ shamilton ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "git-machete";
|
pname = "git-machete";
|
||||||
version = "2.15.3";
|
version = "2.15.4";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0kpfi1w1jnn7v7mny71jil3sc9mm08lz47l9v3hzgs5z3ham98jb";
|
sha256 = "0n2lrsjs3flfv7650yfhck1c96wkn41cv49440m7csy5yw16zlim";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles pbr ];
|
nativeBuildInputs = [ installShellFiles pbr ];
|
||||||
|
@ -18,11 +18,11 @@ with lib;
|
|||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "singularity";
|
pname = "singularity";
|
||||||
version = "3.6.1";
|
version = "3.6.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/hpcng/singularity/releases/download/v${version}/singularity-${version}.tar.gz";
|
url = "https://github.com/hpcng/singularity/releases/download/v${version}/singularity-${version}.tar.gz";
|
||||||
sha256 = "070jj6kbiw23sd2p4xhvmyb8gd83imwgisdf18ahkwp7dq85db3c";
|
sha256 = "16sd08bfa2b1qgpnd3q6k7glw0w1wyrqyf47fz2220yafrryrmyz";
|
||||||
};
|
};
|
||||||
|
|
||||||
goPackagePath = "github.com/sylabs/singularity";
|
goPackagePath = "github.com/sylabs/singularity";
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{ lib, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.001";
|
version = "2.002";
|
||||||
in
|
in
|
||||||
fetchzip {
|
fetchzip {
|
||||||
name = "JetBrainsMono-${version}";
|
name = "JetBrainsMono-${version}";
|
||||||
|
|
||||||
url = "https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrains.Mono.${version}.zip";
|
url = "https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrainsMono-${version}.zip";
|
||||||
|
|
||||||
sha256 = "06rh8dssq6qzgb9rri3an2ka24j47c0i8yhgq81yyg471spc39h1";
|
sha256 = "018lhxi9m8aprls6cnpndzdg5snijwzm22m2pxxi6zcqxrcxh8vb";
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share/fonts
|
mkdir -p $out/share/fonts
|
||||||
@ -21,7 +21,7 @@ fetchzip {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A typeface made for developers";
|
description = "A typeface made for developers";
|
||||||
homepage = "https://jetbrains.com/mono/";
|
homepage = "https://jetbrains.com/mono/";
|
||||||
license = licenses.asl20;
|
license = licenses.ofl;
|
||||||
maintainers = [ maintainers.marsam ];
|
maintainers = [ maintainers.marsam ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "marwaita";
|
pname = "marwaita";
|
||||||
version = "7.4.2";
|
version = "7.4.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "darkomarko42";
|
owner = "darkomarko42";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0kq7d8nqp8m0kbh2k9s0yybfdkyfkhbkjsv22lplnzh1p84pnlx7";
|
sha256 = "1g8xyv0najy4lpwa9xplx3ylxvn86dyi58j7qanc6r9yddy85ln9";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -33,7 +33,6 @@ stdenv.mkDerivation rec {
|
|||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir -p $out/share/themes
|
mkdir -p $out/share/themes
|
||||||
cp -a Marwaita* $out/share/themes
|
cp -a Marwaita* $out/share/themes
|
||||||
rm $out/share/themes/*/COPYING
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -1,19 +1,18 @@
|
|||||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, pcre, mesa, makeWrapper }:
|
{ stdenv, fetchurl, meson, ninja, pkg-config, efl, pcre, mesa }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "terminology";
|
pname = "terminology";
|
||||||
version = "1.8.0";
|
version = "1.8.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz";
|
url = "http://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0pvn8mdzxlx7181xdha32fbr0w8xl7hsnb3hfxr5099g841v1xf6";
|
sha256 = "1fxqjf7g30ix4qxi6366rrax27s3maxq43z2vakwnhz4mp49m9h4";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkgconfig
|
pkg-config
|
||||||
makeWrapper
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
mkDerivation, extra-cmake-modules, kdoctools,
|
lib, mkDerivation, extra-cmake-modules, kdoctools,
|
||||||
kcmutils, kconfig, kdesu, ki18n, kiconthemes, kinit, kio, kwindowsystem,
|
kcmutils, kconfig, kdesu, ki18n, kiconthemes, kinit, kio, kwindowsystem,
|
||||||
qtsvg, qtx11extras, kactivities, plasma-workspace
|
qtsvg, qtx11extras, kactivities, plasma-workspace
|
||||||
}:
|
}:
|
||||||
@ -11,4 +11,18 @@ mkDerivation {
|
|||||||
kcmutils kconfig kdesu ki18n kiconthemes kinit kio kwindowsystem qtsvg
|
kcmutils kconfig kdesu ki18n kiconthemes kinit kio kwindowsystem qtsvg
|
||||||
qtx11extras kactivities plasma-workspace
|
qtx11extras kactivities plasma-workspace
|
||||||
];
|
];
|
||||||
|
postInstall = ''
|
||||||
|
# install a symlink in bin so that kdesu can eventually be found in PATH
|
||||||
|
mkdir -p $out/bin
|
||||||
|
ln -s $out/libexec/kf5/kdesu $out/bin
|
||||||
|
'';
|
||||||
|
dontWrapQtApps = true;
|
||||||
|
preFixup = ''
|
||||||
|
for program in $out/bin/*; do
|
||||||
|
wrapQtApp $program
|
||||||
|
done
|
||||||
|
|
||||||
|
# kdesu looks for kdeinit5 in PATH
|
||||||
|
wrapQtApp $out/libexec/kf5/kdesu --suffix PATH : ${lib.getBin kinit}/bin
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,210 @@
|
|||||||
|
From e63a0dc2a7b185906a93d60e9d5d6deee4950efc Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?M=C3=A9ven=20Car?= <meven.car@enioka.com>
|
||||||
|
Date: Wed, 20 May 2020 14:02:07 +0200
|
||||||
|
Subject: [PATCH] Add a logging category config file
|
||||||
|
|
||||||
|
Makes powerdevil default logging level Warning
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 2 ++
|
||||||
|
daemon/CMakeLists.txt | 6 ++++++
|
||||||
|
daemon/actions/dpms/CMakeLists.txt | 2 +-
|
||||||
|
daemon/backends/CMakeLists.txt | 6 +++---
|
||||||
|
daemon/powerdevil_debug.cpp | 21 ---------------------
|
||||||
|
daemon/powerdevil_debug.h | 26 --------------------------
|
||||||
|
kcmodule/activities/CMakeLists.txt | 2 +-
|
||||||
|
kcmodule/common/CMakeLists.txt | 2 +-
|
||||||
|
kcmodule/profiles/CMakeLists.txt | 2 +-
|
||||||
|
powerdevil.categories | 1 +
|
||||||
|
10 files changed, 16 insertions(+), 54 deletions(-)
|
||||||
|
delete mode 100644 daemon/powerdevil_debug.cpp
|
||||||
|
delete mode 100644 daemon/powerdevil_debug.h
|
||||||
|
create mode 100644 powerdevil.categories
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 5ded8f5a..52a7318c 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -11,6 +11,7 @@ find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
|
||||||
|
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||||
|
|
||||||
|
include(ECMSetupVersion)
|
||||||
|
+include(ECMQtDeclareLoggingCategory)
|
||||||
|
include(FeatureSummary)
|
||||||
|
include(KDEInstallDirs)
|
||||||
|
include(KDECMakeSettings)
|
||||||
|
@@ -76,6 +77,7 @@ add_subdirectory(daemon)
|
||||||
|
add_subdirectory(kcmodule)
|
||||||
|
add_subdirectory(doc)
|
||||||
|
|
||||||
|
+install( FILES powerdevil.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
|
||||||
|
install( FILES powerdevil.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR} )
|
||||||
|
|
||||||
|
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
||||||
|
diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt
|
||||||
|
index 33ca655b..96cc9b7b 100644
|
||||||
|
--- a/daemon/CMakeLists.txt
|
||||||
|
+++ b/daemon/CMakeLists.txt
|
||||||
|
@@ -48,6 +48,12 @@ set(powerdevilcore_SRCS
|
||||||
|
kwinkscreenhelpereffect.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
+ecm_qt_declare_logging_category(powerdevilcore_SRCS
|
||||||
|
+ HEADER powerdevil_debug.h
|
||||||
|
+ IDENTIFIER POWERDEVIL
|
||||||
|
+ CATEGORY_NAME org.kde.powerdevil
|
||||||
|
+ DEFAULT_SEVERITY Warning)
|
||||||
|
+
|
||||||
|
kconfig_add_kcfg_files(powerdevilcore_SRCS ../PowerDevilSettings.kcfgc)
|
||||||
|
|
||||||
|
# Action DBus Adaptors
|
||||||
|
diff --git a/daemon/actions/dpms/CMakeLists.txt b/daemon/actions/dpms/CMakeLists.txt
|
||||||
|
index f8ca4e20..3b8bd95b 100644
|
||||||
|
--- a/daemon/actions/dpms/CMakeLists.txt
|
||||||
|
+++ b/daemon/actions/dpms/CMakeLists.txt
|
||||||
|
@@ -3,7 +3,7 @@ include_directories(${PowerDevil_SOURCE_DIR}/daemon
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
|
set(powerdevildpmsaction_SRCS
|
||||||
|
- ${PowerDevil_SOURCE_DIR}/daemon/powerdevil_debug.cpp
|
||||||
|
+ ${CMAKE_CURRENT_BINARY_DIR}/../../powerdevil_debug.cpp
|
||||||
|
powerdevildpmsaction.cpp
|
||||||
|
abstractdpmshelper.cpp
|
||||||
|
xcbdpmshelper.cpp
|
||||||
|
diff --git a/daemon/backends/CMakeLists.txt b/daemon/backends/CMakeLists.txt
|
||||||
|
index 89400446..05c4263e 100644
|
||||||
|
--- a/daemon/backends/CMakeLists.txt
|
||||||
|
+++ b/daemon/backends/CMakeLists.txt
|
||||||
|
@@ -4,7 +4,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/upower
|
||||||
|
${X11_Xrandr_INCLUDE_PATH})
|
||||||
|
|
||||||
|
set(powerdevilupowerbackend_SRCS
|
||||||
|
- ${PowerDevil_SOURCE_DIR}/daemon/powerdevil_debug.cpp
|
||||||
|
+ ${CMAKE_CURRENT_BINARY_DIR}/../powerdevil_debug.cpp
|
||||||
|
upower/upowersuspendjob.cpp
|
||||||
|
upower/login1suspendjob.cpp
|
||||||
|
upower/powerdevilupowerbackend.cpp
|
||||||
|
@@ -33,14 +33,14 @@ ${CMAKE_CURRENT_SOURCE_DIR}/upower/dbus/org.freedesktop.UPower.KbdBacklight.xml
|
||||||
|
upower_kbdbacklight_interface)
|
||||||
|
|
||||||
|
## backlight helper executable
|
||||||
|
-add_executable(backlighthelper upower/backlighthelper.cpp ${PowerDevil_SOURCE_DIR}/daemon/powerdevil_debug.cpp ${backlighthelper_mocs})
|
||||||
|
+add_executable(backlighthelper upower/backlighthelper.cpp ${CMAKE_CURRENT_BINARY_DIR}/../powerdevil_debug.cpp ${backlighthelper_mocs})
|
||||||
|
target_link_libraries(backlighthelper Qt5::Core KF5::AuthCore KF5::I18n)
|
||||||
|
install(TARGETS backlighthelper DESTINATION ${KAUTH_HELPER_INSTALL_DIR})
|
||||||
|
kauth_install_helper_files(backlighthelper org.kde.powerdevil.backlighthelper root)
|
||||||
|
kauth_install_actions(org.kde.powerdevil.backlighthelper ${CMAKE_CURRENT_SOURCE_DIR}/upower/backlight_helper_actions.actions)
|
||||||
|
|
||||||
|
## discrete gpu helper executable
|
||||||
|
-add_executable(discretegpuhelper upower/discretegpuhelper.cpp ${PowerDevil_SOURCE_DIR}/daemon/powerdevil_debug.cpp ${discretegpuhelper_mocs})
|
||||||
|
+add_executable(discretegpuhelper upower/discretegpuhelper.cpp ${CMAKE_CURRENT_BINARY_DIR}/../powerdevil_debug.cpp ${discretegpuhelper_mocs})
|
||||||
|
target_link_libraries(discretegpuhelper Qt5::Core KF5::AuthCore)
|
||||||
|
install(TARGETS discretegpuhelper DESTINATION ${KAUTH_HELPER_INSTALL_DIR})
|
||||||
|
kauth_install_helper_files(discretegpuhelper org.kde.powerdevil.discretegpuhelper root)
|
||||||
|
diff --git a/daemon/powerdevil_debug.cpp b/daemon/powerdevil_debug.cpp
|
||||||
|
deleted file mode 100644
|
||||||
|
index 86172c1b..00000000
|
||||||
|
--- a/daemon/powerdevil_debug.cpp
|
||||||
|
+++ /dev/null
|
||||||
|
@@ -1,21 +0,0 @@
|
||||||
|
-/* This file is part of the KDE project
|
||||||
|
- Copyright (C) 2014 Hrvoje Senjan <hrvoje.senjan@gmail.com>
|
||||||
|
-
|
||||||
|
- This library is free software; you can redistribute it and/or
|
||||||
|
- modify it under the terms of the GNU Library General Public
|
||||||
|
- License as published by the Free Software Foundation; either
|
||||||
|
- version 2 of the License, or (at your option) any later version.
|
||||||
|
-
|
||||||
|
- This library is distributed in the hope that it will be useful,
|
||||||
|
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
- Library General Public License for more details.
|
||||||
|
-
|
||||||
|
- You should have received a copy of the GNU Library General Public License
|
||||||
|
- along with this library; see the file COPYING.LIB. If not, write to
|
||||||
|
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
- Boston, MA 02110-1301, USA.
|
||||||
|
-*/
|
||||||
|
-
|
||||||
|
-#include "powerdevil_debug.h"
|
||||||
|
-Q_LOGGING_CATEGORY(POWERDEVIL, "powerdevil")
|
||||||
|
diff --git a/daemon/powerdevil_debug.h b/daemon/powerdevil_debug.h
|
||||||
|
deleted file mode 100644
|
||||||
|
index fcd9c10f..00000000
|
||||||
|
--- a/daemon/powerdevil_debug.h
|
||||||
|
+++ /dev/null
|
||||||
|
@@ -1,26 +0,0 @@
|
||||||
|
-/* This file is part of the KDE project
|
||||||
|
- Copyright (C) 2014 Hrvoje Senjan <hrvoje.senjan@gmail.com>
|
||||||
|
-
|
||||||
|
- This library is free software; you can redistribute it and/or
|
||||||
|
- modify it under the terms of the GNU Library General Public
|
||||||
|
- License as published by the Free Software Foundation; either
|
||||||
|
- version 2 of the License, or (at your option) any later version.
|
||||||
|
-
|
||||||
|
- This library is distributed in the hope that it will be useful,
|
||||||
|
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
- Library General Public License for more details.
|
||||||
|
-
|
||||||
|
- You should have received a copy of the GNU Library General Public License
|
||||||
|
- along with this library; see the file COPYING.LIB. If not, write to
|
||||||
|
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
- Boston, MA 02110-1301, USA.
|
||||||
|
-*/
|
||||||
|
-
|
||||||
|
-#ifndef PROCESSCORE_DEBUG_H
|
||||||
|
-#define PROCESSCORE_DEBUG_H
|
||||||
|
-
|
||||||
|
-#include <QLoggingCategory>
|
||||||
|
-Q_DECLARE_LOGGING_CATEGORY(POWERDEVIL)
|
||||||
|
-
|
||||||
|
-#endif
|
||||||
|
diff --git a/kcmodule/activities/CMakeLists.txt b/kcmodule/activities/CMakeLists.txt
|
||||||
|
index 41a6da48..6e248e91 100644
|
||||||
|
--- a/kcmodule/activities/CMakeLists.txt
|
||||||
|
+++ b/kcmodule/activities/CMakeLists.txt
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
add_definitions(-DTRANSLATION_DOMAIN=\"powerdevilactivitiesconfig\")
|
||||||
|
|
||||||
|
set( kcm_powerdevil_activities_SRCS
|
||||||
|
- ${PowerDevil_SOURCE_DIR}/daemon/powerdevil_debug.cpp
|
||||||
|
+ ${CMAKE_CURRENT_BINARY_DIR}/../../daemon/powerdevil_debug.cpp
|
||||||
|
activitypage.cpp
|
||||||
|
activitywidget.cpp
|
||||||
|
../common/ErrorOverlay.cpp
|
||||||
|
diff --git a/kcmodule/common/CMakeLists.txt b/kcmodule/common/CMakeLists.txt
|
||||||
|
index ca483fa7..400b7746 100644
|
||||||
|
--- a/kcmodule/common/CMakeLists.txt
|
||||||
|
+++ b/kcmodule/common/CMakeLists.txt
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
add_definitions(-DTRANSLATION_DOMAIN=\"libpowerdevilcommonconfig\")
|
||||||
|
|
||||||
|
set( powerdevil_config_common_private_SRCS
|
||||||
|
- ${PowerDevil_SOURCE_DIR}/daemon/powerdevil_debug.cpp
|
||||||
|
+ ${CMAKE_CURRENT_BINARY_DIR}/../../daemon/powerdevil_debug.cpp
|
||||||
|
actionconfigwidget.cpp
|
||||||
|
actioneditwidget.cpp
|
||||||
|
ErrorOverlay.cpp
|
||||||
|
diff --git a/kcmodule/profiles/CMakeLists.txt b/kcmodule/profiles/CMakeLists.txt
|
||||||
|
index ac5c96e0..32279089 100644
|
||||||
|
--- a/kcmodule/profiles/CMakeLists.txt
|
||||||
|
+++ b/kcmodule/profiles/CMakeLists.txt
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
add_definitions(-DTRANSLATION_DOMAIN=\"powerdevilprofilesconfig\")
|
||||||
|
|
||||||
|
set( kcm_powerdevil_profiles_SRCS
|
||||||
|
- ${PowerDevil_SOURCE_DIR}/daemon/powerdevil_debug.cpp
|
||||||
|
+ ${CMAKE_CURRENT_BINARY_DIR}/../../daemon/powerdevil_debug.cpp
|
||||||
|
EditPage.cpp
|
||||||
|
${PowerDevil_SOURCE_DIR}/daemon/powerdevilprofilegenerator.cpp
|
||||||
|
)
|
||||||
|
diff --git a/powerdevil.categories b/powerdevil.categories
|
||||||
|
new file mode 100644
|
||||||
|
index 00000000..3147de54
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/powerdevil.categories
|
||||||
|
@@ -0,0 +1 @@
|
||||||
|
+org.kde.powerdevil Powerdevil DEFAULT_SEVERITY [WARNING] IDENTIFIER [POWERDEVIL]
|
||||||
|
--
|
||||||
|
2.25.4
|
||||||
|
|
@ -27,5 +27,10 @@ mkDerivation {
|
|||||||
url = "https://invent.kde.org/plasma/powerdevil/-/commit/fcb26be2fb279e6ad3b7b814d26a5921d16201eb.patch";
|
url = "https://invent.kde.org/plasma/powerdevil/-/commit/fcb26be2fb279e6ad3b7b814d26a5921d16201eb.patch";
|
||||||
sha256 = "0gdyaa0nd1c1d6x2h0m933lascm8zm5sikd99wxmkf7hhaby6k2s";
|
sha256 = "0gdyaa0nd1c1d6x2h0m933lascm8zm5sikd99wxmkf7hhaby6k2s";
|
||||||
})
|
})
|
||||||
|
# This is a backport of
|
||||||
|
# https://invent.kde.org/plasma/powerdevil/-/commit/c7590f9065ec9547b7fabad77a548bbc0c693113.patch,
|
||||||
|
# which doesn't apply cleanly to 5.17.5. It should make it into 5.20, so
|
||||||
|
# this patch can be removed when we upgrade to 5.20.
|
||||||
|
./patches/0001-Add-a-logging-category-config-file.patch
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -2,12 +2,11 @@
|
|||||||
enableX11 ? false, xlibsWrapper ? null }:
|
enableX11 ? false, xlibsWrapper ? null }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "9.2";
|
version = "10.1.10";
|
||||||
bootstrapFromC = ! (stdenv.isi686 || stdenv.isx86_64);
|
bootstrapFromC = ! (stdenv.isi686 || stdenv.isx86_64);
|
||||||
|
|
||||||
arch = if stdenv.isi686 then "-i386"
|
arch = if stdenv.isi686 then "-i386"
|
||||||
else if stdenv.isx86_64 then "-x86-64"
|
else "-x86-64";
|
||||||
else "";
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = if enableX11 then "mit-scheme-x11-${version}" else "mit-scheme-${version}";
|
name = if enableX11 then "mit-scheme-x11-${version}" else "mit-scheme-${version}";
|
||||||
@ -20,14 +19,10 @@ stdenv.mkDerivation {
|
|||||||
if stdenv.isi686
|
if stdenv.isi686
|
||||||
then fetchurl {
|
then fetchurl {
|
||||||
url = "mirror://gnu/mit-scheme/stable.pkg/${version}/mit-scheme-${version}-i386.tar.gz";
|
url = "mirror://gnu/mit-scheme/stable.pkg/${version}/mit-scheme-${version}-i386.tar.gz";
|
||||||
sha256 = "1fmlpnhf5a75db93phajh4ysbdgrgl72v45lk3kznriprl0a7jc6";
|
sha256 = "117lf06vcdbaa5432hwqnskpywc6x8ai0gj99h480a4wzkp3vhy6";
|
||||||
} else if stdenv.isx86_64
|
|
||||||
then fetchurl {
|
|
||||||
url = "mirror://gnu/mit-scheme/stable.pkg/${version}/mit-scheme-${version}-x86-64.tar.gz";
|
|
||||||
sha256 = "1skzxxhr0iq96bf0j5m7mvf3i4sppfyfa6gpqn34mwgkw1fx8274";
|
|
||||||
} else fetchurl {
|
} else fetchurl {
|
||||||
url = "mirror://gnu/mit-scheme/stable.pkg/${version}/mit-scheme-c-${version}.tar.gz";
|
url = "mirror://gnu/mit-scheme/stable.pkg/${version}/mit-scheme-${version}-x86-64.tar.gz";
|
||||||
sha256 = "0w5ib5vsidihb4hb6fma3sp596ykr8izagm57axvgd6lqzwicsjg";
|
sha256 = "1rljv6iddrbssm91c0nn08myj92af36hkix88cc6qwq38xsxs52g";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = if enableX11 then [xlibsWrapper] else [];
|
buildInputs = if enableX11 then [xlibsWrapper] else [];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import ./generic.nix {
|
import ./generic.nix {
|
||||||
major_version = "4";
|
major_version = "4";
|
||||||
minor_version = "11";
|
minor_version = "11";
|
||||||
patch_version = "0+beta3";
|
patch_version = "0";
|
||||||
sha256 = "18lpgirxil00pgy805cyi97v6ycmg93sdvbkc60i35ili030v1f7";
|
sha256 = "04b13yfismkqh21ag641q9dl0i602khgh4427g1a7pb77c4skr7z";
|
||||||
}
|
}
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
let params = {
|
let params = {
|
||||||
"8.11" = rec {
|
"8.11" = rec {
|
||||||
version = "1.5.0";
|
version = "1.6.0_8.11";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0dlw869j6ib58i8fhbr7x3hq2cy088arihhfanv8i08djqml6g8x";
|
sha256 = "0ahxjnzmd7kl3gl38kyjqzkfgllncr2ybnw8bvgrc6iddgga7bpq";
|
||||||
};
|
};
|
||||||
"8.12" = rec {
|
"8.12" = rec {
|
||||||
version = "1.5.1";
|
version = "1.6.0";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1znjc8c8rivsawmz5bgm9ddl69p62p2pwxphvpap1gfmi5cp8lwi";
|
sha256 = "0kf99i43mlf750fr7fric764mm495a53mg5kahnbp6zcjcxxrm0b";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
param = params.${coq.coq-version};
|
param = params.${coq.coq-version};
|
||||||
|
@ -20,6 +20,6 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
description = "Intel Graphics Memory Management Library";
|
description = "Intel Graphics Memory Management Library";
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
maintainers = with maintainers; [ jfrankenau ];
|
maintainers = with maintainers; [ danieldk ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -150,7 +150,7 @@ let
|
|||||||
kdeclarative = callPackage ./kdeclarative.nix {};
|
kdeclarative = callPackage ./kdeclarative.nix {};
|
||||||
kded = callPackage ./kded.nix {};
|
kded = callPackage ./kded.nix {};
|
||||||
kdesignerplugin = callPackage ./kdesignerplugin.nix {};
|
kdesignerplugin = callPackage ./kdesignerplugin.nix {};
|
||||||
kdesu = callPackage ./kdesu.nix {};
|
kdesu = callPackage ./kdesu {};
|
||||||
kdewebkit = callPackage ./kdewebkit.nix {};
|
kdewebkit = callPackage ./kdewebkit.nix {};
|
||||||
kemoticons = callPackage ./kemoticons.nix {};
|
kemoticons = callPackage ./kemoticons.nix {};
|
||||||
kglobalaccel = callPackage ./kglobalaccel.nix {};
|
kglobalaccel = callPackage ./kglobalaccel.nix {};
|
||||||
|
@ -11,4 +11,5 @@ mkDerivation {
|
|||||||
buildInputs = [ kcoreaddons ki18n kpty kservice qtbase ];
|
buildInputs = [ kcoreaddons ki18n kpty kservice qtbase ];
|
||||||
propagatedBuildInputs = [ kpty ];
|
propagatedBuildInputs = [ kpty ];
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
patches = [ ./kdesu-search-for-wrapped-daemon-first.patch ];
|
||||||
}
|
}
|
@ -0,0 +1,38 @@
|
|||||||
|
From 01af4d2a098e5819c09bca37568941dcd4b89d0b Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= <malaquias@gmail.com>
|
||||||
|
Date: Thu, 16 Jul 2020 13:21:42 -0300
|
||||||
|
Subject: [PATCH] Search for the daemon first in /run/wrappers/bin
|
||||||
|
|
||||||
|
If looking first in libexec, the eventually wrapped one in
|
||||||
|
/run/wrappers/bin can not be found.
|
||||||
|
---
|
||||||
|
src/client.cpp | 13 ++++++++-----
|
||||||
|
1 file changed, 8 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/client.cpp b/src/client.cpp
|
||||||
|
index 44fbacd..6b5abf5 100644
|
||||||
|
--- a/src/client.cpp
|
||||||
|
+++ b/src/client.cpp
|
||||||
|
@@ -378,11 +378,14 @@ int KDEsuClient::stopServer()
|
||||||
|
|
||||||
|
static QString findDaemon()
|
||||||
|
{
|
||||||
|
- QString daemon = QFile::decodeName(CMAKE_INSTALL_FULL_LIBEXECDIR_KF5 "/kdesud");
|
||||||
|
- if (!QFile::exists(daemon)) { // if not in libexec, find it in PATH
|
||||||
|
- daemon = QStandardPaths::findExecutable(QStringLiteral("kdesud"));
|
||||||
|
- if (daemon.isEmpty()) {
|
||||||
|
- qWarning() << "kdesud daemon not found.";
|
||||||
|
+ QString daemon = QFile::decodeName("/run/wrappers/bin/kdesud");
|
||||||
|
+ if (!QFile::exists(daemon)) { // if not in wrappers
|
||||||
|
+ daemon = QFile::decodeName(CMAKE_INSTALL_FULL_LIBEXECDIR_KF5 "/kdesud");
|
||||||
|
+ if (!QFile::exists(daemon)) { // if not in libexec, find it in PATH
|
||||||
|
+ daemon = QStandardPaths::findExecutable(QStringLiteral("kdesud"));
|
||||||
|
+ if (daemon.isEmpty()) {
|
||||||
|
+ qWarning() << "kdesud daemon not found.";
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return daemon;
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
@ -101,8 +101,14 @@ let
|
|||||||
./qtwebengine-darwin-no-platform-check.patch
|
./qtwebengine-darwin-no-platform-check.patch
|
||||||
./qtwebengine-darwin-fix-failed-static-assertion.patch
|
./qtwebengine-darwin-fix-failed-static-assertion.patch
|
||||||
];
|
];
|
||||||
qtwebkit = [ ./qtwebkit.patch ]
|
qtwebkit = [
|
||||||
++ optionals stdenv.isDarwin [
|
(fetchpatch {
|
||||||
|
name = "qtwebkit-bison-3.7-build.patch";
|
||||||
|
url = "https://github.com/qtwebkit/qtwebkit/commit/d92b11fea65364fefa700249bd3340e0cd4c5b31.patch";
|
||||||
|
sha256 = "0h8ymfnwgkjkwaankr3iifiscsvngqpwb91yygndx344qdiw9y0n";
|
||||||
|
})
|
||||||
|
./qtwebkit.patch
|
||||||
|
] ++ optionals stdenv.isDarwin [
|
||||||
./qtwebkit-darwin-no-readline.patch
|
./qtwebkit-darwin-no-readline.patch
|
||||||
./qtwebkit-darwin-no-qos-classes.patch
|
./qtwebkit-darwin-no-qos-classes.patch
|
||||||
];
|
];
|
||||||
|
@ -72,8 +72,14 @@ let
|
|||||||
qtserialport = [ ./qtserialport.patch ];
|
qtserialport = [ ./qtserialport.patch ];
|
||||||
qtwebengine = [ ]
|
qtwebengine = [ ]
|
||||||
++ optional stdenv.isDarwin ./qtwebengine-darwin-no-platform-check.patch;
|
++ optional stdenv.isDarwin ./qtwebengine-darwin-no-platform-check.patch;
|
||||||
qtwebkit = [ ./qtwebkit.patch ]
|
qtwebkit = [
|
||||||
++ optionals stdenv.isDarwin [
|
(fetchpatch {
|
||||||
|
name = "qtwebkit-bison-3.7-build.patch";
|
||||||
|
url = "https://github.com/qtwebkit/qtwebkit/commit/d92b11fea65364fefa700249bd3340e0cd4c5b31.patch";
|
||||||
|
sha256 = "0h8ymfnwgkjkwaankr3iifiscsvngqpwb91yygndx344qdiw9y0n";
|
||||||
|
})
|
||||||
|
./qtwebkit.patch
|
||||||
|
] ++ optionals stdenv.isDarwin [
|
||||||
./qtwebkit-darwin-no-readline.patch
|
./qtwebkit-darwin-no-readline.patch
|
||||||
./qtwebkit-darwin-no-qos-classes.patch
|
./qtwebkit-darwin-no-qos-classes.patch
|
||||||
];
|
];
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "petsc";
|
pname = "petsc";
|
||||||
version = "3.13.3";
|
version = "3.13.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-${version}.tar.gz";
|
url = "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-${version}.tar.gz";
|
||||||
sha256 = "0fhydhws57hvxv7mkldlicm2xmmnb9f4nhd8n16idxg4snck38vz";
|
sha256 = "1n2paqw5c0ja392s1qhp7q2ypwav8s5drxxz2w5m2cn31vbspy1c";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ blas gfortran gfortran.cc.lib lapack python ];
|
nativeBuildInputs = [ blas gfortran gfortran.cc.lib lapack python ];
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
{ lib, fetchzip, buildDunePackage, camlp5
|
{ lib, fetchzip, buildDunePackage, camlp5
|
||||||
, ppx_tools_versioned, ppx_deriving, re
|
, ppxlib, ppx_deriving, re, perl, ncurses
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "elpi";
|
pname = "elpi";
|
||||||
version = "1.11.2";
|
version = "1.11.4";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/LPCIC/elpi/releases/download/v${version}/elpi-v${version}.tbz";
|
url = "https://github.com/LPCIC/elpi/releases/download/v${version}/elpi-v${version}.tbz";
|
||||||
sha256 = "15hamy9ifr05kczadwh3yj2gmr12a9z1jwppmp5yrns0vykjbj76";
|
sha256 = "1hmjp2z52j17vwhhdkj45n9jx11jxkdg2dwa0n04yyw0qqy4m7c1";
|
||||||
};
|
};
|
||||||
|
|
||||||
minimumOCamlVersion = "4.04";
|
minimumOCamlVersion = "4.04";
|
||||||
|
|
||||||
buildInputs = [ ppx_tools_versioned ];
|
buildInputs = [ perl ncurses ppxlib ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ camlp5 ppx_deriving re ];
|
propagatedBuildInputs = [ camlp5 ppx_deriving re ];
|
||||||
|
|
||||||
@ -24,5 +24,9 @@ buildDunePackage rec {
|
|||||||
homepage = "https://github.com/LPCIC/elpi";
|
homepage = "https://github.com/LPCIC/elpi";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace elpi_REPL.ml --replace "tput cols" "${ncurses}/bin/tput cols"
|
||||||
|
'';
|
||||||
|
|
||||||
useDune2 = true;
|
useDune2 = true;
|
||||||
}
|
}
|
||||||
|
@ -21,4 +21,3 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,4 +34,3 @@ buildPythonPackage rec {
|
|||||||
maintainers = [ maintainers.arnoldfarkas ];
|
maintainers = [ maintainers.arnoldfarkas ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "azure-mgmt-cosmosdb";
|
pname = "azure-mgmt-cosmosdb";
|
||||||
version = "0.16.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
sha256 = "308aeabdff61bf35ceb7a3d6dd19f1ab69a041bd92c85ee24d98a624968697f3";
|
sha256 = "e08b37aea8e6b62596f55f9beb924e1759b2dc424c180ab2e752153a2b01b723";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "1.6.0";
|
version = "1.7.0";
|
||||||
pname = "azure-mgmt-hdinsight";
|
pname = "azure-mgmt-hdinsight";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "b1d06279307c41da5e0a5c9722aa6b36ce3b2c212534a54767210639451b9800";
|
sha256 = "9d1120bd9760687d87594ec5ce9257b7335504afbe55b3cda79462c1e07a095b";
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bitarray";
|
pname = "bitarray";
|
||||||
version = "1.5.1";
|
version = "1.5.3";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "45bba08bc142781ec7e18a847735219390808f9b6279c356252edddaee1f5fcd";
|
sha256 = "567631fc922b1c2c528c376795f18dcc0604d18702e0b8b50e8e35f0474214a5";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
{ lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k, isPy27 }:
|
{ lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k, isPy27 }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "4.19.2";
|
version = "4.20.0";
|
||||||
pname = "breathe";
|
pname = "breathe";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1mzcggfr61lqkn6sghg842ah9slfjr0ikc776vbx60iqqw9l1gvn";
|
sha256 = "d7e1e1ee9b0615423b7e9abc64f0afe12e7bcf32c817a8fd1d9c8c3c4b3d71c9";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ docutils six sphinx ];
|
propagatedBuildInputs = [ docutils six sphinx ];
|
||||||
|
@ -11,18 +11,19 @@
|
|||||||
, scs
|
, scs
|
||||||
, six
|
, six
|
||||||
# Check inputs
|
# Check inputs
|
||||||
|
, pytestCheckHook
|
||||||
, nose
|
, nose
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cvxpy";
|
pname = "cvxpy";
|
||||||
version = "1.1.4";
|
version = "1.1.5";
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1f37da2f891508ebc2bbb2b75c46a2076be39a60a45c8a88261e000e8aabeef2";
|
sha256 = "7c826a874db2e4cefe54e63ebd3a3763d0d72e55a17c7d1cfec80008a87b8d81";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -36,15 +37,19 @@ buildPythonPackage rec {
|
|||||||
six
|
six
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ nose ];
|
checkInputs = [ pytestCheckHook nose ];
|
||||||
checkPhase = ''
|
pytestFlagsArray = [ "./cvxpy" ];
|
||||||
nosetests cvxpy
|
# Disable the slowest benchmarking tests, cuts test time in half
|
||||||
'';
|
disabledTests = [
|
||||||
|
"test_tv_inpainting"
|
||||||
|
"test_diffcp_sdp_example"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A domain-specific language for modeling convex optimization problems in Python.";
|
description = "A domain-specific language for modeling convex optimization problems in Python.";
|
||||||
homepage = "https://www.cvxpy.org/";
|
homepage = "https://www.cvxpy.org/";
|
||||||
downloadPage = "https://github.com/cvxgrp/cvxpy/releases";
|
downloadPage = "https://github.com/cvxgrp/cvxpy/releases";
|
||||||
|
changelog = "https://github.com/cvxgrp/cvxpy/releases/tag/v${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ drewrisinger ];
|
maintainers = with maintainers; [ drewrisinger ];
|
||||||
};
|
};
|
||||||
|
@ -22,4 +22,3 @@ buildPythonPackage rec {
|
|||||||
maintainers = with maintainers; [ psyanticy ];
|
maintainers = with maintainers; [ psyanticy ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,14 +13,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "graphviz";
|
pname = "graphviz";
|
||||||
version = "0.10.1";
|
version = "0.14.1";
|
||||||
|
|
||||||
# patch does not apply to PyPI tarball due to different line endings
|
# patch does not apply to PyPI tarball due to different line endings
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "xflr6";
|
owner = "xflr6";
|
||||||
repo = "graphviz";
|
repo = "graphviz";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1vqk4xy45c72la56j24z9jmjp5a0aa2k32fybnlbkzqjvvbl72d8";
|
sha256 = "02bdiac5x93f2mjw5kpgs6kv81hzg07y0mw1nxvhyg8aignzmh3c";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -1,38 +1,39 @@
|
|||||||
diff --git a/graphviz/backend.py b/graphviz/backend.py
|
diff --git a/graphviz/backend.py b/graphviz/backend.py
|
||||||
index 704017b..fe4aefe 100644
|
index 6f4cc0c..bc4781e 100644
|
||||||
--- a/graphviz/backend.py
|
--- a/graphviz/backend.py
|
||||||
+++ b/graphviz/backend.py
|
+++ b/graphviz/backend.py
|
||||||
@@ -114,7 +114,7 @@ def command(engine, format, filepath=None, renderer=None, formatter=None):
|
@@ -122,7 +122,7 @@ def command(engine, format_, filepath=None, renderer=None, formatter=None):
|
||||||
suffix = '.'.join(reversed(format_arg))
|
raise ValueError('unknown formatter: %r' % formatter)
|
||||||
format_arg = ':'.join(format_arg)
|
|
||||||
|
|
||||||
- cmd = [engine, '-T%s' % format_arg]
|
output_format = [f for f in (format_, renderer, formatter) if f is not None]
|
||||||
+ cmd = [os.path.join('@graphviz@/bin', engine), '-T%s' % format_arg]
|
- cmd = [engine, '-T%s' % ':'.join(output_format)]
|
||||||
|
+ cmd = [os.path.join('@graphviz@/bin', engine), '-T%s' % ':'.join(output_format)]
|
||||||
|
|
||||||
|
if filepath is None:
|
||||||
rendered = None
|
rendered = None
|
||||||
if filepath is not None:
|
@@ -255,7 +255,7 @@ def version():
|
||||||
cmd.extend(['-O', filepath])
|
|
||||||
@@ -217,7 +217,7 @@ def version():
|
|
||||||
subprocess.CalledProcessError: If the exit status is non-zero.
|
subprocess.CalledProcessError: If the exit status is non-zero.
|
||||||
RuntimmeError: If the output cannot be parsed into a version number.
|
RuntimmeError: If the output cannot be parsed into a version number.
|
||||||
"""
|
"""
|
||||||
- cmd = ['dot', '-V']
|
- cmd = ['dot', '-V']
|
||||||
+ cmd = ['@graphviz@/bin/dot', '-V']
|
+ cmd = ['@graphviz@/bin/dot', '-V']
|
||||||
out, _ = run(cmd, check=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
out, _ = run(cmd, check=True, encoding='ascii',
|
||||||
|
stdout=subprocess.PIPE,
|
||||||
info = out.decode('ascii')
|
stderr=subprocess.STDOUT)
|
||||||
diff --git a/tests/test_backend.py b/tests/test_backend.py
|
diff --git a/tests/test_backend.py b/tests/test_backend.py
|
||||||
index 7ec12f7..2e8550d 100644
|
index 9f307f5..e43bf5b 100644
|
||||||
--- a/tests/test_backend.py
|
--- a/tests/test_backend.py
|
||||||
+++ b/tests/test_backend.py
|
+++ b/tests/test_backend.py
|
||||||
@@ -47,6 +47,7 @@ def test_render_formatter_unknown():
|
@@ -50,7 +50,7 @@ def test_run_encoding_mocked(mocker, Popen, input=u'sp\xe4m', encoding='utf-8'):
|
||||||
render('dot', 'ps', 'nonfilepath', 'ps', '')
|
m.decode.assert_called_once_with(encoding)
|
||||||
|
|
||||||
|
|
||||||
|
-@pytest.exe
|
||||||
+@pytest.mark.skip(reason='empty $PATH has no effect')
|
+@pytest.mark.skip(reason='empty $PATH has no effect')
|
||||||
@pytest.mark.usefixtures('empty_path')
|
@pytest.mark.usefixtures('empty_path')
|
||||||
def test_render_missing_executable():
|
@pytest.mark.parametrize('func, args', [
|
||||||
with pytest.raises(ExecutableNotFound, match=r'execute'):
|
(render, ['dot', 'pdf', 'nonfilepath']),
|
||||||
@@ -85,7 +86,7 @@ def test_render_mocked(capsys, mocker, Popen, quiet):
|
@@ -143,7 +143,7 @@ def test_render_mocked(capsys, mocker, Popen, quiet): # noqa: N803
|
||||||
|
|
||||||
assert render('dot', 'pdf', 'nonfilepath', quiet=quiet) == 'nonfilepath.pdf'
|
assert render('dot', 'pdf', 'nonfilepath', quiet=quiet) == 'nonfilepath.pdf'
|
||||||
|
|
||||||
@ -40,25 +41,17 @@ index 7ec12f7..2e8550d 100644
|
|||||||
+ Popen.assert_called_once_with(['@graphviz@/bin/dot', '-Tpdf', '-O', 'nonfilepath'],
|
+ Popen.assert_called_once_with(['@graphviz@/bin/dot', '-Tpdf', '-O', 'nonfilepath'],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
startupinfo=mocker.ANY)
|
cwd=None, startupinfo=mocker.ANY)
|
||||||
@@ -94,6 +95,7 @@ def test_render_mocked(capsys, mocker, Popen, quiet):
|
@@ -201,7 +201,7 @@ def test_pipe_pipe_invalid_data_mocked(mocker, py2, Popen, quiet): # noqa: N803
|
||||||
assert capsys.readouterr() == ('', '' if quiet else 'stderr')
|
|
||||||
|
|
||||||
|
|
||||||
+@pytest.mark.skip(reason='empty $PATH has no effect')
|
|
||||||
@pytest.mark.usefixtures('empty_path')
|
|
||||||
def test_pipe_missing_executable():
|
|
||||||
with pytest.raises(ExecutableNotFound, match=r'execute'):
|
|
||||||
@@ -143,7 +145,7 @@ def test_pipe_pipe_invalid_data_mocked(mocker, py2, Popen, quiet): # noqa: N803
|
|
||||||
assert e.value.returncode is mocker.sentinel.returncode
|
|
||||||
assert e.value.stdout is mocker.sentinel.out
|
assert e.value.stdout is mocker.sentinel.out
|
||||||
assert e.value.stderr is err
|
e.value.stdout = mocker.sentinel.new_stdout
|
||||||
|
assert e.value.stdout is mocker.sentinel.new_stdout
|
||||||
- Popen.assert_called_once_with(['dot', '-Tpng'],
|
- Popen.assert_called_once_with(['dot', '-Tpng'],
|
||||||
+ Popen.assert_called_once_with(['@graphviz@/bin/dot', '-Tpng'],
|
+ Popen.assert_called_once_with(['@graphviz@/bin/dot', '-Tpng'],
|
||||||
stdin=subprocess.PIPE,
|
stdin=subprocess.PIPE,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
@@ -166,7 +168,7 @@ def test_pipe_mocked(capsys, mocker, Popen, quiet): # noqa: N803
|
@@ -224,7 +224,7 @@ def test_pipe_mocked(capsys, mocker, Popen, quiet): # noqa: N803
|
||||||
|
|
||||||
assert pipe('dot', 'png', b'nongraph', quiet=quiet) is mocker.sentinel.out
|
assert pipe('dot', 'png', b'nongraph', quiet=quiet) is mocker.sentinel.out
|
||||||
|
|
||||||
@ -67,16 +60,8 @@ index 7ec12f7..2e8550d 100644
|
|||||||
stdin=subprocess.PIPE,
|
stdin=subprocess.PIPE,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
@@ -176,6 +178,7 @@ def test_pipe_mocked(capsys, mocker, Popen, quiet): # noqa: N803
|
@@ -250,7 +250,7 @@ def test_version_parsefail_mocked(mocker, Popen): # noqa: N803
|
||||||
assert capsys.readouterr() == ('', '' if quiet else 'stderr')
|
with pytest.raises(RuntimeError, match=r'nonversioninfo'):
|
||||||
|
|
||||||
|
|
||||||
+@pytest.mark.skip(reason='empty $PATH has no effect')
|
|
||||||
@pytest.mark.usefixtures('empty_path')
|
|
||||||
def test_version_missing_executable():
|
|
||||||
with pytest.raises(ExecutableNotFound, match=r'execute'):
|
|
||||||
@@ -196,7 +199,7 @@ def test_version_parsefail_mocked(mocker, Popen):
|
|
||||||
with pytest.raises(RuntimeError):
|
|
||||||
version()
|
version()
|
||||||
|
|
||||||
- Popen.assert_called_once_with(['dot', '-V'],
|
- Popen.assert_called_once_with(['dot', '-V'],
|
||||||
@ -84,9 +69,9 @@ index 7ec12f7..2e8550d 100644
|
|||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.STDOUT,
|
stderr=subprocess.STDOUT,
|
||||||
startupinfo=mocker.ANY)
|
startupinfo=mocker.ANY)
|
||||||
@@ -211,7 +214,7 @@ def test_version_mocked(mocker, Popen):
|
@@ -269,7 +269,7 @@ def test_version_mocked(mocker, Popen, stdout, expected): # noqa: N803
|
||||||
|
|
||||||
assert version() == (1, 2, 3)
|
assert version() == expected
|
||||||
|
|
||||||
- Popen.assert_called_once_with(['dot', '-V'],
|
- Popen.assert_called_once_with(['dot', '-V'],
|
||||||
+ Popen.assert_called_once_with(['@graphviz@/bin/dot', '-V'],
|
+ Popen.assert_called_once_with(['@graphviz@/bin/dot', '-V'],
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jwcrypto";
|
pname = "jwcrypto";
|
||||||
version = "0.7";
|
version = "0.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "002i60yidafpr642qcxrd74d8frbc4ci8vfysm05vqydcri1zgmd";
|
sha256 = "b7fee2635bbefdf145399392f5be26ad54161c8271c66b5fe107b4b452f06c24";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
, audioread
|
, audioread
|
||||||
, resampy
|
, resampy
|
||||||
, soundfile
|
, soundfile
|
||||||
|
, pooch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -20,15 +21,21 @@ buildPythonPackage rec {
|
|||||||
sha256 = "af0b9f2ed4bbf6aecbc448a4cd27c16453c397cb6bef0f0cfba0e63afea2b839";
|
sha256 = "af0b9f2ed4bbf6aecbc448a4cd27c16453c397cb6bef0f0cfba0e63afea2b839";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ joblib matplotlib six scikitlearn decorator audioread resampy soundfile ];
|
propagatedBuildInputs = [ joblib matplotlib six scikitlearn decorator audioread resampy soundfile pooch ];
|
||||||
|
|
||||||
# No tests
|
# No tests
|
||||||
|
# 1. Internet connection is required
|
||||||
|
# 2. Got error "module 'librosa' has no attribute 'version'"
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
# check that import works, this allows to capture errors like https://github.com/librosa/librosa/issues/1160
|
||||||
|
pythonImportsCheck = [ "librosa" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Python module for audio and music processing";
|
description = "Python module for audio and music processing";
|
||||||
homepage = "http://librosa.github.io/";
|
homepage = "http://librosa.github.io/";
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
|
maintainers = with maintainers; [ GuillaumeDesforges ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -49,4 +49,3 @@ buildPythonPackage rec {
|
|||||||
maintainers = with maintainers; [ rakesh4g ];
|
maintainers = with maintainers; [ rakesh4g ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,4 +22,3 @@ buildPythonPackage rec {
|
|||||||
maintainers = with maintainers; [ psyanticy ];
|
maintainers = with maintainers; [ psyanticy ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pipx";
|
pname = "pipx";
|
||||||
version = "0.15.5.0";
|
version = "0.15.5.1";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
@ -19,18 +19,11 @@ buildPythonPackage rec {
|
|||||||
owner = "pipxproject";
|
owner = "pipxproject";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "13z032i8r9f6d09hssvyjpxjacb4wgms5bh2i37da2ili9bh72m6";
|
sha256 = "0lq8dfkq4ji11r4k5csqzyv0757fbxiax6ixn94f9747zrikssf6";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ userpath argcomplete packaging ];
|
propagatedBuildInputs = [ userpath argcomplete packaging ];
|
||||||
|
|
||||||
# avoid inconclusive venv assertion, see https://github.com/pipxproject/pipx/pull/477
|
|
||||||
# remove after PR is merged
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace tests/helpers.py \
|
|
||||||
--replace 'assert getattr(sys, "base_prefix", sys.prefix) != sys.prefix, "Tests require venv"' ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
46
pkgs/development/python-modules/pooch/default.nix
Normal file
46
pkgs/development/python-modules/pooch/default.nix
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, isPy27
|
||||||
|
, fetchPypi
|
||||||
|
, pytestCheckHook
|
||||||
|
, packaging
|
||||||
|
, appdirs
|
||||||
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pooch";
|
||||||
|
version = "1.0.0";
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1k2vinlhkzl7lzhvbz20x3a2r2zqqila0yxg3a3fax2r6qxbxxzi";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ packaging appdirs requests ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
disabledTests = [
|
||||||
|
"pooch_custom_url"
|
||||||
|
"pooch_download"
|
||||||
|
"pooch_logging_level"
|
||||||
|
"pooch_update"
|
||||||
|
"pooch_corrupted"
|
||||||
|
"check_availability"
|
||||||
|
"downloader"
|
||||||
|
"test_fetch"
|
||||||
|
"decompress"
|
||||||
|
"extractprocessor_fails"
|
||||||
|
"processor"
|
||||||
|
"integration"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A friend to fetch your data files.";
|
||||||
|
homepage = "https://github.com/fatiando/pooch";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ GuillaumeDesforges ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -42,4 +42,3 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,4 +27,3 @@ buildPythonPackage rec {
|
|||||||
maintainers = with maintainers; [ psyanticy ];
|
maintainers = with maintainers; [ psyanticy ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,4 +28,3 @@ buildPythonPackage rec {
|
|||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, requests }:
|
{ stdenv, buildPythonPackage, fetchPypi, requests, six, mock }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "spotipy";
|
pname = "spotipy";
|
||||||
@ -9,7 +9,15 @@ buildPythonPackage rec {
|
|||||||
sha256 = "d1a85b8831ed60d2290ab9bbba289c548fb9680889757252c02dab2f2327d865";
|
sha256 = "d1a85b8831ed60d2290ab9bbba289c548fb9680889757252c02dab2f2327d865";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests six ];
|
||||||
|
checkInputs = [ mock ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "mock==2.0.0" "mock"
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "spotipy" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://spotipy.readthedocs.org/";
|
homepage = "https://spotipy.readthedocs.org/";
|
||||||
|
@ -1,34 +1,56 @@
|
|||||||
{ lib, fetchPypi, buildPythonPackage, isPy3k, python, pytest
|
{ lib
|
||||||
, typing-extensions
|
, buildPythonPackage
|
||||||
, protobuf
|
, fetchPypi
|
||||||
, hidapi
|
, isPy3k
|
||||||
, ecdsa
|
, installShellFiles
|
||||||
, mnemonic
|
, attrs
|
||||||
, requests
|
|
||||||
, pyblake2
|
|
||||||
, click
|
, click
|
||||||
, construct
|
, construct
|
||||||
|
, ecdsa
|
||||||
|
, hidapi
|
||||||
, libusb1
|
, libusb1
|
||||||
|
, mnemonic
|
||||||
|
, pillow
|
||||||
|
, protobuf
|
||||||
|
, pyblake2
|
||||||
|
, requests
|
||||||
, rlp
|
, rlp
|
||||||
, shamir-mnemonic
|
, shamir-mnemonic
|
||||||
|
, typing-extensions
|
||||||
, trezor-udev-rules
|
, trezor-udev-rules
|
||||||
, installShellFiles
|
, pytest
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "trezor";
|
pname = "trezor";
|
||||||
version = "0.12.1";
|
version = "0.12.2";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1w19m9lws55k9sjhras47hpfpqwq1jm5vy135nj65yhkblygqg19";
|
sha256 = "0r0j0y0ii62ppawc8qqjyaq0fkmmb0zk1xb3f9navxp556w2dljv";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ typing-extensions protobuf hidapi ecdsa mnemonic requests pyblake2 click construct libusb1 rlp shamir-mnemonic trezor-udev-rules ];
|
propagatedBuildInputs = [
|
||||||
|
attrs
|
||||||
|
click
|
||||||
|
construct
|
||||||
|
ecdsa
|
||||||
|
hidapi
|
||||||
|
libusb1
|
||||||
|
mnemonic
|
||||||
|
pillow
|
||||||
|
protobuf
|
||||||
|
pyblake2
|
||||||
|
requests
|
||||||
|
rlp
|
||||||
|
shamir-mnemonic
|
||||||
|
typing-extensions
|
||||||
|
trezor-udev-rules
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytest
|
||||||
@ -52,7 +74,7 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library for communicating with TREZOR Bitcoin Hardware Wallet";
|
description = "Python library for communicating with Trezor Hardware Wallet";
|
||||||
homepage = "https://github.com/trezor/trezor-firmware/tree/master/python";
|
homepage = "https://github.com/trezor/trezor-firmware/tree/master/python";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ np prusnak mmahut _1000101 ];
|
maintainers = with maintainers; [ np prusnak mmahut _1000101 ];
|
||||||
|
@ -1,29 +1,24 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "wasabi";
|
pname = "wasabi";
|
||||||
version = "0.7.1";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "ee3809f4ce00e1e7f424b1572c753cff0dcaca2ca684e67e31f985033a9f070b";
|
sha256 = "75fec6db6193c8615d7f398ae4aa2c4ad294e6e3e81c6a6dbbbd3864ee2223c3";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [ pytestCheckHook ];
|
||||||
pytest
|
|
||||||
];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest wasabi/tests
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A lightweight console printing and formatting toolkit";
|
description = "A lightweight console printing and formatting toolkit";
|
||||||
homepage = "https://github.com/ines/wasabi";
|
homepage = "https://github.com/ines/wasabi";
|
||||||
|
changelog = "https://github.com/ines/wasabi/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ danieldk ];
|
maintainers = with maintainers; [ danieldk ];
|
||||||
};
|
};
|
||||||
|
@ -0,0 +1,80 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchurl
|
||||||
|
, cmake
|
||||||
|
, capnproto
|
||||||
|
, sqlite
|
||||||
|
, boost
|
||||||
|
, zlib
|
||||||
|
, rapidjson
|
||||||
|
, pandoc
|
||||||
|
, enableSystemd ? false
|
||||||
|
, customConfig ? null
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
js.vue = fetchurl {
|
||||||
|
url = "https://cdnjs.cloudflare.com/ajax/libs/vue/2.3.4/vue.min.js";
|
||||||
|
sha256 = "01zklp5cyik65dfn64m8h2y2dxzgbyzgmbf99y7fwgnf0155r7pq";
|
||||||
|
};
|
||||||
|
js.vue-router = fetchurl {
|
||||||
|
url =
|
||||||
|
"https://cdnjs.cloudflare.com/ajax/libs/vue-router/2.7.0/vue-router.min.js";
|
||||||
|
sha256 = "07gx7znb30rk1z7w6ca7dlfjp44q12bbq6jghwfm27mf6psa80as";
|
||||||
|
};
|
||||||
|
js.ansi_up = fetchurl {
|
||||||
|
url = "https://raw.githubusercontent.com/drudru/ansi_up/v1.3.0/ansi_up.js";
|
||||||
|
sha256 = "1993dywxqi2ylnxybwk7m0s0bg2bq7kfllpyr0s8ck6chd0p8i6r";
|
||||||
|
};
|
||||||
|
js.Chart = fetchurl {
|
||||||
|
url = "https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js";
|
||||||
|
sha256 = "1jh4h12qchsba03dx03mrvs4r8g9qfjn56xm56jqzgqf7r209xq9";
|
||||||
|
};
|
||||||
|
css.bootstrap = fetchurl {
|
||||||
|
url =
|
||||||
|
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css";
|
||||||
|
sha256 = "11vx860prsx7wsy8b0yrrk04ih8kvrxkk8l16snsc4n286bdkyri";
|
||||||
|
};
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "laminar";
|
||||||
|
version = "0.8";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/ohwgiles/laminar/archive/${version}.tar.gz";
|
||||||
|
sha256 = "05g73j3vpib47kr7mackcazf7s6bc3xwz4h6k7sp7yb5ng7gj20g";
|
||||||
|
};
|
||||||
|
patches = [ ./patches/no-network.patch ];
|
||||||
|
nativeBuildInputs = [ cmake pandoc ];
|
||||||
|
buildInputs = [ capnproto sqlite boost zlib rapidjson ];
|
||||||
|
preBuild = ''
|
||||||
|
mkdir -p js css
|
||||||
|
cp ${js.vue} js/vue.min.js
|
||||||
|
cp ${js.vue-router} js/vue-router.min.js
|
||||||
|
cp ${js.ansi_up} js/ansi_up.js
|
||||||
|
cp ${js.Chart} js/Chart.min.js
|
||||||
|
cp ${css.bootstrap} css/bootstrap.min.css
|
||||||
|
'';
|
||||||
|
postInstall = ''
|
||||||
|
mv $out/usr/share $out
|
||||||
|
mkdir $out/bin
|
||||||
|
mv $out/usr/{bin,sbin}/* $out/bin
|
||||||
|
rmdir $out/usr/{bin,sbin}
|
||||||
|
rmdir $out/usr
|
||||||
|
|
||||||
|
mkdir -p $out/share/doc/laminar
|
||||||
|
pandoc -s ../UserManual.md -o $out/share/doc/laminar/UserManual.html
|
||||||
|
'' + lib.optionalString (customConfig != null) ''
|
||||||
|
cp ${customConfig} /etc/etc/laminar.conf
|
||||||
|
'' + (if enableSystemd then ''
|
||||||
|
sed -i "s,/etc/,$out/etc/," $out/lib/systemd/system/laminar.service
|
||||||
|
sed -i "s,/usr/sbin/,$out/bin/," $out/lib/systemd/system/laminar.service
|
||||||
|
'' else ''
|
||||||
|
rm -r $out/lib # it contains only systemd unit file
|
||||||
|
'');
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Lightweight and modular continuous integration service";
|
||||||
|
homepage = "https://laminar.ohwg.net";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ kaction ];
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
Build system that downloads stuff from network is bad. Build system that
|
||||||
|
does so unconditionally is twice as bad.
|
||||||
|
|
||||||
|
Required files are downloaded as separate fixed-output derivations and
|
||||||
|
put into correct location before build phase starts.
|
||||||
|
|
||||||
|
--- laminar-0.8/CMakeLists.txt
|
||||||
|
+++ laminar-0.8-new/CMakeLists.txt
|
||||||
|
@@ -69,17 +69,6 @@
|
||||||
|
COMMAND sh -c '( echo -n "\\#define INDEX_HTML_UNCOMPRESSED_SIZE " && wc -c < "${CMAKE_SOURCE_DIR}/src/resources/index.html" ) > index_html_size.h'
|
||||||
|
DEPENDS src/resources/index.html)
|
||||||
|
|
||||||
|
-# Download 3rd-party frontend JS libs...
|
||||||
|
-file(DOWNLOAD https://cdnjs.cloudflare.com/ajax/libs/vue/2.3.4/vue.min.js
|
||||||
|
- js/vue.min.js EXPECTED_MD5 ae2fca1cfa0e31377819b1b0ffef704c)
|
||||||
|
-file(DOWNLOAD https://cdnjs.cloudflare.com/ajax/libs/vue-router/2.7.0/vue-router.min.js
|
||||||
|
- js/vue-router.min.js EXPECTED_MD5 5d3e35710dbe02de78c39e3e439b8d4e)
|
||||||
|
-file(DOWNLOAD https://raw.githubusercontent.com/drudru/ansi_up/v1.3.0/ansi_up.js
|
||||||
|
- js/ansi_up.js EXPECTED_MD5 158566dc1ff8f2804de972f7e841e2f6)
|
||||||
|
-file(DOWNLOAD https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js
|
||||||
|
- js/Chart.min.js EXPECTED_MD5 f6c8efa65711e0cbbc99ba72997ecd0e)
|
||||||
|
-file(DOWNLOAD https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css
|
||||||
|
- css/bootstrap.min.css EXPECTED_MD5 5d5357cb3704e1f43a1f5bfed2aebf42)
|
||||||
|
# ...and compile them
|
||||||
|
generate_compressed_bins(${CMAKE_BINARY_DIR} js/vue-router.min.js js/vue.min.js
|
||||||
|
js/ansi_up.js js/Chart.min.js css/bootstrap.min.css)
|
@ -18,11 +18,11 @@ let
|
|||||||
|
|
||||||
in buildPythonApplication rec {
|
in buildPythonApplication rec {
|
||||||
pname = "pipenv";
|
pname = "pipenv";
|
||||||
version = "2020.6.2";
|
version = "2020.8.13";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "12s7c3f3k5v1szdhklsxwisf9v3dk4mb9fh7762afpgs8mrrmm3x";
|
sha256 = "eff0e10eadb330f612edfa5051d3d8e775e9e0e918c3c50361da703bd0daa035";
|
||||||
};
|
};
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
@ -8,6 +8,6 @@ let
|
|||||||
in
|
in
|
||||||
buildNodejs {
|
buildNodejs {
|
||||||
inherit enableNpm;
|
inherit enableNpm;
|
||||||
version = "14.8.0";
|
version = "14.9.0";
|
||||||
sha256 = "0vghz7g7mih7idgknwzdc2zfw82qqq497m727ydhkas1wvj6i7lv";
|
sha256 = "1xkfivr0qci50ksg66szyasdlbiwh2j7ia4n6qc5csih2nvzcbh1";
|
||||||
}
|
}
|
||||||
|
35
pkgs/os-specific/darwin/discrete-scroll/default.nix
Normal file
35
pkgs/os-specific/darwin/discrete-scroll/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ stdenv, lib, fetchFromGitHub, Cocoa }:
|
||||||
|
|
||||||
|
## after launching for the first time, grant access for parent application (e.g. Terminal.app)
|
||||||
|
## from 'system preferences >> security & privacy >> accessibility'
|
||||||
|
## and then launch again
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "discrete-scroll";
|
||||||
|
version = "0.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "emreyolcu";
|
||||||
|
repo = "discrete-scroll";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0aqkp4kkwjlkll91xbqwf8asjww8ylsdgqvdk8d06bwdvg2cgvhg";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ Cocoa ];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
cc -std=c99 -O3 -Wall -framework Cocoa -o dc DiscreteScroll/main.m
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp ./dc $out/bin/discretescroll
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Fix for OS X's scroll wheel problem";
|
||||||
|
homepage = "https://github.com/emreyolcu/discrete-scroll";
|
||||||
|
platforms = platforms.darwin;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -3,11 +3,11 @@ let
|
|||||||
s = # Generated upstream information
|
s = # Generated upstream information
|
||||||
rec {
|
rec {
|
||||||
baseName="conspy";
|
baseName="conspy";
|
||||||
version="1.14";
|
version="1.16";
|
||||||
name="${baseName}-${version}";
|
name="${baseName}-${version}";
|
||||||
hash="069k26xpzsvrn3197ix5yd294zvz03zi2xqj4fip6rlsw74habsf";
|
hash="02andak806vd04bgjlr0y0d2ddx7cazyf8nvca80vlh8x94gcppf";
|
||||||
url="mirror://sourceforge/project/conspy/conspy-1.14-1/conspy-1.14.tar.gz";
|
url="mirror://sourceforge/project/conspy/conspy-1.16-1/conspy-1.16.tar.gz";
|
||||||
sha256="069k26xpzsvrn3197ix5yd294zvz03zi2xqj4fip6rlsw74habsf";
|
sha256="02andak806vd04bgjlr0y0d2ddx7cazyf8nvca80vlh8x94gcppf";
|
||||||
};
|
};
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
autoconf automake ncurses
|
autoconf automake ncurses
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libfabric";
|
pname = "libfabric";
|
||||||
version = "1.10.1";
|
version = "1.11.0";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "ofiwg";
|
owner = "ofiwg";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0nf5x4v9rhyd67r6f6q3dw4sraaja8jfdkhhg9g8x41czmx4d456";
|
sha256 = "1wgn6gsiy64rb76i46dsqlvp687lwqzxwg5lgj1y5y7lyqbq96wp";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig autoreconfHook ] ;
|
nativeBuildInputs = [ pkgconfig autoreconfHook ] ;
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sysdig";
|
pname = "sysdig";
|
||||||
version = "0.26.7";
|
version = "0.27.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "draios";
|
owner = "draios";
|
||||||
repo = "sysdig";
|
repo = "sysdig";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "09m6j2cl70jxb0k4ydsgrida381bipf0v026xz661152cy23r3ff";
|
sha256 = "0lpp271g0749sx7qgpwl6myi0kgfpsxk1kc4yp3r9k1pynv8bq1b";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake perl ];
|
nativeBuildInputs = [ cmake perl ];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "grafana";
|
pname = "grafana";
|
||||||
version = "7.1.3";
|
version = "7.1.5";
|
||||||
|
|
||||||
excludedPackages = [ "release_publisher" ];
|
excludedPackages = [ "release_publisher" ];
|
||||||
|
|
||||||
@ -10,15 +10,15 @@ buildGoModule rec {
|
|||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "grafana";
|
owner = "grafana";
|
||||||
repo = "grafana";
|
repo = "grafana";
|
||||||
sha256 = "1acvvqsgwfrkqmbgzdxfa8shwmx7c91agaqv3gsfgpqkqwp3pnmh";
|
sha256 = "089z2x6jhiv5cx70vm7f1pyj5avappnaxrwah8jbnlkaz2kisp79";
|
||||||
};
|
};
|
||||||
|
|
||||||
srcStatic = fetchurl {
|
srcStatic = fetchurl {
|
||||||
url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz";
|
url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz";
|
||||||
sha256 = "0c72xmazr3rgiccrqcy02w30159vsq9d78dkqf5c2yjqn8zzwf98";
|
sha256 = "0l1lw3y5w4s6qfkmclzc6h6hqwxqmxlppnwsq1zpm2hmrndy440j";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "11zi7a4mqi80m5z4zcrc6wnzhgk6xnmzisrk2v4vpmfp33s732lz";
|
vendorSha256 = "0i0qdfh6cjdjg2mrrabm42427aaxs6a90ydb554ds14k6r4jdf8b";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pkg/cmd/grafana-server/main.go \
|
substituteInPlace pkg/cmd/grafana-server/main.go \
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pgrouting";
|
pname = "pgrouting";
|
||||||
version = "3.0.2";
|
version = "3.1.0";
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake perl ];
|
nativeBuildInputs = [ cmake perl ];
|
||||||
buildInputs = [ postgresql boost ];
|
buildInputs = [ postgresql boost ];
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "pgRouting";
|
owner = "pgRouting";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "10ij3ww0081wc81jzvmkgl8r3qpqp7lcsi9pgn62bqd1c8dw88yg";
|
sha256 = "0sdyq0a98snmcq6g6mgmadlz6cgvacivv34943azhnzspa3iy409";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "abcMIDI";
|
pname = "abcMIDI";
|
||||||
version = "2020.07.28";
|
version = "2020.08.09";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip";
|
url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip";
|
||||||
sha256 = "05nsakvnx1jz2k9bvabpw5v3js28ng9z7n6ch58brd3qxc2p76zv";
|
sha256 = "1j7jkv2fdrhyyjavffb5nrs8p9mfp8zqqravcad1ayv1z2wxr8vl";
|
||||||
};
|
};
|
||||||
|
|
||||||
# There is also a file called "makefile" which seems to be preferred by the standard build phase
|
# There is also a file called "makefile" which seems to be preferred by the standard build phase
|
||||||
|
@ -10,16 +10,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "broot";
|
pname = "broot";
|
||||||
version = "0.20.0";
|
version = "0.20.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Canop";
|
owner = "Canop";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0by4cln9ljaphqk5hz56mcavz9kc5s42zlxx33nf3idqrszfcarf";
|
sha256 = "0hbz7cslngl77qka8sl84fjhijbqbw69dj058ghhsgaxw06nypg2";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1i5zq310k8gv9877rcrvash3aw1cyf3g0741qnky71d565s3n910";
|
cargoSha256 = "1zl4p3n327iq7nm7hi79zjxv2gvw9f3lwgkg1qp52kycv1af5gqp";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper installShellFiles ];
|
nativeBuildInputs = [ makeWrapper installShellFiles ];
|
||||||
|
|
||||||
|
25
pkgs/tools/networking/bgpq4/default.nix
Normal file
25
pkgs/tools/networking/bgpq4/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "bgpq4";
|
||||||
|
version = "0.0.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bgp";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1n6d6xq7vafx1la0fckqv0yjr245ka9dgbcqaz9m6dcdk0fdlkks";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "BGP filtering automation tool";
|
||||||
|
homepage = "https://github.com/bgp/bgpq4";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ vincentbernat ];
|
||||||
|
platforms = with platforms; unix;
|
||||||
|
};
|
||||||
|
}
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "nix-du";
|
pname = "nix-du";
|
||||||
version = "0.3.1";
|
version = "0.3.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "symphorien";
|
owner = "symphorien";
|
||||||
repo = "nix-du";
|
repo = "nix-du";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "149d60mid29s5alv5m3d7jrhyzc6cj7b6hpiq399gsdwzgxr00wq";
|
sha256 = "0h8ya0nn65hbyi3ssmrjarfxadx2sa61sspjlrln8knk7ppxk3mq";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1a6svl89dcdb5fpvs2i32i6agyhl0sx7kkkw70rqr17fyzl5psai";
|
cargoSha256 = "0d86bn6myr29bwrzw3ihnzg1yij673s80bm1l8srk2k2szyfwwh5";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkInputs = [ nix graphviz ];
|
checkInputs = [ nix graphviz ];
|
||||||
|
@ -8,11 +8,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "1password";
|
pname = "1password";
|
||||||
version = "0.8.2-1";
|
version = "0.8.3-1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://onepassword.s3.amazonaws.com/linux/appimage/${pname}-${version}.AppImage";
|
url = "https://onepassword.s3.amazonaws.com/linux/appimage/${pname}-${version}.AppImage";
|
||||||
sha256 = "0gxq8xrr20jgp7k0sq5a9k63mz94zb00yvc9jw1zhl2q70ji24sa";
|
sha256 = "06kzvdqsd7viaj7qz0ywi4k85662084cx73psk1b2hphklvdl24c";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
@ -51,6 +51,8 @@ stdenv.mkDerivation rec {
|
|||||||
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath runtimeLibs}"
|
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath runtimeLibs}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = ./update.sh;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Multi-platform password manager";
|
description = "Multi-platform password manager";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
5
pkgs/tools/security/1password-gui/update.sh
Executable file
5
pkgs/tools/security/1password-gui/update.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env nix-shell
|
||||||
|
#!nix-shell -i bash -p curl gnused common-updater-scripts
|
||||||
|
|
||||||
|
version="$(curl -sL https://onepassword.s3.amazonaws.com/linux/debian/dists/edge/main/binary-amd64/Packages | sed -r -n 's/^Version: (.*)-[0-9]+/\1/p' | head -n1)"
|
||||||
|
update-source-version _1password-gui "$version"
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gopass";
|
pname = "gopass";
|
||||||
version = "1.9.2";
|
version = "1.10.1";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
||||||
|
|
||||||
@ -17,10 +17,10 @@ buildGoModule rec {
|
|||||||
owner = "gopasspw";
|
owner = "gopasspw";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "066dphw8xq0g72kj64sdai2yyllnr6ca27bfy5sxhk8x69j97rvz";
|
sha256 = "0dhh64mxfhk610wr7bpakzgmc4a4iyhfkkl3qhjp6a46g9iygana";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "1wn20bh7ma4pblsf6qnlbz5bx4p9apig3d1yz7cpsqv4z3w07baw";
|
vendorSha256 = "07wv6yahx4yzr3h1x93x4r5rvw8wbfk836f04b4r9xjbnpq7lb2a";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
@ -42,8 +42,10 @@ buildGoModule rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram $out/bin/gopass \
|
for bin in $out/bin/*; do
|
||||||
|
wrapProgram $bin \
|
||||||
--prefix PATH : "${wrapperPath}"
|
--prefix PATH : "${wrapperPath}"
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -2828,6 +2828,12 @@ in
|
|||||||
|
|
||||||
biosdevname = callPackage ../tools/networking/biosdevname { };
|
biosdevname = callPackage ../tools/networking/biosdevname { };
|
||||||
|
|
||||||
|
code-browser-qt = libsForQt5.callPackage ../applications/editors/code-browser { withQt = true;
|
||||||
|
};
|
||||||
|
code-browser-gtk = callPackage ../applications/editors/code-browser { withGtk = true;
|
||||||
|
qtbase = qt5.qtbase;
|
||||||
|
};
|
||||||
|
|
||||||
c14 = callPackage ../applications/networking/c14 { };
|
c14 = callPackage ../applications/networking/c14 { };
|
||||||
|
|
||||||
certstrap = callPackage ../tools/security/certstrap { };
|
certstrap = callPackage ../tools/security/certstrap { };
|
||||||
@ -4745,6 +4751,8 @@ in
|
|||||||
kibana = kibana6;
|
kibana = kibana6;
|
||||||
kibana-oss = kibana6-oss;
|
kibana-oss = kibana6-oss;
|
||||||
|
|
||||||
|
kibi = callPackage ../applications/editors/kibi { };
|
||||||
|
|
||||||
kismet = callPackage ../applications/networking/sniffers/kismet { };
|
kismet = callPackage ../applications/networking/sniffers/kismet { };
|
||||||
|
|
||||||
klick = callPackage ../applications/audio/klick { };
|
klick = callPackage ../applications/audio/klick { };
|
||||||
@ -5608,6 +5616,8 @@ in
|
|||||||
|
|
||||||
ncftp = callPackage ../tools/networking/ncftp { };
|
ncftp = callPackage ../tools/networking/ncftp { };
|
||||||
|
|
||||||
|
ncgopher = callPackage ../applications/networking/ncgopher { };
|
||||||
|
|
||||||
ncompress = callPackage ../tools/compression/ncompress { };
|
ncompress = callPackage ../tools/compression/ncompress { };
|
||||||
|
|
||||||
ndisc6 = callPackage ../tools/networking/ndisc6 { };
|
ndisc6 = callPackage ../tools/networking/ndisc6 { };
|
||||||
@ -11059,6 +11069,8 @@ in
|
|||||||
|
|
||||||
lazygit = callPackage ../development/tools/lazygit { };
|
lazygit = callPackage ../development/tools/lazygit { };
|
||||||
|
|
||||||
|
laminar = callPackage ../development/tools/continuous-integration/laminar { };
|
||||||
|
|
||||||
Literate = callPackage ../development/tools/literate-programming/Literate {};
|
Literate = callPackage ../development/tools/literate-programming/Literate {};
|
||||||
|
|
||||||
lcov = callPackage ../development/tools/analysis/lcov { };
|
lcov = callPackage ../development/tools/analysis/lcov { };
|
||||||
@ -19562,6 +19574,8 @@ in
|
|||||||
|
|
||||||
bgpq3 = callPackage ../tools/networking/bgpq3 { };
|
bgpq3 = callPackage ../tools/networking/bgpq3 { };
|
||||||
|
|
||||||
|
bgpq4 = callPackage ../tools/networking/bgpq4 { };
|
||||||
|
|
||||||
blackbox = callPackage ../applications/version-management/blackbox { };
|
blackbox = callPackage ../applications/version-management/blackbox { };
|
||||||
|
|
||||||
bleachbit = callPackage ../applications/misc/bleachbit { };
|
bleachbit = callPackage ../applications/misc/bleachbit { };
|
||||||
@ -21734,6 +21748,8 @@ in
|
|||||||
|
|
||||||
moonlight-embedded = callPackage ../applications/misc/moonlight-embedded { };
|
moonlight-embedded = callPackage ../applications/misc/moonlight-embedded { };
|
||||||
|
|
||||||
|
mooSpace = callPackage ../applications/audio/mooSpace { };
|
||||||
|
|
||||||
mop = callPackage ../applications/misc/mop { };
|
mop = callPackage ../applications/misc/mop { };
|
||||||
|
|
||||||
mopidyPackages = callPackages ../applications/audio/mopidy/default.nix {
|
mopidyPackages = callPackages ../applications/audio/mopidy/default.nix {
|
||||||
|
@ -88,4 +88,8 @@ in
|
|||||||
|
|
||||||
ios-deploy = callPackage ../os-specific/darwin/ios-deploy {};
|
ios-deploy = callPackage ../os-specific/darwin/ios-deploy {};
|
||||||
|
|
||||||
|
discrete-scroll = callPackage ../os-specific/darwin/discrete-scroll {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||||
|
};
|
||||||
|
|
||||||
})
|
})
|
||||||
|
@ -1221,7 +1221,7 @@ in let inherit (pkgs) callPackage; in rec
|
|||||||
|
|
||||||
ocamlPackages_4_11 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.11.nix { });
|
ocamlPackages_4_11 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.11.nix { });
|
||||||
|
|
||||||
ocamlPackages_latest = ocamlPackages_4_10;
|
ocamlPackages_latest = ocamlPackages_4_11;
|
||||||
|
|
||||||
ocamlPackages = ocamlPackages_4_10;
|
ocamlPackages = ocamlPackages_4_10;
|
||||||
}
|
}
|
||||||
|
@ -7852,6 +7852,8 @@ in {
|
|||||||
|
|
||||||
userpath = callPackage ../development/python-modules/userpath { };
|
userpath = callPackage ../development/python-modules/userpath { };
|
||||||
|
|
||||||
|
pooch = callPackage ../development/python-modules/pooch {};
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
in fix' (extends overrides packages)
|
in fix' (extends overrides packages)
|
||||||
|
Loading…
Reference in New Issue
Block a user