-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
971 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ in | |
./berry.nix | ||
./bspwm.nix | ||
./cwm.nix | ||
./clfswm.nix | ||
./dwm.nix | ||
./evilwm.nix | ||
./exwm.nix | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
pkgs/applications/editors/kakoune/plugins/quickscope.kak.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ stdenv, fetchgit, lua5_3 }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "quickscope-kak"; | ||
version = "1.0.0"; | ||
|
||
src = fetchgit { | ||
url = "https://git.sr.ht/~voroskoi/quickscope.kak"; | ||
rev = "v${version}"; | ||
sha256 = "0y1g3zpa2ql8l9rl5i2w84bka8a09kig9nq9zdchaff5pw660mcx"; | ||
}; | ||
|
||
buildInputs = [ lua5_3 ]; | ||
|
||
installPhase = '' | ||
mkdir -p $out/share/kak/autoload/plugins/ | ||
cp quickscope.* $out/share/kak/autoload/plugins/ | ||
# substituteInPlace does not like the pipe | ||
sed -e 's,[|] *lua,|${lua5_3}/bin/lua,' quickscope.kak >$out/share/kak/autoload/plugins/quickscope.kak | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Highlight f and t jump positions"; | ||
homepage = "https://sr.ht/~voroskoi/quickscope.kak/"; | ||
license = licenses.unlicense; | ||
maintainers = with maintainers; [ eraserhd ]; | ||
platforms = platforms.all; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,38 @@ | ||
{ lib, stdenv, fetchurl, automake, libtool, autoconf, intltool, perl | ||
, gmpxx, flex, bison | ||
{ stdenv, lib, fetchFromGitHub | ||
, cmake, libedit, gmpxx, bison, flex | ||
, enableReadline ? false, readline | ||
, gtest | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "opensmt"; | ||
version = "20101017"; | ||
version = "2.0.1"; | ||
|
||
src = fetchurl { | ||
url = "http://opensmt.googlecode.com/files/opensmt_src_${version}.tgz"; | ||
sha256 = "0xrky7ixjaby5x026v7hn72xh7d401w9jhccxjn0khhn1x87p2w1"; | ||
src = fetchFromGitHub { | ||
owner = "usi-verification-and-security"; | ||
repo = "opensmt"; | ||
rev = "v${version}"; | ||
sha256 = "uoIcXWsxxRsIuFsou3RcN9e48lc7cWMgRPVJLFVslDE="; | ||
}; | ||
|
||
buildInputs = [ automake libtool autoconf intltool perl gmpxx flex bison ]; | ||
nativeBuildInputs = [ cmake bison flex ]; | ||
buildInputs = [ libedit gmpxx ] | ||
++ lib.optional enableReadline readline; | ||
|
||
preConfigure = '' | ||
substituteInPlace test/CMakeLists.txt \ | ||
--replace 'FetchContent_Populate' '#FetchContent_Populate' | ||
''; | ||
cmakeFlags = [ | ||
"-Dgoogletest_SOURCE_DIR=${gtest.src}" | ||
"-Dgoogletest_BINARY_DIR=./gtest-build" | ||
]; | ||
|
||
meta = with lib; { | ||
description = "A satisfiability modulo theory (SMT) solver"; | ||
maintainers = [ maintainers.raskin ]; | ||
platforms = platforms.linux; | ||
license = licenses.gpl3; | ||
homepage = "http://code.google.com/p/opensmt/"; | ||
broken = true; | ||
downloadPage = "http://code.google.com/p/opensmt/downloads/list"; | ||
license = if enableReadline then licenses.gpl2Plus else licenses.mit; | ||
homepage = "https://github.com/usi-verification-and-security/opensmt"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- a/lxqtapplication.cpp | ||
+++ b/lxqtapplication.cpp | ||
@@ -77,7 +77,7 @@ Application::Application(int &argc, char** argv, bool handleQuitSignals) | ||
|
||
void Application::updateTheme() | ||
{ | ||
- const QString styleSheetKey = QFileInfo(applicationFilePath()).fileName(); | ||
+ const QString styleSheetKey = QFileInfo(applicationFilePath()).fileName().mid(1).chopped(8); | ||
setStyleSheet(lxqtTheme.qss(styleSheetKey)); | ||
Q_EMIT themeChanged(); | ||
} | ||
|
||
--- a/lxqttranslator.cpp | ||
+++ b/lxqttranslator.cpp | ||
@@ -147,7 +147,7 @@ bool Translator::translateApplication(const QString &applicationName) | ||
if (!applicationName.isEmpty()) | ||
return translate(applicationName); | ||
else | ||
- return translate(QFileInfo(QCoreApplication::applicationFilePath()).baseName()); | ||
+ return translate(QFileInfo(QCoreApplication::applicationFilePath()).baseName().mid(1).chopped(8)); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.