commit
063795ffd7
@ -1,65 +0,0 @@ |
||||
diff --git i/CMakeLists.txt w/CMakeLists.txt
|
||||
index 375b17c..106efa9 100644
|
||||
--- i/CMakeLists.txt
|
||||
+++ w/CMakeLists.txt
|
||||
@@ -114,13 +114,11 @@ qt5_add_translation(QM_FILES
|
||||
)
|
||||
|
||||
configure_file(src/cmake.h.in cmake.h)
|
||||
-configure_file(data/icons/flags.qrc ${CircleFlags_SOURCE_DIR}/flags/flags.qrc COPYONLY)
|
||||
-configure_file(data/icons/fluent-icon-theme.qrc ${FluentIconTheme_SOURCE_DIR}/src/fluent-icon-theme.qrc COPYONLY)
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
- ${CircleFlags_SOURCE_DIR}/flags/flags.qrc
|
||||
+ data/icons/flags.qrc
|
||||
${QM_FILES}
|
||||
- ${FluentIconTheme_SOURCE_DIR}/src/fluent-icon-theme.qrc
|
||||
+ data/icons/fluent-icon-theme.qrc
|
||||
data/icons/engines/engines.qrc
|
||||
src/addlanguagedialog.cpp
|
||||
src/addlanguagedialog.ui
|
||||
diff --git i/cmake/ExternalLibraries.cmake w/cmake/ExternalLibraries.cmake
|
||||
index c92e745..f265f03 100644
|
||||
--- i/cmake/ExternalLibraries.cmake
|
||||
+++ w/cmake/ExternalLibraries.cmake
|
||||
@@ -2,34 +2,28 @@ include(FetchContent)
|
||||
|
||||
set(QAPPLICATION_CLASS QApplication)
|
||||
FetchContent_Declare(SingleApplication
|
||||
- GIT_REPOSITORY https://github.com/itay-grudev/SingleApplication
|
||||
- GIT_TAG v3.2.0
|
||||
+ SOURCE_DIR @singleapplication@
|
||||
)
|
||||
|
||||
FetchContent_Declare(QTaskbarControl
|
||||
- GIT_REPOSITORY https://github.com/Skycoder42/QTaskbarControl
|
||||
- GIT_TAG 2.0.2
|
||||
+ SOURCE_DIR @qtaskbarcontrol@
|
||||
)
|
||||
|
||||
option(QHOTKEY_INSTALL OFF)
|
||||
FetchContent_Declare(QHotkey
|
||||
- GIT_REPOSITORY https://github.com/Skycoder42/QHotkey
|
||||
- GIT_TAG 1.4.2
|
||||
+ SOURCE_DIR @qhotkey@
|
||||
)
|
||||
|
||||
FetchContent_Declare(QOnlineTranslator
|
||||
- GIT_REPOSITORY https://github.com/crow-translate/QOnlineTranslator
|
||||
- GIT_TAG 1.5.3
|
||||
+ SOURCE_DIR @qonlinetranslator@
|
||||
)
|
||||
|
||||
FetchContent_Declare(CircleFlags
|
||||
- GIT_REPOSITORY https://github.com/HatScripts/circle-flags
|
||||
- GIT_TAG v2.3.0
|
||||
+ SOURCE_DIR @circleflags@
|
||||
)
|
||||
|
||||
FetchContent_Declare(FluentIconTheme
|
||||
- GIT_REPOSITORY https://github.com/vinceliuice/Fluent-icon-theme
|
||||
- GIT_TAG 2021-08-15
|
||||
+ SOURCE_DIR @fluent@
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(SingleApplication QTaskbarControl QHotkey QOnlineTranslator CircleFlags FluentIconTheme)
|
@ -0,0 +1,31 @@ |
||||
{ stdenv, lib, callPackage, buildMozillaMach }: |
||||
|
||||
let |
||||
librewolf-src = callPackage ./librewolf.nix { }; |
||||
in |
||||
(buildMozillaMach rec { |
||||
pname = "librewolf"; |
||||
binaryName = "librewolf"; |
||||
version = librewolf-src.packageVersion; |
||||
src = librewolf-src.firefox; |
||||
inherit (librewolf-src) extraConfigureFlags extraPostPatch extraPassthru; |
||||
|
||||
meta = { |
||||
description = "A fork of Firefox, focused on privacy, security and freedom"; |
||||
homepage = "https://librewolf.net/"; |
||||
maintainers = with lib.maintainers; [ squalus ]; |
||||
platforms = lib.platforms.unix; |
||||
badPlatforms = lib.platforms.darwin; |
||||
broken = stdenv.buildPlatform.is32bit; # since Firefox 60, build on 32-bit platforms fails with "out of memory". |
||||
# not in `badPlatforms` because cross-compilation on 64-bit machine might work. |
||||
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115) |
||||
license = lib.licenses.mpl20; |
||||
}; |
||||
updateScript = callPackage ./update.nix { |
||||
attrPath = "librewolf-unwrapped"; |
||||
}; |
||||
}).override { |
||||
crashreporterSupport = false; |
||||
enableOfficialBranding = false; |
||||
pgoSupport = false; # Profiling gets stuck and doesn't terminate. |
||||
} |
@ -1,4 +1,4 @@ |
||||
{ callPackage, git }: |
||||
{ callPackage }: |
||||
let |
||||
src = callPackage ./src.nix { }; |
||||
in |
@ -0,0 +1,14 @@ |
||||
diff --git a/src/nvcgo.c b/src/nvcgo.c
|
||||
index 98789a3..47ad02b 100644
|
||||
--- a/src/nvcgo.c
|
||||
+++ b/src/nvcgo.c
|
||||
@@ -33,7 +33,8 @@
|
||||
void nvcgo_program_1(struct svc_req *, register SVCXPRT *);
|
||||
|
||||
static struct nvcgo_ext {
|
||||
- struct nvcgo;
|
||||
+ struct rpc rpc;
|
||||
+ struct libnvcgo api;
|
||||
bool initialized;
|
||||
void *dl_handle;
|
||||
} global_nvcgo_context;
|
@ -0,0 +1,54 @@ |
||||
{ lib |
||||
, attrs |
||||
, buildPythonPackage |
||||
, click |
||||
, commoncode |
||||
, dockerfile-parse |
||||
, fetchFromGitHub |
||||
, pytestCheckHook |
||||
, pythonOlder |
||||
, setuptools-scm |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "container-inspector"; |
||||
version = "31.0.0"; |
||||
format = "setuptools"; |
||||
|
||||
disabled = pythonOlder "3.6"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "nexB"; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
hash = "sha256-YwtyNZsTMb8iFXo/rojvjkKUbMNRCXVamzFykpwYCOk="; |
||||
}; |
||||
|
||||
dontConfigure = true; |
||||
|
||||
nativeBuildInputs = [ |
||||
setuptools-scm |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
attrs |
||||
click |
||||
dockerfile-parse |
||||
commoncode |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
pythonImportsCheck = [ |
||||
"container_inspector" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Suite of analysis utilities and command line tools for container images"; |
||||
homepage = "https://github.com/nexB/container-inspector"; |
||||
license = with licenses; [ asl20 ]; |
||||
maintainers = with maintainers; [ fab ]; |
||||
}; |
||||
} |
@ -0,0 +1,24 @@ |
||||
{ lib, buildPythonPackage, pytestCheckHook, fetchFromGitHub }: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "crossplane"; |
||||
version = "0.5.7"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "nginxinc"; |
||||
repo = "crossplane"; |
||||
rev = "v${version}"; |
||||
sha256 = "0lv3frfvnvz5wjxwh3mwy8nbypv4i62v4bvy5fv7vd6kmbxy1q9l"; |
||||
}; |
||||
|
||||
checkInputs = [ pytestCheckHook ]; |
||||
|
||||
pythonImportsCheck = [ "crossplane" ]; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://github.com/nginxinc/crossplane"; |
||||
description = "NGINX configuration file parser and builder"; |
||||
license = licenses.asl20; |
||||
maintainers = with maintainers; [ kaction ]; |
||||
}; |
||||
} |
@ -0,0 +1,30 @@ |
||||
{ buildPythonPackage |
||||
, fetchFromGitHub |
||||
, lib |
||||
, pandocfilters |
||||
, psutil |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "pandoc-xnos"; |
||||
version = "2.5.0"; |
||||
format = "pyproject"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "tomduck"; |
||||
repo = pname; |
||||
rev = version; |
||||
sha256 = "sha256-beiGvN0DS6s8wFjcDKozDuwAM2OApX3lTRaUDRUqLeU="; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ pandocfilters psutil ]; |
||||
|
||||
pythonImportsCheck = [ "pandocxnos" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Pandoc filter suite providing facilities for cross-referencing in markdown documents"; |
||||
homepage = "https://github.com/tomduck/pandoc-xnos"; |
||||
license = licenses.gpl3Only; |
||||
maintainers = with maintainers; [ ppenguin ]; |
||||
}; |
||||
} |
@ -0,0 +1,48 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchFromGitHub |
||||
, packaging |
||||
, pytestCheckHook |
||||
, pythonOlder |
||||
, setuptools-scm |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "pip-requirements-parser"; |
||||
version = "31.2.0"; |
||||
format = "setuptools"; |
||||
|
||||
disabled = pythonOlder "3.6"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "nexB"; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
hash = "sha256-i4hw3tS4i2ek2JzcDiGo5aFFJ9J2JJ9MB5vxDhOilb0="; |
||||
}; |
||||
|
||||
dontConfigure = true; |
||||
|
||||
nativeBuildInputs = [ |
||||
setuptools-scm |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
packaging |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
pythonImportsCheck = [ |
||||
"pip_requirements_parser" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Module to parse pip requirements"; |
||||
homepage = "https://github.com/nexB/pip-requirements-parser"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ fab ]; |
||||
}; |
||||
} |
@ -0,0 +1,35 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchFromGitHub |
||||
, pytestCheckHook |
||||
, pythonOlder |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "pkginfo2"; |
||||
version = "30.0.0"; |
||||
|
||||
disabled = pythonOlder "3.7"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "nexB"; |
||||
repo = "pkginfo2"; |
||||
rev = "v${version}"; |
||||
hash = "sha256-E9EyaN3ncf/34vvvhRe0rwV28VrjqJo79YFgXq2lKWU="; |
||||
}; |
||||
|
||||
checkInputs = [ |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
pythonImportsCheck = [ |
||||
"pkginfo2" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Query metadatdata from sdists, bdists or installed packages"; |
||||
homepage = "https://github.com/nexB/pkginfo2"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ fab ]; |
||||
}; |
||||
} |
@ -0,0 +1,45 @@ |
||||
{ lib, buildPythonPackage, fetchFromGitHub, sphinxHook }: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "sphinx-better-theme"; |
||||
version = "0.1.5"; |
||||
outputs = [ "out" "doc" ]; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "irskep"; |
||||
repo = "sphinx-better-theme"; |
||||
rev = "v${version}"; |
||||
sha256 = "07lhfmsjcfzcchsjzh6kxdq5s47j2a6lb5wv3m1kmv2hcm3gvddh"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ sphinxHook ]; |
||||
|
||||
pythonImportsCheck = [ "better" ]; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://github.com/irskep/sphinx-better-theme"; |
||||
description = "Better Sphinx Theme"; |
||||
longDescription = '' |
||||
This is a modified version of the default Sphinx theme with the following |
||||
goals: |
||||
|
||||
1. Remove frivolous colors, especially hard-coded ones |
||||
2. Improve readability by limiting width and using more whitespace |
||||
3. Encourage visual customization through CSS, not themeconf |
||||
4. Use semantic markup |
||||
|
||||
v0.1 meets goals one and two. Goal three is partially complete; it's simple to |
||||
add your own CSS file without creating a whole new theme. |
||||
you'd like something changed. |
||||
|
||||
To use the theme, set ``html_theme_path`` to contain |
||||
``better.better_theme_path``, and set ``html_theme`` to ``'better'``:: |
||||
|
||||
from better import better_theme_path |
||||
html_theme_path = [better_theme_path] |
||||
html_theme = 'better' |
||||
''; |
||||
license = licenses.bsd2; |
||||
maintainers = with maintainers; [ kaction ]; |
||||
}; |
||||
} |
@ -1,2 +1,2 @@ |
||||
source 'https://rubygems.org' |
||||
gem '3llo', '0.3.0' |
||||
gem '3llo', '1.3.1' |
||||
|
@ -1,27 +1,27 @@ |
||||
GEM |
||||
remote: https://rubygems.org/ |
||||
specs: |
||||
3llo (0.3.0) |
||||
tty-prompt (~> 0.12.0) |
||||
equatable (0.6.1) |
||||
necromancer (0.4.0) |
||||
pastel (0.7.3) |
||||
equatable (~> 0.6) |
||||
3llo (1.3.1) |
||||
tty-prompt (~> 0.20) |
||||
pastel (0.8.0) |
||||
tty-color (~> 0.5) |
||||
tty-color (0.5.0) |
||||
tty-cursor (0.4.0) |
||||
tty-prompt (0.12.0) |
||||
necromancer (~> 0.4.0) |
||||
pastel (~> 0.7.0) |
||||
tty-cursor (~> 0.4.0) |
||||
wisper (~> 1.6.1) |
||||
wisper (1.6.1) |
||||
tty-color (0.6.0) |
||||
tty-cursor (0.7.1) |
||||
tty-prompt (0.23.1) |
||||
pastel (~> 0.8) |
||||
tty-reader (~> 0.8) |
||||
tty-reader (0.9.0) |
||||
tty-cursor (~> 0.7) |
||||
tty-screen (~> 0.8) |
||||
wisper (~> 2.0) |
||||
tty-screen (0.8.1) |
||||
wisper (2.0.1) |
||||
|
||||
PLATFORMS |
||||
ruby |
||||
|
||||
DEPENDENCIES |
||||
3llo (= 0.3.0) |
||||
3llo (= 1.3.1) |
||||
|
||||
BUNDLED WITH |
||||
2.1.4 |
||||
2.2.33 |
||||
|
@ -0,0 +1,30 @@ |
||||
{ buildPythonApplication |
||||
, fetchFromGitHub |
||||
, lib |
||||
, pandoc-xnos |
||||
}: |
||||
|
||||
buildPythonApplication rec { |
||||
pname = "pandoc-eqnos"; |
||||
version = "2.5.0"; |
||||
format = "pyproject"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "tomduck"; |
||||
repo = pname; |
||||
rev = version; |
||||
sha256 = "sha256-7GQdfGHhtQs6LZK+ZyMmcPSkoFfBWmATTMejMiFcS7Y="; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ pandoc-xnos ]; |
||||
|
||||
# Different pandoc executables are not available |
||||
doCheck = false; |
||||
|
||||
meta = with lib; { |
||||
description = "Standalone pandoc filter from the pandoc-xnos suite for numbering equations and equation references"; |
||||
homepage = "https://github.com/tomduck/pandoc-eqnos"; |
||||
license = licenses.gpl3Only; |
||||
maintainers = with maintainers; [ ppenguin ]; |
||||
}; |
||||
} |
@ -0,0 +1,30 @@ |
||||
{ buildPythonApplication |
||||
, fetchFromGitHub |
||||
, lib |
||||
, pandoc-xnos |
||||
}: |
||||
|
||||
buildPythonApplication rec { |
||||
pname = "pandoc-fignos"; |
||||
version = "2.4.0"; |
||||
format = "pyproject"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "tomduck"; |
||||
repo = pname; |
||||
rev = version; |
||||
sha256 = "sha256-eDwAW0nLB4YqrWT3Ajt9bmX1A43wl+tOPm2St5VpCLk="; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ pandoc-xnos ]; |
||||
|
||||
# Different pandoc executables are not available |
||||
doCheck = false; |
||||
|
||||
meta = with lib; { |
||||
description = "Standalone pandoc filter from the pandoc-xnos suite for numbering figures and figure references"; |
||||
homepage = "https://github.com/tomduck/pandoc-fignos"; |
||||
license = licenses.gpl3Only; |
||||
maintainers = with maintainers; [ ppenguin ]; |
||||
}; |
||||
} |
@ -0,0 +1,34 @@ |
||||
{ buildPythonApplication |
||||
, fetchFromGitHub |
||||
, lib |
||||
, pandoc-xnos |
||||
}: |
||||
|
||||
buildPythonApplication rec { |
||||
pname = "pandoc-secnos"; |
||||
version = "2.2.2"; |
||||
format = "pyproject"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "tomduck"; |
||||
repo = pname; |
||||
rev = version; |
||||
sha256 = "sha256-J9KLZvioYM3Pl2UXjrEgd4PuLTwCLYy9SsJIzgw5/jU="; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ pandoc-xnos ]; |
||||
|
||||
patches = [ |
||||
./patch/fix-manifest.patch |
||||
]; |
||||
|
||||
# Different pandoc executables are not available |
||||
doCheck = false; |
||||
|
||||
meta = with lib; { |
||||
description = "Standalone pandoc filter from the pandoc-xnos suite for numbering sections and section references"; |
||||
homepage = "https://github.com/tomduck/pandoc-secnos"; |
||||
license = licenses.gpl3Only; |
||||
maintainers = with maintainers; [ ppenguin ]; |
||||
}; |
||||
} |
@ -0,0 +1,39 @@ |
||||
From 165ee1f4c1208636254392335d34934dc50d273e Mon Sep 17 00:00:00 2001
|
||||
From: ppenguin <hieronymusv@gmail.com>
|
||||
Date: Tue, 15 Mar 2022 23:15:07 +0100
|
||||
Subject: [PATCH] fix setup.py to work in nixpkgs
|
||||
|
||||
---
|
||||
setup.py | 13 ++-----------
|
||||
1 file changed, 2 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index d705846..d7345a2 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -42,10 +42,10 @@
|
||||
|
||||
author='Thomas J. Duck',
|
||||
author_email='tomduck@tomduck.ca',
|
||||
- description='Equation number filter for pandoc',
|
||||
+ description='Section number filter for pandoc',
|
||||
long_description=DESCRIPTION,
|
||||
license='GPL',
|
||||
- keywords='pandoc equation numbers filter',
|
||||
+ keywords='pandoc section numbers filter',
|
||||
url='https://github.com/tomduck/pandoc-secnos',
|
||||
download_url='https://github.com/tomduck/pandoc-secnos/tarball/' + \
|
||||
__version__,
|
||||
@@ -63,12 +63,3 @@
|
||||
'Programming Language :: Python'
|
||||
]
|
||||
)
|
||||
-
|
||||
-# Check that the pandoc-secnos script is on the PATH
|
||||
-if not shutil.which('pandoc-secnos'):
|
||||
- msg = """
|
||||
- ERROR: `pandoc-secnos` script not found. This will need to
|
||||
- be corrected. If you need help, please file an Issue at
|
||||
- https://github.com/tomduck/pandoc-secnos/issues.\n"""
|
||||
- print(textwrap.dedent(msg))
|
||||
- sys.exit(-1)
|
@ -0,0 +1,30 @@ |
||||
{ buildPythonApplication |
||||
, fetchFromGitHub |
||||
, lib |
||||
, pandoc-xnos |
||||
}: |
||||
|
||||
buildPythonApplication rec { |
||||
pname = "pandoc-tablenos"; |
||||
version = "2.3.0"; |
||||
format = "pyproject"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "tomduck"; |
||||
repo = pname; |
||||
rev = version; |
||||
sha256 = "sha256-FwzsRziY3PoySo9hIFuLw6tOO9oQij6oQEyoY8HgnII="; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ pandoc-xnos ]; |
||||
|
||||
# Different pandoc executables are not available |
||||
doCheck = false; |
||||
|
||||
meta = with lib; { |
||||
description = "Standalone pandoc filter from the pandoc-xnos suite for numbering tables and table references"; |
||||
homepage = "https://github.com/tomduck/pandoc-tablenos"; |
||||
license = licenses.gpl3Only; |
||||
maintainers = with maintainers; [ ppenguin ]; |
||||
}; |
||||
} |
@ -0,0 +1,38 @@ |
||||
{ lib, python3, fetchFromGitHub }: |
||||
|
||||
python3.pkgs.buildPythonApplication rec { |
||||
pname = "pls"; |
||||
version = "4.0.3"; |
||||
format = "pyproject"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "dhruvkb"; |
||||
repo = "pls"; |
||||
rev = version; |
||||
sha256 = "sha256-cVTIWSOx3FwF3QPak3eIIIgQ1O9JF5e5ILpcHQ4qI6k="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ python3.pkgs.poetry-core ]; |
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [ |
||||
pyyaml |
||||
rich |
||||
]; |
||||
|
||||
checkInputs = with python3.pkgs; [ |
||||
freezegun |
||||
jsonschema |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
pytestFlagsArray = [ "tests/" "--ignore=tests/e2e" ]; |
||||
|
||||
pythonImportsCheck = [ "pls" ]; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://dhruvkb.github.io/pls/"; |
||||
description = "Prettier and powerful ls"; |
||||
license = licenses.gpl3Plus; |
||||
maintainers = with maintainers; [ arjan-s ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue