Merge master into staging-next
This commit is contained in:
commit
1979224f15
@ -157,6 +157,11 @@
|
||||
github = "aespinosa";
|
||||
name = "Allan Espinosa";
|
||||
};
|
||||
aethelz = {
|
||||
email = "aethelz@protonmail.com";
|
||||
github = "aethelz";
|
||||
name = "Eugene";
|
||||
};
|
||||
aflatter = {
|
||||
email = "flatter@fastmail.fm";
|
||||
github = "aflatter";
|
||||
|
@ -382,8 +382,10 @@ in
|
||||
| xargs -I{} ${pkgs.znapzend}/bin/znapzendzetup delete "{}"
|
||||
'' + concatStringsSep "\n" (mapAttrsToList (dataset: config: ''
|
||||
echo Importing znapzend zetup ${config} for dataset ${dataset}
|
||||
${pkgs.znapzend}/bin/znapzendzetup import --write ${dataset} ${config}
|
||||
'') files);
|
||||
${pkgs.znapzend}/bin/znapzendzetup import --write ${dataset} ${config} &
|
||||
'') files) + ''
|
||||
wait
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = let
|
||||
|
@ -70,6 +70,8 @@ in
|
||||
|
||||
systemd.services."softether-init" = {
|
||||
description = "SoftEther VPN services initial task";
|
||||
after = [ "keys.target" ];
|
||||
wants = [ "keys.target" ];
|
||||
wantedBy = [ "network.target" ];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
|
@ -47,11 +47,11 @@ let
|
||||
# Baz=baz
|
||||
# Qux=qux
|
||||
# </Foo>
|
||||
set = concatMap (subname: [
|
||||
set = concatMap (subname: optionals (value.${subname} != null) ([
|
||||
"<${name} ${subname}>"
|
||||
] ++ map (line: "\t${line}") (toLines value.${subname}) ++ [
|
||||
"</${name}>"
|
||||
]) (filter (v: v != null) (attrNames value));
|
||||
])) (filter (v: v != null) (attrNames value));
|
||||
|
||||
}.${builtins.typeOf value};
|
||||
|
||||
|
@ -47,13 +47,13 @@ let
|
||||
];
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "pulseeffects";
|
||||
version = "4.5.9";
|
||||
version = "4.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wwmm";
|
||||
repo = "pulseeffects";
|
||||
rev = "v${version}";
|
||||
sha256 = "19pqi9wix359hdrslzmi9sz0dzz03pdwqvdyzw3i5rdny01skdfw";
|
||||
sha256 = "1ap07sw4j1a0al2hqh781m8ivlplxlaw515gkf65q100q80kr0zj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -107,5 +107,6 @@ in stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.linux;
|
||||
badPlatforms = [ "aarch64-linux" ];
|
||||
};
|
||||
}
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "reaper-${version}";
|
||||
version = "5.973";
|
||||
version = "5.974";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.reaper.fm/files/${stdenv.lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_x86_64.tar.xz";
|
||||
sha256 = "02ymi2rn29zrb71krx43nrpfldhkcvwry4gz228apff2hb2lmqdx";
|
||||
sha256 = "0pmjdh4d1jsplv99nrgjn437bgjp7hqk6fynvqk3lbn1zw3wk0i9";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
|
||||
|
@ -4,13 +4,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "quilter";
|
||||
version = "1.8.1";
|
||||
version = "1.8.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lainsce";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0i8rvvc5g74bgfjgsmmgpj42xmhjaz14jjzl9s5nzwpy1fn7vv0p";
|
||||
sha256 = "14qbkkz1l4zj6kwds5d82swnh3ynj6diyvjl0pafgp5i1i27j4rh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -21,6 +21,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [
|
||||
./gcc43.patch
|
||||
./find-config-file-in-system-etc-dir.patch
|
||||
./gmrun-0.9.2-xdg.patch
|
||||
];
|
||||
|
||||
|
@ -0,0 +1,18 @@
|
||||
diff -ur gmrun-0.9.2-orig/src/prefs.cc gmrun-0.9.2/src/prefs.cc
|
||||
--- gmrun-0.9.2-orig/src/prefs.cc 2019-05-02 12:56:39.025088361 +0200
|
||||
+++ gmrun-0.9.2/src/prefs.cc 2019-05-02 13:21:51.179778620 +0200
|
||||
@@ -31,9 +31,11 @@
|
||||
|
||||
Prefs::Prefs()
|
||||
{
|
||||
- string file_name = PACKAGE_DATA_DIR"/";
|
||||
- file_name += GMRUNRC;
|
||||
- init(file_name);
|
||||
+ string file_name = "/etc/" GMRUNRC;
|
||||
+ if (!init(file_name)) {
|
||||
+ file_name = PACKAGE_DATA_DIR "/" GMRUNRC;;
|
||||
+ init(file_name);
|
||||
+ }
|
||||
|
||||
file_name = getenv("HOME");
|
||||
if (!file_name.empty()) {
|
@ -2,7 +2,7 @@
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "ghq-${version}";
|
||||
version = "0.8.0";
|
||||
version = "0.10.2";
|
||||
|
||||
goPackagePath = "github.com/motemen/ghq";
|
||||
|
||||
@ -10,7 +10,7 @@ buildGoPackage rec {
|
||||
owner = "motemen";
|
||||
repo = "ghq";
|
||||
rev = "v${version}";
|
||||
sha256 = "1gdi0sbmq9kfi8hzd0dpgmhbmcf8q93jy3x08dd8smayrhbbwmld";
|
||||
sha256 = "1i7zmgv7760nrw8sayag90b8vvmbsiifgiqki5s3gs3ldnvlki5w";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
@ -1,20 +1,75 @@
|
||||
# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/blang/semver";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/blang/semver";
|
||||
rev = "v3.5.1";
|
||||
sha256 = "13ws259bwcibkclbr82ilhk6zadm63kxklxhk12wayklj8ghhsmy";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/daviddengcn/go-colortext";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/daviddengcn/go-colortext";
|
||||
rev = "805cee6e0d43c72ba1d4e3275965ff41e0da068a";
|
||||
sha256 = "0z0ggqnprqchnd8zyrz99w53kr4sgv372lyx12z5nsh9q342pmyf";
|
||||
rev = "186a3d44e920";
|
||||
sha256 = "18piv4zzcb8abbc7fllz9p6rd4zhsy1gc6iygym381caggmmgxgk";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mitchellh/go-homedir";
|
||||
goPackagePath = "github.com/fsnotify/fsnotify";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mitchellh/go-homedir";
|
||||
rev = "b8bc1bf767474819792c23f32d8286a45736f1c6";
|
||||
sha256 = "13ry4lylalkh4g2vny9cxwvryslzyzwp9r92z0b10idhdq3wad1q";
|
||||
url = "https://github.com/fsnotify/fsnotify";
|
||||
rev = "v1.4.7";
|
||||
sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/golang/protobuf";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/golang/protobuf";
|
||||
rev = "v1.2.0";
|
||||
sha256 = "0kf4b59rcbb1cchfny2dm9jyznp8ri2hsb14n8iak1q8986xa0ab";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/golangplus/bytes";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/golangplus/bytes";
|
||||
rev = "45c989fe5450";
|
||||
sha256 = "1fpwg1idakpbvkmk8j8yyhv9g7mhr9c922kvff6kj4br4k05zyzr";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/golangplus/fmt";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/golangplus/fmt";
|
||||
rev = "2a5d6d7d2995";
|
||||
sha256 = "1242q05qnawhv0klzy1pbq63q8jxkms5hc7421992hzq2m40k5yn";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/golangplus/testing";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/golangplus/testing";
|
||||
rev = "af21d9c3145e";
|
||||
sha256 = "1g83sjvcavqbh92vyirc48mrqd18yfci08zya0hrgk840cr94czc";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/hpcloud/tail";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/hpcloud/tail";
|
||||
rev = "v1.0.0";
|
||||
sha256 = "1njpzc0pi1acg5zx9y6vj9xi6ksbsc5d387rd6904hy6rh2m6kn0";
|
||||
};
|
||||
}
|
||||
{
|
||||
@ -22,8 +77,26 @@
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/motemen/go-colorine";
|
||||
rev = "49ff36b8fa42db28092361cd20dcefd0b03b1472";
|
||||
sha256 = "1rfi5gggf2sxb52whgxfl37p22r2xp27rndixbiicw6swllmml9l";
|
||||
rev = "45d19169413a";
|
||||
sha256 = "1mdy6q0926s1frj027nlzlvm2qssmkpjis7ic3l2smajkzh07118";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/onsi/ginkgo";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/onsi/ginkgo";
|
||||
rev = "v1.6.0";
|
||||
sha256 = "0x0gc89vgq38xhgmi2h22bhr73cf2gmk42g89nz89k8dgg9hhr25";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/onsi/gomega";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/onsi/gomega";
|
||||
rev = "v1.5.0";
|
||||
sha256 = "1n7i4hksdgv410m43v2sw14bl5vy59dkp6nlw5l76nibbh37syr9";
|
||||
};
|
||||
}
|
||||
{
|
||||
@ -31,8 +104,89 @@
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/urfave/cli";
|
||||
rev = "f017f86fccc5a039a98f23311f34fdf78b014f78";
|
||||
sha256 = "1biq4wl4z8l0ycinb39mfavnk13d0qnqqdplqybl7klxmk67cvhv";
|
||||
rev = "v1.20.0";
|
||||
sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/crypto";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/crypto";
|
||||
rev = "c2843e01d9a2";
|
||||
sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/net";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/net";
|
||||
rev = "4829fb13d2c6";
|
||||
sha256 = "05nwpw41d7xsdln5rj381n8j9dsbq5ng1wp52bxslqc4x0l5s9fj";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/sync";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/sync";
|
||||
rev = "1d60e4601c6f";
|
||||
sha256 = "046jlanz2lkxq1r57x9bl6s4cvfqaic6p2xybsj8mq1120jv4rs6";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/sys";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/sys";
|
||||
rev = "d0b11bdaac8a";
|
||||
sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/text";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/text";
|
||||
rev = "v0.3.0";
|
||||
sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "gopkg.in/check.v1";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://gopkg.in/check.v1";
|
||||
rev = "20d25e280405";
|
||||
sha256 = "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "gopkg.in/fsnotify.v1";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://gopkg.in/fsnotify.v1";
|
||||
rev = "v1.4.7";
|
||||
sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "gopkg.in/tomb.v1";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://gopkg.in/tomb.v1";
|
||||
rev = "dd632973f1e7";
|
||||
sha256 = "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "gopkg.in/yaml.v2";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://gopkg.in/yaml.v2";
|
||||
rev = "v2.2.1";
|
||||
sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
|
||||
};
|
||||
}
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ fetchurl }:
|
||||
|
||||
fetchurl {
|
||||
url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/179aac2faddbba8921029ca9851ad97bcaa79991.tar.gz";
|
||||
sha256 = "17cbapnvpasdpza2r1y7lf4y4b31k094jqsnx89dn8zwp8n862lv";
|
||||
url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/3f0c3944190bf34286e4e80620fede11dd688f68.tar.gz";
|
||||
sha256 = "1i4k4wjm6w8hgwia1axwdr3ij0ckxh3ikc1f0nlk8sb0j3yrmxa6";
|
||||
}
|
||||
|
39
pkgs/desktops/deepin/dde-dock/dde-dock.plugins-dir.patch
Normal file
39
pkgs/desktops/deepin/dde-dock/dde-dock.plugins-dir.patch
Normal file
@ -0,0 +1,39 @@
|
||||
From c48867b73485b34b95f14e9b9bbb54507fc77648 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= <malaquias@gmail.com>
|
||||
Date: Fri, 19 Apr 2019 18:21:49 -0300
|
||||
Subject: [PATCH] Use an environment variable for the plugins directory
|
||||
|
||||
---
|
||||
frame/controller/dockpluginscontroller.cpp | 2 +-
|
||||
plugins/tray/system-trays/systemtrayscontroller.cpp | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/frame/controller/dockpluginscontroller.cpp b/frame/controller/dockpluginscontroller.cpp
|
||||
index 32a5885..efd53c8 100644
|
||||
--- a/frame/controller/dockpluginscontroller.cpp
|
||||
+++ b/frame/controller/dockpluginscontroller.cpp
|
||||
@@ -126,7 +126,7 @@ void DockPluginsController::startLoader()
|
||||
{
|
||||
QString pluginsDir("../plugins");
|
||||
if (!QDir(pluginsDir).exists()) {
|
||||
- pluginsDir = "/usr/lib/dde-dock/plugins";
|
||||
+ pluginsDir = QProcessEnvironment::systemEnvironment().value("DDE_DOCK_PLUGINS_DIR", "@out@/lib/dde-dock/plugins");
|
||||
}
|
||||
qDebug() << "using dock plugins dir:" << pluginsDir;
|
||||
|
||||
diff --git a/plugins/tray/system-trays/systemtrayscontroller.cpp b/plugins/tray/system-trays/systemtrayscontroller.cpp
|
||||
index 0c8ca88..7c47d25 100644
|
||||
--- a/plugins/tray/system-trays/systemtrayscontroller.cpp
|
||||
+++ b/plugins/tray/system-trays/systemtrayscontroller.cpp
|
||||
@@ -159,7 +159,7 @@ void SystemTraysController::startLoader()
|
||||
{
|
||||
QString pluginsDir("../plugins/system-trays");
|
||||
if (!QDir(pluginsDir).exists()) {
|
||||
- pluginsDir = "/usr/lib/dde-dock/plugins/system-trays";
|
||||
+ pluginsDir = QProcessEnvironment::systemEnvironment().value("DDE_DOCK_PLUGINS_DIR", "@out@/lib/dde-dock/plugins") + "/system-trays";
|
||||
}
|
||||
qDebug() << "using system tray plugins dir:" << pluginsDir;
|
||||
|
||||
--
|
||||
2.21.0
|
||||
|
87
pkgs/desktops/deepin/dde-dock/default.nix
Normal file
87
pkgs/desktops/deepin/dde-dock/default.nix
Normal file
@ -0,0 +1,87 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, qttools, qtx11extras,
|
||||
qtsvg, libsForQt5, polkit, gsettings-qt, dtkcore, dtkwidget,
|
||||
dde-qt-dbus-factory, dde-network-utils, dde-daemon,
|
||||
deepin-desktop-schemas, xorg, glib, wrapGAppsHook, deepin,
|
||||
plugins ? [], symlinkJoin, makeWrapper }:
|
||||
|
||||
let
|
||||
unwrapped = stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "dde-dock";
|
||||
version = "4.9.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0vscm808q63bbl84q9l3vhhd8mw86wfjdh55rvyj42qpa5q4mvlz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkgconfig
|
||||
qttools
|
||||
wrapGAppsHook
|
||||
deepin.setupHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dde-daemon
|
||||
dde-network-utils
|
||||
dde-qt-dbus-factory
|
||||
deepin-desktop-schemas
|
||||
dtkcore
|
||||
dtkwidget
|
||||
glib.bin
|
||||
gsettings-qt
|
||||
libsForQt5.libdbusmenu
|
||||
polkit
|
||||
qtsvg
|
||||
qtx11extras
|
||||
xorg.libXdmcp
|
||||
xorg.libXtst
|
||||
xorg.libpthreadstubs
|
||||
];
|
||||
|
||||
patches = [
|
||||
./dde-dock.plugins-dir.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
searchHardCodedPaths
|
||||
patchShebangs translate_generation.sh
|
||||
fixPath $out /etc/dde-dock plugins/keyboard-layout/CMakeLists.txt
|
||||
fixPath $out /usr cmake/DdeDock/DdeDockConfig.cmake
|
||||
fixPath $out /usr dde-dock.pc
|
||||
fixPath $out /usr/bin/dde-dock frame/com.deepin.dde.Dock.service
|
||||
fixPath $out /usr/share/dbus-1 CMakeLists.txt
|
||||
fixPath ${dde-daemon} /usr/lib/deepin-daemon frame/item/showdesktopitem.cpp
|
||||
fixPath ${dde-network-utils} /usr/share/dde-network-utils frame/main.cpp
|
||||
fixPath ${polkit} /usr/bin/pkexec plugins/overlay-warning/overlay-warning-plugin.cpp
|
||||
|
||||
substituteInPlace frame/controller/dockpluginscontroller.cpp --subst-var-by out $out
|
||||
substituteInPlace plugins/tray/system-trays/systemtrayscontroller.cpp --subst-var-by out $out
|
||||
'';
|
||||
|
||||
cmakeFlags = [ "-DDOCK_TRAY_USE_NATIVE_POPUP=YES" ];
|
||||
|
||||
postFixup = ''
|
||||
searchHardCodedPaths $out
|
||||
'';
|
||||
|
||||
passthru.updateScript = deepin.updateScript { inherit name; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Dock for Deepin Desktop Environment";
|
||||
homepage = https://github.com/linuxdeepin/dde-dock;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ romildo ];
|
||||
};
|
||||
};
|
||||
|
||||
in if plugins == [] then unwrapped
|
||||
else import ./wrapper.nix {
|
||||
inherit makeWrapper symlinkJoin plugins;
|
||||
dde-dock = unwrapped;
|
||||
}
|
21
pkgs/desktops/deepin/dde-dock/wrapper.nix
Normal file
21
pkgs/desktops/deepin/dde-dock/wrapper.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ makeWrapper, symlinkJoin, dde-dock, plugins }:
|
||||
|
||||
symlinkJoin {
|
||||
name = "dde-dock-with-plugins-${dde-dock.version}";
|
||||
|
||||
paths = [ dde-dock ] ++ plugins;
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/dde-dock \
|
||||
--set DDE_DOCK_PLUGINS_DIR "$out/lib/dde-dock/plugins"
|
||||
|
||||
rm $out/share/dbus-1/services/com.deepin.dde.Dock.service
|
||||
|
||||
substitute ${dde-dock}/share/dbus-1/services/com.deepin.dde.Dock.service $out/share/dbus-1/services/com.deepin.dde.Dock.service \
|
||||
--replace ${dde-dock} $out
|
||||
'';
|
||||
|
||||
inherit (dde-dock) meta;
|
||||
}
|
@ -10,8 +10,9 @@ let
|
||||
dde-api = callPackage ./dde-api { };
|
||||
dde-calendar = callPackage ./dde-calendar { };
|
||||
dde-daemon = callPackage ./dde-daemon { };
|
||||
dde-polkit-agent = callPackage ./dde-polkit-agent { };
|
||||
dde-dock = callPackage ./dde-dock { };
|
||||
dde-network-utils = callPackage ./dde-network-utils { };
|
||||
dde-polkit-agent = callPackage ./dde-polkit-agent { };
|
||||
dde-qt-dbus-factory = callPackage ./dde-qt-dbus-factory { };
|
||||
dde-session-ui = callPackage ./dde-session-ui { };
|
||||
deepin-desktop-base = callPackage ./deepin-desktop-base { };
|
||||
|
@ -871,38 +871,17 @@ self: super: {
|
||||
# https://github.com/takano-akio/filelock/issues/5
|
||||
filelock = dontCheck super.filelock;
|
||||
|
||||
# fix GHC 8.6 builds by using irrefutable patterns. jailbreak is also
|
||||
# required due to a constraint failure for base-compat.
|
||||
cryptol = doJailbreak (overrideCabal super.cryptol (drv: {
|
||||
|
||||
# the last patch fixes ghc 8.6 builds; the other two (small) patches fix a
|
||||
# few bugs between them, but are also hard dependencies
|
||||
patches = drv.patches or [] ++ [
|
||||
(pkgs.fetchpatch {
|
||||
url = https://github.com/GaloisInc/cryptol/commit/634c5a03e757663bf86d1ffad1ce2c6086d4483f.patch;
|
||||
sha256 = "16dvfihsl2c4jnyfndgrjarkm3z5pyn7rzg2svnidx0qipwrxzm7";
|
||||
})
|
||||
(pkgs.fetchpatch {
|
||||
url = https://github.com/GaloisInc/cryptol/commit/515642328aff6d958ff1b534b9effdd726901b60.patch;
|
||||
sha256 = "1fml71b720igyh8s7mj1z1c2bbv1vk490iy7blvxp625nymzjij6";
|
||||
})
|
||||
(pkgs.fetchpatch {
|
||||
url = https://github.com/GaloisInc/cryptol/commit/a8eab11b319f6434f9b01b26d419b8305ff30bc2.patch;
|
||||
sha256 = "1bbznp3kbj8l83q979gf4gr2khwbyqi85ykwsf2jnkhzda6pr0n8";
|
||||
})
|
||||
];
|
||||
|
||||
# Wrap the generated binaries to include their run-time dependencies in
|
||||
# $PATH. Also, cryptol needs a version of sbl that's newer than what we have
|
||||
# in LTS-13.x.
|
||||
cryptol = overrideCabal (super.cryptol.override { sbv = self.sbv_8_2; }) (drv: {
|
||||
buildTools = drv.buildTools or [] ++ [ pkgs.makeWrapper ];
|
||||
|
||||
# make sure the binaries always start up. previously this was in
|
||||
# all-packages.nix but it's almost certainly better to do it here (e.g. a
|
||||
# haskell deps may use cryptol in the test suite or something, etc)
|
||||
postInstall = drv.postInstall or "" + ''
|
||||
for b in $out/bin/cryptol $out/bin/cryptol-html; do
|
||||
wrapProgram $b --prefix 'PATH' ':' "${pkgs.lib.getBin pkgs.z3}/bin"
|
||||
done
|
||||
'';
|
||||
}));
|
||||
});
|
||||
|
||||
# Tests try to invoke external process and process == 1.4
|
||||
grakn = dontCheck (doJailbreak super.grakn);
|
||||
@ -1223,15 +1202,10 @@ self: super: {
|
||||
sha256 = "1qwy8bj6vywhp0075dza8j90zrzsm3144qz3c703s9c4n6pg3gw4";
|
||||
});
|
||||
|
||||
# These patches contain fixes for 8.6 that should be safe for
|
||||
# earlier versions, but we need the relaxed version bounds in GHC
|
||||
# 8.4 builds. beam needs to release a round of updates that relax
|
||||
# bounds and include the 8.6 fixes:
|
||||
# https://github.com/tathougies/beam/issues/315
|
||||
beam-core = appendPatch super.beam-core ./patches/beam-core-fix-ghc-8.6.x-build.patch;
|
||||
beam-migrate = appendPatch super.beam-migrate ./patches/beam-migrate-fix-ghc-8.6.x-build.patch;
|
||||
beam-postgres = appendPatch super.beam-postgres ./patches/beam-postgres-fix-ghc-8.6.x-build.patch;
|
||||
beam-sqlite = appendPatch super.beam-sqlite ./patches/beam-sqlite-fix-ghc-8.6.x-build.patch;
|
||||
# Requires pg_ctl command during tests
|
||||
beam-postgres = overrideCabal super.beam-postgres (drv: {
|
||||
testToolDepends = (drv.testToolDepends or []) ++ [pkgs.postgresql];
|
||||
});
|
||||
|
||||
# https://github.com/sighingnow/computations/pull/1
|
||||
primesieve = appendPatch super.primesieve (pkgs.fetchpatch {
|
||||
|
@ -3014,12 +3014,7 @@ broken-packages:
|
||||
- bdcs
|
||||
- bdcs-api
|
||||
- beam
|
||||
- beam-core
|
||||
- beam-migrate
|
||||
- beam-mysql
|
||||
- beam-newtype-field
|
||||
- beam-postgres
|
||||
- beam-sqlite
|
||||
- beam-th
|
||||
- beamable
|
||||
- beautifHOL
|
||||
@ -8049,6 +8044,7 @@ broken-packages:
|
||||
- reflex-backend-wai
|
||||
- reflex-basic-host
|
||||
- reflex-dom-core
|
||||
- reflex-dom-svg
|
||||
- reflex-gloss
|
||||
- reflex-gloss-scene
|
||||
- reflex-orphans
|
||||
@ -9947,6 +9943,7 @@ broken-packages:
|
||||
- yesod-markdown
|
||||
- yesod-paginate
|
||||
- yesod-pagination
|
||||
- yesod-paginator
|
||||
- yesod-paypal-rest
|
||||
- yesod-platform
|
||||
- yesod-pnotify
|
||||
|
679
pkgs/development/haskell-modules/hackage-packages.nix
generated
679
pkgs/development/haskell-modules/hackage-packages.nix
generated
File diff suppressed because it is too large
Load Diff
@ -1,72 +0,0 @@
|
||||
diff --git a/beam-core/Database/Beam/Backend/SQL.hs b/beam-core/Database/Beam/Backend/SQL.hs
|
||||
index e2cd37d0..6f9db126 100644
|
||||
--- a/Database/Beam/Backend/SQL.hs
|
||||
+++ b/Database/Beam/Backend/SQL.hs
|
||||
@@ -10,6 +10,7 @@
|
||||
import Database.Beam.Backend.Types
|
||||
|
||||
import Control.Monad.IO.Class
|
||||
+import Control.Monad.Fail (MonadFail)
|
||||
|
||||
-- * MonadBeam class
|
||||
|
||||
@@ -29,7 +30,7 @@
|
||||
-- strategies. More complicated strategies (for example, Postgres's @COPY@)
|
||||
-- are supported in individual backends. See the documentation of those
|
||||
-- backends for more details.
|
||||
-class (BeamBackend be, Monad m, MonadIO m, Sql92SanityCheck syntax) =>
|
||||
+class (BeamBackend be, Monad m, MonadIO m, MonadFail m, Sql92SanityCheck syntax) =>
|
||||
MonadBeam syntax be handle m | m -> syntax be handle where
|
||||
|
||||
{-# MINIMAL withDatabaseDebug, runReturningMany #-}
|
||||
diff --git a/Database/Beam/Backend/SQL/Builder.hs b/Database/Beam/Backend/SQL/Builder.hs
|
||||
index 9e734036..e9849912 100644
|
||||
--- a/Database/Beam/Backend/SQL/Builder.hs
|
||||
+++ b/Database/Beam/Backend/SQL/Builder.hs
|
||||
@@ -33,6 +33,7 @@
|
||||
import Data.Hashable
|
||||
import Data.Int
|
||||
import Data.String
|
||||
+import qualified Control.Monad.Fail as Fail
|
||||
#if !MIN_VERSION_base(4, 11, 0)
|
||||
import Data.Semigroup
|
||||
#endif
|
||||
@@ -507,8 +508,10 @@
|
||||
type BackendFromField SqlSyntaxBackend = Trivial
|
||||
|
||||
newtype SqlSyntaxM a = SqlSyntaxM (IO a)
|
||||
- deriving (Applicative, Functor, Monad, MonadIO)
|
||||
+ deriving (Applicative, Functor, Monad, MonadIO, Fail.MonadFail)
|
||||
|
||||
instance MonadBeam SqlSyntaxBuilder SqlSyntaxBackend SqlSyntaxBackend SqlSyntaxM where
|
||||
- withDatabaseDebug _ _ _ = fail "absurd"
|
||||
- runReturningMany _ _ = fail "absurd"
|
||||
+ withDatabaseDebug _ _ _ = Fail.fail "absurd"
|
||||
+ runReturningMany _ _ = Fail.fail "absurd"
|
||||
+
|
||||
+
|
||||
diff --git a/Database/Beam/Schema/Lenses.hs b/Database/Beam/Schema/Lenses.hs
|
||||
index b21dddb6..5df0654c 100644
|
||||
--- a/Database/Beam/Schema/Lenses.hs
|
||||
+++ b/Database/Beam/Schema/Lenses.hs
|
||||
@@ -1,4 +1,5 @@
|
||||
{-# LANGUAGE PolyKinds #-}
|
||||
+{-# LANGUAGE UndecidableInstances #-}
|
||||
module Database.Beam.Schema.Lenses
|
||||
( tableLenses
|
||||
, TableLens(..)
|
||||
diff --git a/beam-core.cabal b/beam-core.cabal
|
||||
index 4bf4ffd9..251d4d85 100644
|
||||
--- a/beam-core.cabal
|
||||
+++ b/beam-core.cabal
|
||||
@@ -64,8 +64,8 @@
|
||||
time >=1.6 && <1.10,
|
||||
hashable >=1.1 && <1.3,
|
||||
network-uri >=2.6 && <2.7,
|
||||
- containers >=0.5 && <0.6,
|
||||
- vector-sized >=0.5 && <1.1,
|
||||
+ containers >=0.5 && <0.7,
|
||||
+ vector-sized >=0.5 && <1.3,
|
||||
tagged >=0.8 && <0.9
|
||||
Default-language: Haskell2010
|
||||
default-extensions: ScopedTypeVariables, OverloadedStrings, GADTs, RecursiveDo, FlexibleInstances, FlexibleContexts, TypeFamilies,
|
@ -1,29 +0,0 @@
|
||||
diff --git a/Database/Beam/Migrate/Generics/Types.hs b/Database/Beam/Migrate/Generics/Types.hs
|
||||
index 553e208b..0cf9b2c8 100644
|
||||
--- a/Database/Beam/Migrate/Generics/Types.hs
|
||||
+++ b/Database/Beam/Migrate/Generics/Types.hs
|
||||
@@ -1,3 +1,5 @@
|
||||
+{-# LANGUAGE UndecidableInstances #-}
|
||||
+
|
||||
module Database.Beam.Migrate.Generics.Types where
|
||||
|
||||
import Database.Beam.Migrate.Types
|
||||
diff --git a/beam-migrate.cabal b/beam-migrate.cabal
|
||||
index f53b280d..9cf3722c 100644
|
||||
--- a/beam-migrate.cabal
|
||||
+++ b/beam-migrate.cabal
|
||||
@@ -69,13 +69,12 @@ library
|
||||
mtl >=2.2 && <2.3,
|
||||
scientific >=0.3 && <0.4,
|
||||
vector >=0.11 && <0.13,
|
||||
- containers >=0.5 && <0.6,
|
||||
unordered-containers >=0.2 && <0.3,
|
||||
hashable >=1.2 && <1.3,
|
||||
parallel >=3.2 && <3.3,
|
||||
deepseq >=1.4 && <1.5,
|
||||
ghc-prim >=0.5 && <0.6,
|
||||
- containers >=0.5 && <0.6,
|
||||
+ containers >=0.5 && <0.7,
|
||||
haskell-src-exts >=1.18 && <1.21,
|
||||
pretty >=1.1 && <1.2,
|
||||
dependent-map >=0.2 && <0.3,
|
@ -1,45 +0,0 @@
|
||||
diff --git a/Database/Beam/Postgres/Connection.hs b/Database/Beam/Postgres/Connection.hs
|
||||
index 433f55b9..5836c53d 100644
|
||||
--- a/Database/Beam/Postgres/Connection.hs
|
||||
+++ b/Database/Beam/Postgres/Connection.hs
|
||||
@@ -52,6 +52,8 @@ import qualified Database.PostgreSQL.Simple.Types as Pg (Null(..), Query(..))
|
||||
|
||||
import Control.Monad.Reader
|
||||
import Control.Monad.State
|
||||
+import Control.Monad.Fail (MonadFail)
|
||||
+import qualified Control.Monad.Fail as Fail
|
||||
|
||||
import Data.ByteString (ByteString)
|
||||
import Data.ByteString.Builder (toLazyByteString, byteString)
|
||||
@@ -302,6 +304,9 @@ deriving instance Functor PgF
|
||||
newtype Pg a = Pg { runPg :: F PgF a }
|
||||
deriving (Monad, Applicative, Functor, MonadFree PgF)
|
||||
|
||||
+instance MonadFail Pg where
|
||||
+ fail e = fail $ "Internal Error with: " <> show e
|
||||
+
|
||||
instance MonadIO Pg where
|
||||
liftIO x = liftF (PgLiftIO x id)
|
||||
|
||||
diff --git a/beam-postgres.cabal b/beam-postgres.cabal
|
||||
index e14b84f5..d29a5b67 100644
|
||||
--- a/beam-postgres.cabal
|
||||
+++ b/beam-postgres.cabal
|
||||
@@ -31,7 +31,7 @@ library
|
||||
beam-migrate >=0.3 && <0.4,
|
||||
|
||||
postgresql-libpq >=0.8 && <0.10,
|
||||
- postgresql-simple >=0.5 && <0.6,
|
||||
+ postgresql-simple >=0.5 && <0.7,
|
||||
|
||||
text >=1.0 && <1.3,
|
||||
bytestring >=0.10 && <0.11,
|
||||
@@ -38,7 +38,7 @@ library
|
||||
|
||||
hashable >=1.1 && <1.3,
|
||||
lifted-base >=0.2 && <0.3,
|
||||
- free >=4.12 && <5.1,
|
||||
+ free >=4.12 && <5.2,
|
||||
time >=1.6 && <1.10,
|
||||
monad-control >=1.0 && <1.1,
|
||||
mtl >=2.1 && <2.3,
|
@ -1,21 +0,0 @@
|
||||
diff --git a/Database/Beam/Sqlite/Connection.hs b/Database/Beam/Sqlite/Connection.hs
|
||||
index f034b272..4e459ea3 100644
|
||||
--- a/Database/Beam/Sqlite/Connection.hs
|
||||
+++ b/Database/Beam/Sqlite/Connection.hs
|
||||
@@ -37,6 +37,7 @@ import Database.SQLite.Simple.Types (Null)
|
||||
|
||||
import Control.Exception (bracket_, onException, mask)
|
||||
import Control.Monad (forM_, replicateM_)
|
||||
+import Control.Monad.Fail (MonadFail)
|
||||
import Control.Monad.Free.Church
|
||||
import Control.Monad.IO.Class (MonadIO(..))
|
||||
import Control.Monad.Identity (Identity)
|
||||
@@ -143,7 +144,7 @@ newtype SqliteM a
|
||||
{ runSqliteM :: ReaderT (String -> IO (), Connection) IO a
|
||||
-- ^ Run an IO action with access to a SQLite connection and a debug logging
|
||||
-- function, called or each query submitted on the connection.
|
||||
- } deriving (Monad, Functor, Applicative, MonadIO)
|
||||
+ } deriving (Monad, Functor, Applicative, MonadIO, MonadFail)
|
||||
|
||||
newtype BeamSqliteParams = BeamSqliteParams [SQLData]
|
||||
instance ToRow BeamSqliteParams where
|
24
pkgs/development/python-modules/addic7ed-cli/default.nix
Normal file
24
pkgs/development/python-modules/addic7ed-cli/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ lib, python3Packages, }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "addic7ed-cli";
|
||||
version = "1.4.5";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "16nmyw7j2igx5dxflwiwblf421g69rxb879n1553wv6hxi4x27in";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
requests
|
||||
pyquery
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A commandline access to addic7ed subtitles";
|
||||
homepage = https://github.com/BenoitZugmeyer/addic7ed-cli;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ aethelz ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -3,14 +3,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mypy";
|
||||
version = "0.670";
|
||||
version = "0.700";
|
||||
|
||||
# Tests not included in pip package.
|
||||
doCheck = false;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e80fd6af34614a0e898a57f14296d0dacb584648f0339c2e000ddbf0f4cc2f8d";
|
||||
sha256 = "1zxfi5s9hxrz0hbaj4n513az17l44pxl80r62ipjc0bsmbcic2xi";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
@ -10,14 +10,14 @@
|
||||
buildPythonPackage rec {
|
||||
|
||||
pname = "peewee";
|
||||
version = "3.9.3";
|
||||
version = "3.9.5";
|
||||
|
||||
# pypi release does not provide tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "coleifer";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1frwwqkk0y1bkcm7bdzbyv2119vv640ncgs4d55zhbs70fxm2ylj";
|
||||
sha256 = "0c2hkkpp9rajnw5px17wd72x95k7wc2a0iy55pjhi5ly2cqd9ylv";
|
||||
};
|
||||
|
||||
|
||||
|
@ -1,23 +1,24 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, mock, pytest, six, systemd }:
|
||||
{ stdenv, python, systemd }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
python.pkgs.buildPythonPackage rec {
|
||||
pname = "pystemd";
|
||||
version = "0.5.0";
|
||||
src = fetchPypi {
|
||||
version = "0.6.0";
|
||||
src = python.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "000001hxv25vwcsvc0avg42v89c7qcjdpw6dr8419prmcb9186i5";
|
||||
sha256 = "054a3ni71paqa1xa786840z3kjixcgyqdbscyq8nfxp3hwn0gz5i";
|
||||
};
|
||||
|
||||
buildInputs = [ systemd ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
disabled = !python.pkgs.isPy3k;
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
buildInputs = [ systemd ];
|
||||
|
||||
checkInputs = with python.pkgs; [ pytest mock ];
|
||||
checkPhase = "pytest tests";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A thin Cython-based wrapper on top of libsystemd, focused on exposing the dbus API via sd-bus in an automated and easy to consume way.";
|
||||
homepage = https://github.com/facebookincubator/pystemd/;
|
||||
license = licenses.bsd0;
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ flokli ];
|
||||
};
|
||||
}
|
||||
|
@ -11,11 +11,11 @@ let
|
||||
ft = freetype.overrideAttrs (oldArgs: { dontDisableStatic = true; });
|
||||
in buildPythonPackage rec {
|
||||
pname = "reportlab";
|
||||
version = "3.5.19";
|
||||
version = "3.5.20";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "47951166d897b60e9e7ca349db82a2b689e6478ac6078e2c7c88ca8becbb0c7d";
|
||||
sha256 = "06l7jfax1izvbddmmjw9xpyb7iy4n99v3chyv75d9djaklnqs93v";
|
||||
};
|
||||
|
||||
checkInputs = [ glibcLocales ];
|
||||
@ -26,6 +26,7 @@ in buildPythonPackage rec {
|
||||
# Remove all the test files that require access to the internet to pass.
|
||||
rm tests/test_lib_utils.py
|
||||
rm tests/test_platypus_general.py
|
||||
rm tests/test_platypus_images.py
|
||||
|
||||
# Remove the tests that require Vera fonts installed
|
||||
rm tests/test_graphics_render.py
|
||||
|
@ -3,13 +3,13 @@
|
||||
, go-md2man }:
|
||||
|
||||
let
|
||||
version = "1.7.2";
|
||||
version = "1.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "containers";
|
||||
repo = "buildah";
|
||||
sha256 = "19rp5kgdgyjfvg23m8dqlv6g1cs2c57nnw64ifjv24hqhy1xc0qk";
|
||||
sha256 = "154zjkccinf6nvbz5a8rdlkgy7fi6yz11wi100jn9cmsjydspax8";
|
||||
};
|
||||
goPackagePath = "github.com/containers/buildah";
|
||||
|
||||
@ -46,7 +46,7 @@ in buildGoPackage rec {
|
||||
meta = {
|
||||
description = "A tool which facilitates building OCI images";
|
||||
homepage = https://github.com/containers/buildah;
|
||||
maintainers = with stdenv.lib.maintainers; [ Profpatsch ];
|
||||
maintainers = with stdenv.lib.maintainers; [ Profpatsch vdemeester ];
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
};
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "gotests-${version}";
|
||||
version = "1.5.2";
|
||||
version = "1.5.3";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/cweill/gotests";
|
||||
@ -13,7 +13,7 @@ buildGoPackage rec {
|
||||
inherit rev;
|
||||
owner = "cweill";
|
||||
repo = "gotests";
|
||||
sha256 = "0ff2jvpc1xb5jr6dv9izlpfavxaivzirqmdmicpznrqjz0d56pri";
|
||||
sha256 = "1c0hly31ax0wk01zdx0l0yl40xybaizjfb3gjxia2z0mgx330dq9";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
7
pkgs/development/tools/gotests/deps.nix
generated
7
pkgs/development/tools/gotests/deps.nix
generated
@ -1,11 +1,12 @@
|
||||
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
||||
[
|
||||
{
|
||||
goPackagePath = "golang.org/x/tools";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/golang/tools";
|
||||
rev = "96b5a5404f303f074e6117d832a9873c439508f0";
|
||||
sha256 = "1h6r9xyp1v3w2x8d108vzghn65l6ia2h895irypmrwymfcp30y42";
|
||||
url = "https://go.googlesource.com/tools";
|
||||
rev = "23463209683dad3f2b9cc7f7c2663e1847c59017";
|
||||
sha256 = "1shzfl4zixhj78v4f6y04bcmfl705yr5q8hp72ndbbma0mh09g8f";
|
||||
};
|
||||
}
|
||||
]
|
||||
|
@ -1,21 +0,0 @@
|
||||
{ stdenv, ghcWithPackages, gtk3, makeWrapper }:
|
||||
|
||||
let
|
||||
leksahEnv = ghcWithPackages (self: [ self.leksah-server self.leksah self.cabal-install ]);
|
||||
in stdenv.mkDerivation {
|
||||
name = "leksah-${leksahEnv.version}";
|
||||
|
||||
buildInputs = [ gtk3 ];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${leksahEnv}/bin/leksah $out/bin/leksah \
|
||||
--prefix PATH : "${leksahEnv}/bin" \
|
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
broken = true; # 2018-09-13, no successful hydra build since 2017-08-19
|
||||
};
|
||||
}
|
@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
|
||||
sha256 = "08zlnk1k1nddjciccfdcplxqngsnz6ml3zxm57mijabzybry8zz1";
|
||||
};
|
||||
|
||||
cargoSha256 = "00j5nm491zil6kpjns31qyd6z7iqd77b5qp4h7149s70qjwfq2cb";
|
||||
cargoSha256 = "1nig4891p7ii4z4f4j4d4pxx39f501g7yrsygqbpkr1nrgjip547";
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "skaffold-${version}";
|
||||
version = "0.26.0";
|
||||
# rev is the 0.25.0 commit, mainly for skaffold version command output
|
||||
rev = "d88680e9ede62da65500702670ef72fc9272a06f";
|
||||
version = "0.28.0";
|
||||
# rev is the 0.28.0 commit, mainly for skaffold version command output
|
||||
rev = "2b6143bb6d185de9b9fbf2eaa981c8e7acff7339";
|
||||
|
||||
goPackagePath = "github.com/GoogleContainerTools/skaffold";
|
||||
subPackages = ["cmd/skaffold"];
|
||||
@ -20,7 +20,7 @@ buildGoPackage rec {
|
||||
owner = "GoogleContainerTools";
|
||||
repo = "skaffold";
|
||||
rev = "v${version}";
|
||||
sha256 = "151x7hs1876ij5kc1xlm1m7pyff6i22ddhfvjsgwb8sjl4h1ays5";
|
||||
sha256 = "1j7wf2a5xmrk944nc0b9634qa9al3cln3lrij8383avylbx68prw";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -3,7 +3,7 @@
|
||||
with stdenv.lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "4.14.114";
|
||||
version = "4.14.115";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
|
||||
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||
sha256 = "05cyq4id1l3z8hhfs7ril9qc92pfx9h9pgvwl18q1lf8mg7ispmp";
|
||||
sha256 = "11k1a58l4x22ir8ma9rhdm9gsylpj8dr2izxd0yha8qk39qn3bmp";
|
||||
};
|
||||
} // (args.argsOverride or {}))
|
||||
|
@ -3,7 +3,7 @@
|
||||
with stdenv.lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "4.19.37";
|
||||
version = "4.19.38";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
|
||||
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||
sha256 = "0rcwzzbm4853rhsj5mkya0asi6bhsg3mhh9r9ihps31cqc7b7c7c";
|
||||
sha256 = "0zyd1dgr0fzmnshk0zp2pfwrar8dxfk4f2gz420ywqdw5nhdygva";
|
||||
};
|
||||
} // (args.argsOverride or {}))
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "4.9.171";
|
||||
version = "4.9.172";
|
||||
extraMeta.branch = "4.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||
sha256 = "00bznn1x8rq0wgjpl8sbp0cp4mzpbzjdnf2rvm8rinklpy9dj723";
|
||||
sha256 = "03mlbqaj4jz4s72a034i1z8h5swdk04brdzllrlv1h4wk0q8whj9";
|
||||
};
|
||||
} // (args.argsOverride or {}))
|
||||
|
@ -3,7 +3,7 @@
|
||||
with stdenv.lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "5.0.10";
|
||||
version = "5.0.11";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
|
||||
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||
sha256 = "0xjycbjlzpgskqnwcjml60vkbg7r8fsijdj6ypmhpry7q8ii677a";
|
||||
sha256 = "183zjm2y5fy4djpc7lqwqiv8mb1azhq2iwpfg4p81lyaclv65nqq";
|
||||
};
|
||||
} // (args.argsOverride or {}))
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pure-ftpd-1.0.48";
|
||||
name = "pure-ftpd-1.0.49";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.pureftpd.org/pub/pure-ftpd/releases/${name}.tar.gz";
|
||||
sha256 = "1xr1wlf08qaw93irsbdk4kvhqnkvmi6p0jb8kiiz0vr0h92pszxl";
|
||||
sha256 = "19cjr262n6h560fi9nm7l1srwf93k34bp8dp1c6gh90bqxcg8yvn";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
@ -1,53 +0,0 @@
|
||||
{ stdenv, fetchurl
|
||||
, openssl, readline, ncurses, zlib
|
||||
, dataDir ? "/var/lib/softether" }:
|
||||
|
||||
let
|
||||
os = if stdenv.isLinux then "1"
|
||||
else if stdenv.isFreeBSD then "2"
|
||||
else if stdenv.isSunOS then "3"
|
||||
else if stdenv.isDarwin then "4"
|
||||
else if stdenv.isOpenBSD then "5"
|
||||
else "";
|
||||
cpuBits = if stdenv.is64bit then "2" else "1";
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "softether-${version}";
|
||||
version = "4.18";
|
||||
build = "9570";
|
||||
compiledDate = "2015.07.26";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.softether-download.com/files/softether/v${version}-${build}-rtm-${compiledDate}-tree/Source_Code/softether-src-v${version}-${build}-rtm.tar.gz";
|
||||
sha256 = "585d61e524d3cad90806cbeb52ebe54b5144359e6c44676e8e7fb5683ffd4574";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl readline ncurses zlib ];
|
||||
|
||||
preConfigure = ''
|
||||
echo "${os}
|
||||
${cpuBits}
|
||||
" | ./configure
|
||||
rm configure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
mkdir -p $out/bin
|
||||
sed -i \
|
||||
-e "/INSTALL_BINDIR=/s|/usr/bin|/bin|g" \
|
||||
-e "/_DIR=/s|/usr|${dataDir}|g" \
|
||||
-e "s|\$(INSTALL|$out/\$(INSTALL|g" \
|
||||
-e "/echo/s|echo $out/|echo |g" \
|
||||
Makefile
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An Open-Source Free Cross-platform Multi-protocol VPN Program";
|
||||
homepage = https://www.softether.org/;
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.rick68 ];
|
||||
platforms = filter (p: p != "aarch64-linux") platforms.linux;
|
||||
};
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
{ stdenv, fetchurl
|
||||
, openssl, readline, ncurses, zlib
|
||||
, dataDir ? "/var/lib/softether" }:
|
||||
|
||||
let
|
||||
os = if stdenv.isLinux then "1"
|
||||
else if stdenv.isFreeBSD then "2"
|
||||
else if stdenv.isSunOS then "3"
|
||||
else if stdenv.isDarwin then "4"
|
||||
else if stdenv.isOpenBSD then "5"
|
||||
else "";
|
||||
cpuBits = if stdenv.is64bit then "2" else "1";
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "softether-${version}";
|
||||
version = "4.20";
|
||||
build = "9608";
|
||||
compiledDate = "2016.04.17";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.softether-download.com/files/softether/v${version}-${build}-rtm-${compiledDate}-tree/Source_Code/softether-src-v${version}-${build}-rtm.tar.gz";
|
||||
sha256 = "e559644e34ec6feba43d99f4083f77f9b082dd0574d0bb1e416a65f32ccbc51e";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl readline ncurses zlib ];
|
||||
|
||||
preConfigure = ''
|
||||
echo "${os}
|
||||
${cpuBits}
|
||||
" | ./configure
|
||||
rm configure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
mkdir -p $out/bin
|
||||
sed -i \
|
||||
-e "/INSTALL_BINDIR=/s|/usr/bin|/bin|g" \
|
||||
-e "/_DIR=/s|/usr|${dataDir}|g" \
|
||||
-e "s|\$(INSTALL|$out/\$(INSTALL|g" \
|
||||
-e "/echo/s|echo $out/|echo |g" \
|
||||
Makefile
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An Open-Source Free Cross-platform Multi-protocol VPN Program";
|
||||
homepage = https://www.softether.org/;
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.rick68 ];
|
||||
platforms = filter (p: p != "aarch64-linux") platforms.linux;
|
||||
};
|
||||
}
|
38
pkgs/servers/softether/4.29.nix
Normal file
38
pkgs/servers/softether/4.29.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ stdenv, fetchurl
|
||||
, openssl, readline, ncurses, zlib
|
||||
, dataDir ? "/var/lib/softether" }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "softether-${version}";
|
||||
version = "4.29";
|
||||
build = "9680";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v${version}-${build}-rtm/softether-src-v${version}-${build}-rtm.tar.gz";
|
||||
sha256 = "1r169s5dr31060r2mxkmm08riy6zrxgapmrc6kdrpxdav6kmy0z6";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl readline ncurses zlib ];
|
||||
|
||||
preConfigure = ''
|
||||
./configure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
mkdir -p $out/bin
|
||||
sed -i \
|
||||
-e "/INSTALL_BINDIR=/s|/usr/bin|/bin|g" \
|
||||
-e "/_DIR=/s|/usr|${dataDir}|g" \
|
||||
-e "s|\$(INSTALL|$out/\$(INSTALL|g" \
|
||||
-e "/echo/s|echo $out/|echo |g" \
|
||||
Makefile
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An Open-Source Free Cross-platform Multi-protocol VPN Program";
|
||||
homepage = https://www.softether.org/;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.rick68 ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
@ -3,14 +3,14 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "11.31.13";
|
||||
version = "11.33.3";
|
||||
in stdenv.mkDerivation rec {
|
||||
|
||||
name = "monetdb-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dev.monetdb.org/downloads/sources/archive/MonetDB-${version}.tar.bz2";
|
||||
sha256 = "1dvqhjxd2lmnqjzj14n4dnlflca0525kshl9abi7qjv0ipcc6a4l";
|
||||
sha256 = "0k0xcm3b5qq2arjfn8f1h020sjkk97qfynsimn848bnl01vscqh8";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
27
pkgs/shells/jush/default.nix
Normal file
27
pkgs/shells/jush/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, editline }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jush";
|
||||
version = "0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "troglobit";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1azvghrh31gawd798a254ml4id642qvbva64zzg30pjszh1087n8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
buildInputs = [ editline ];
|
||||
|
||||
passthru.shellPath = "/bin/jush";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "just a useless shell";
|
||||
homepage = https://github.com/troglobit/jush;
|
||||
license = licenses.isc;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
};
|
||||
}
|
@ -4,13 +4,13 @@
|
||||
{ stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2019-04-29";
|
||||
version = "2019-05-01";
|
||||
name = "oh-my-zsh-${version}";
|
||||
rev = "d16adb6a9f9b0ea46121f48751a012f0511b465b";
|
||||
rev = "55f20fed6e34e6651816888ea823b61de2fedbcb";
|
||||
|
||||
src = fetchgit { inherit rev;
|
||||
url = "https://github.com/robbyrussell/oh-my-zsh";
|
||||
sha256 = "0sps2jcsh8x91xzm1zixmi4fij0agzg8m4scyf8sgb6mn41y92rx";
|
||||
sha256 = "1b5mpvrc78zh679bbdj4mm2mv3wgaj6ys4iqnbxlcvgqzzh07hxg";
|
||||
};
|
||||
|
||||
pathsToLink = [ "/share/oh-my-zsh" ];
|
||||
|
@ -4,17 +4,17 @@ with lib;
|
||||
|
||||
let
|
||||
|
||||
version = "0.17.4";
|
||||
version = "0.17.8";
|
||||
|
||||
# switch the dropdown to “manual” on https://pulumi.io/quickstart/install.html # TODO: update script
|
||||
pulumiArchPackage = {
|
||||
"x86_64-linux" = {
|
||||
url = "https://get.pulumi.com/releases/sdk/pulumi-v${version}-linux-x64.tar.gz";
|
||||
sha256 = "169hj0db3kcq8874sb3px1hk88ls08kq5w6wygay56whymhva65n";
|
||||
sha256 = "1c4fyzwp00r5xcn5ri1s47jmvl646hfsmiqmczdndaf14ib1xszl";
|
||||
};
|
||||
"x86_64-darwin" = {
|
||||
url = "https://get.pulumi.com/releases/sdk/pulumi-v${version}-darwin-x64.tar.gz";
|
||||
sha256 = "1cn4mbgzq86d69mpp341zxfl8baakz0n5p9yd5chxrjjvxb6i629";
|
||||
sha256 = "0fxs5bmssbhb9q7adsr8ybkbykazzv2q5dn0zdl8xi90mhpd1lgv";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, fetchpatch, utillinux, libuuid
|
||||
{stdenv, fetchurl, utillinux, libuuid
|
||||
, crypto ? false, libgcrypt, gnutls, pkgconfig}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -12,17 +12,10 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = stdenv.lib.optional crypto pkgconfig;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${version}.tgz";
|
||||
url = "https://tuxera.com/opensource/ntfs-3g_ntfsprogs-${version}.tgz";
|
||||
sha256 = "1mb228p80hv97pgk3myyvgp975r9mxq56c6bdn1n24kngcfh4niy";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://sources.debian.org/data/main/n/ntfs-3g/1:2016.2.22AR.1+dfsg-1/debian/patches/0003-CVE-2017-0358.patch";
|
||||
sha256 = "0hd05q9q06r18k8pmppvch1sslzqln5fvqj51d5r72g4mnpavpj3";
|
||||
})
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace src/Makefile.in --replace /sbin '@sbindir@'
|
||||
substituteInPlace ntfsprogs/Makefile.in --replace /sbin '@sbindir@'
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ fetchurl, stdenv, perl, makeWrapper, procps }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "parallel-20190322";
|
||||
name = "parallel-20190422";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/parallel/${name}.tar.bz2";
|
||||
sha256 = "12q0ys0dp019wykx7jcqbrilz8798hgb66k97aj2s2m7xdpw41ym";
|
||||
sha256 = "0xdl5fnh1vpjp3zpmqsrbbgjixazlhl4d9awk42nz4snzynysjxl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurl, makeWrapper, jre, graphviz }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.2019.4";
|
||||
version = "1.2019.5";
|
||||
name = "plantuml-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/plantuml/${version}/plantuml.${version}.jar";
|
||||
sha256 = "0kd0f7kknl6x1dibh4gsx3pl58bzylx42lxwmh9zv4d53gm6a93r";
|
||||
sha256 = "02xx7xyr7il7y6p7p7hq4svcp7jn197mg9b0dcd5bgr84dm6d2ad";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pspg-${version}";
|
||||
version = "1.6.4";
|
||||
version = "1.6.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "okbob";
|
||||
repo = "pspg";
|
||||
rev = "${version}";
|
||||
sha256 = "0j9qn516j0fdz1x196xsdai3qk3jmlamm53zvngqjbjzdfkdclqw";
|
||||
sha256 = "0zz924fl0b99a09gi5l3vxv9dmxnkv1v679w6k9zf365b44z91ki";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
@ -11,11 +11,11 @@ let
|
||||
mkFlag = cond: name: if cond then "--enable-${name}" else "--disable-${name}";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "rsyslog-8.1903.0";
|
||||
name = "rsyslog-8.1904.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.rsyslog.com/files/download/rsyslog/${name}.tar.gz";
|
||||
sha256 = "0vq50k9n3dlb02431zy2c0vhzvb4x27bp887d1xlrinf7m4kmlnh";
|
||||
sha256 = "0gcwzyq3i76vn49yb97gfsx18mllwxb4q4avbp1vzy63vxcv963h";
|
||||
};
|
||||
|
||||
#patches = [ ./fix-gnutls-detection.patch ];
|
||||
|
@ -2,7 +2,7 @@
|
||||
, texlive
|
||||
, zlib, libiconv, libpng, libX11
|
||||
, freetype, gd, libXaw, icu, ghostscript, libXpm, libXmu, libXext
|
||||
, perl, pkgconfig, autoreconfHook
|
||||
, perl, perlPackages, pkgconfig, autoreconfHook
|
||||
, poppler, libpaper, graphite2, zziplib, harfbuzz, potrace, gmp, mpfr
|
||||
, cairo, pixman, xorg, clisp, biber
|
||||
, makeWrapper
|
||||
@ -364,4 +364,30 @@ xindy = stdenv.mkDerivation {
|
||||
'';
|
||||
};
|
||||
|
||||
latexindent = perlPackages.buildPerlPackage rec {
|
||||
inherit (src) name version;
|
||||
|
||||
src = stdenv.lib.head (builtins.filter (p: p.tlType == "run") texlive.latexindent.pkgs);
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
||||
propagatedBuildInputs = with perlPackages; [ FileHomeDir LogDispatch LogLog4perl UnicodeLineBreak YAMLTiny ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace scripts/latexindent/LatexIndent/GetYamlSettings.pm \
|
||||
--replace '$FindBin::RealBin/defaultSettings.yaml' ${src}/scripts/latexindent/defaultSettings.yaml
|
||||
'';
|
||||
|
||||
# Dirty hack to apply perlFlags, but do no build
|
||||
preConfigure = ''
|
||||
touch Makefile.PL
|
||||
'';
|
||||
buildPhase = ":";
|
||||
installPhase = ''
|
||||
install -D ./scripts/latexindent/latexindent.pl "$out"/bin/latexindent
|
||||
mkdir -p "$out"/${perl.libPrefix}
|
||||
cp -r ./scripts/latexindent/LatexIndent "$out"/${perl.libPrefix}/
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -6856,6 +6856,8 @@ in
|
||||
|
||||
ion = callPackage ../shells/ion { };
|
||||
|
||||
jush = callPackage ../shells/jush { };
|
||||
|
||||
ksh = callPackage ../shells/ksh { };
|
||||
|
||||
mksh = callPackage ../shells/mksh { };
|
||||
@ -12783,9 +12785,8 @@ in
|
||||
|
||||
lambda-mod-zsh-theme = callPackage ../shells/zsh/lambda-mod-zsh-theme { };
|
||||
|
||||
leksah = callPackage ../development/tools/haskell/leksah {
|
||||
inherit (haskellPackages) ghcWithPackages;
|
||||
};
|
||||
leksah = throw ("To use leksah, refer to the instructions in " +
|
||||
"https://github.com/leksah/leksah.");
|
||||
|
||||
libgme = callPackage ../development/libraries/audio/libgme { };
|
||||
|
||||
@ -14340,10 +14341,9 @@ in
|
||||
|
||||
oracleXE = callPackage ../servers/sql/oracle-xe { };
|
||||
|
||||
softether_4_18 = callPackage ../servers/softether/4.18.nix { };
|
||||
softether_4_20 = callPackage ../servers/softether/4.20.nix { };
|
||||
softether_4_25 = callPackage ../servers/softether/4.25.nix { };
|
||||
softether = softether_4_25;
|
||||
softether_4_29 = callPackage ../servers/softether/4.29.nix { };
|
||||
softether = softether_4_29;
|
||||
|
||||
qboot = pkgsi686Linux.callPackage ../applications/virtualization/qboot { };
|
||||
|
||||
|
@ -925,6 +925,8 @@ in {
|
||||
|
||||
aafigure = callPackage ../development/python-modules/aafigure { };
|
||||
|
||||
addic7ed-cli = callPackage ../development/python-modules/addic7ed-cli { };
|
||||
|
||||
altair = callPackage ../development/python-modules/altair { };
|
||||
|
||||
vega = callPackage ../development/python-modules/vega { };
|
||||
|
Loading…
Reference in New Issue
Block a user