Merge release-21.05 into staging-next-21.05
This commit is contained in:
commit
5052d11c95
@ -242,12 +242,12 @@ in
|
|||||||
|
|
||||||
clion = buildClion rec {
|
clion = buildClion rec {
|
||||||
name = "clion-${version}";
|
name = "clion-${version}";
|
||||||
version = "2021.1.1"; /* updated by script */
|
version = "2021.1.2"; /* updated by script */
|
||||||
description = "C/C++ IDE. New. Intelligent. Cross-platform";
|
description = "C/C++ IDE. New. Intelligent. Cross-platform";
|
||||||
license = lib.licenses.unfree;
|
license = lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/cpp/CLion-${version}.tar.gz";
|
url = "https://download.jetbrains.com/cpp/CLion-${version}.tar.gz";
|
||||||
sha256 = "0xzlkf3gq6fcb0q9mcj8k39880l8h21pb1lz0xl2dqj8cfwpws9h"; /* updated by script */
|
sha256 = "1zx9qwjx7hwjq25y474yj7sxvp9bqnq9l53afs6d4h6131lhjkcz"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-clion";
|
wmClass = "jetbrains-clion";
|
||||||
update-channel = "CLion RELEASE"; # channel's id as in http://www.jetbrains.com/updates/updates.xml
|
update-channel = "CLion RELEASE"; # channel's id as in http://www.jetbrains.com/updates/updates.xml
|
||||||
@ -255,12 +255,12 @@ in
|
|||||||
|
|
||||||
datagrip = buildDataGrip rec {
|
datagrip = buildDataGrip rec {
|
||||||
name = "datagrip-${version}";
|
name = "datagrip-${version}";
|
||||||
version = "2021.1.1"; /* updated by script */
|
version = "2021.1.2"; /* updated by script */
|
||||||
description = "Your Swiss Army Knife for Databases and SQL";
|
description = "Your Swiss Army Knife for Databases and SQL";
|
||||||
license = lib.licenses.unfree;
|
license = lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/datagrip/${name}.tar.gz";
|
url = "https://download.jetbrains.com/datagrip/${name}.tar.gz";
|
||||||
sha256 = "0smg0qbk3mnm2543w0nlvnyvbwmprf0p3z2spwrmcmfagv50crrx"; /* updated by script */
|
sha256 = "1znb4m7sv7xqi1mq3yw0m51m06wfwmhhxmvck0xkv8s0cfg18qim"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-datagrip";
|
wmClass = "jetbrains-datagrip";
|
||||||
update-channel = "DataGrip RELEASE";
|
update-channel = "DataGrip RELEASE";
|
||||||
@ -268,12 +268,12 @@ in
|
|||||||
|
|
||||||
goland = buildGoland rec {
|
goland = buildGoland rec {
|
||||||
name = "goland-${version}";
|
name = "goland-${version}";
|
||||||
version = "2021.1.1"; /* updated by script */
|
version = "2021.1.2"; /* updated by script */
|
||||||
description = "Up and Coming Go IDE";
|
description = "Up and Coming Go IDE";
|
||||||
license = lib.licenses.unfree;
|
license = lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/go/${name}.tar.gz";
|
url = "https://download.jetbrains.com/go/${name}.tar.gz";
|
||||||
sha256 = "02fyrq4px9w34amincgjgm6maxpxn445j5h4nfbskx7z428ynx25"; /* updated by script */
|
sha256 = "0g20r7yn4r2h08wv3i8bnnma8x4jljixsbmfml8kixk0pzfhv4px"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-goland";
|
wmClass = "jetbrains-goland";
|
||||||
update-channel = "GoLand RELEASE";
|
update-channel = "GoLand RELEASE";
|
||||||
@ -281,12 +281,12 @@ in
|
|||||||
|
|
||||||
idea-community = buildIdea rec {
|
idea-community = buildIdea rec {
|
||||||
name = "idea-community-${version}";
|
name = "idea-community-${version}";
|
||||||
version = "2021.1.1"; /* updated by script */
|
version = "2021.1.2"; /* updated by script */
|
||||||
description = "Integrated Development Environment (IDE) by Jetbrains, community edition";
|
description = "Integrated Development Environment (IDE) by Jetbrains, community edition";
|
||||||
license = lib.licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz";
|
url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz";
|
||||||
sha256 = "1say19p7kgx4b2ccs9bv61phllzhl8gmrd1fp1a5cnagya7vl1c5"; /* updated by script */
|
sha256 = "03i5f6p0abr9yfs9fg90fg7hb1a7zar9q4d4iiag30cmndwpslg2"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-idea-ce";
|
wmClass = "jetbrains-idea-ce";
|
||||||
update-channel = "IntelliJ IDEA RELEASE";
|
update-channel = "IntelliJ IDEA RELEASE";
|
||||||
@ -294,12 +294,12 @@ in
|
|||||||
|
|
||||||
idea-ultimate = buildIdea rec {
|
idea-ultimate = buildIdea rec {
|
||||||
name = "idea-ultimate-${version}";
|
name = "idea-ultimate-${version}";
|
||||||
version = "2021.1.1"; /* updated by script */
|
version = "2021.1.2"; /* updated by script */
|
||||||
description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license";
|
description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license";
|
||||||
license = lib.licenses.unfree;
|
license = lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz";
|
url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz";
|
||||||
sha256 = "19zi4njz79z8gi458kz1m0sia79y3rhbayix4rmh93mwfc0npkii"; /* updated by script */
|
sha256 = "0mw4acaik1bkr7gqbwgs3i8f8px8zw95hm1zxgd5gd5kh88n17x5"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-idea";
|
wmClass = "jetbrains-idea";
|
||||||
update-channel = "IntelliJ IDEA RELEASE";
|
update-channel = "IntelliJ IDEA RELEASE";
|
||||||
@ -359,12 +359,12 @@ in
|
|||||||
|
|
||||||
rider = buildRider rec {
|
rider = buildRider rec {
|
||||||
name = "rider-${version}";
|
name = "rider-${version}";
|
||||||
version = "2021.1.2"; /* updated by script */
|
version = "2021.1.3"; /* updated by script */
|
||||||
description = "A cross-platform .NET IDE based on the IntelliJ platform and ReSharper";
|
description = "A cross-platform .NET IDE based on the IntelliJ platform and ReSharper";
|
||||||
license = lib.licenses.unfree;
|
license = lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/rider/JetBrains.Rider-${version}.tar.gz";
|
url = "https://download.jetbrains.com/rider/JetBrains.Rider-${version}.tar.gz";
|
||||||
sha256 = "1a28pi18j0cb2wxhw1vnfg9gqsgf2kyfg0hl4xgqp50gzv7i3aam"; /* updated by script */
|
sha256 = "0k2vpndpachq6g767v2dwfa3xc8mssv0i7wwpm05dgqirpn4n0dw"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-rider";
|
wmClass = "jetbrains-rider";
|
||||||
update-channel = "Rider RELEASE";
|
update-channel = "Rider RELEASE";
|
||||||
@ -385,12 +385,12 @@ in
|
|||||||
|
|
||||||
webstorm = buildWebStorm rec {
|
webstorm = buildWebStorm rec {
|
||||||
name = "webstorm-${version}";
|
name = "webstorm-${version}";
|
||||||
version = "2021.1.1"; /* updated by script */
|
version = "2021.1.2"; /* updated by script */
|
||||||
description = "Professional IDE for Web and JavaScript development";
|
description = "Professional IDE for Web and JavaScript development";
|
||||||
license = lib.licenses.unfree;
|
license = lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz";
|
url = "https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz";
|
||||||
sha256 = "1hici40qsxj2fw29g68i6hr1vhr0h7xrlhkialy74ah53wi7myz1"; /* updated by script */
|
sha256 = "0q4hn6npm0c30v23d30dnphd6wajif0im1b9vjwa121lqi997l34"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-webstorm";
|
wmClass = "jetbrains-webstorm";
|
||||||
update-channel = "WebStorm RELEASE";
|
update-channel = "WebStorm RELEASE";
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -7,10 +7,10 @@ in
|
|||||||
rec {
|
rec {
|
||||||
firefox = common rec {
|
firefox = common rec {
|
||||||
pname = "firefox";
|
pname = "firefox";
|
||||||
ffversion = "89.0.1";
|
ffversion = "89.0.2";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
|
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
|
||||||
sha512 = "67da387b3b6c5a110c83208f9a15d6064adf423bbebfb0fcad2d85f6c4b615b27da0cbd5486b817f0d5e040bc3e70d74d9af72599b24384397fef1dd153bd3f3";
|
sha512 = "ffd98ab0887611c5b4aba68346c49a7a31a58150fd8bbae610a4d941c4cff0acef0daaebfbb577787a759b4c1ef3c1199f02681148612f4f5b709983e07e0ccb";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -31,12 +31,12 @@ let
|
|||||||
|
|
||||||
in mkDerivationWith python3Packages.buildPythonApplication rec {
|
in mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||||
pname = "qutebrowser";
|
pname = "qutebrowser";
|
||||||
version = "2.2.3";
|
version = "2.3.0";
|
||||||
|
|
||||||
# the release tarballs are different from the git checkout!
|
# the release tarballs are different from the git checkout!
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/${pname}-${version}.tar.gz";
|
url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "sha256-BoP168jxj94nvkrcgC83fPw/TPRsI2PbCooqzWNF62I=";
|
sha256 = "09fz6rd0laisq7pqf9nrllcx58yb129fc05kdk45zrwwggq03b8h";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Needs tox
|
# Needs tox
|
||||||
|
@ -25,7 +25,7 @@ let
|
|||||||
else "");
|
else "");
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "signal-desktop";
|
pname = "signal-desktop";
|
||||||
version = "5.6.2"; # Please backport all updates to the stable channel.
|
version = "5.7.0"; # Please backport all updates to the stable channel.
|
||||||
# All releases have a limited lifetime and "expire" 90 days after the release.
|
# All releases have a limited lifetime and "expire" 90 days after the release.
|
||||||
# When releases "expire" the application becomes unusable until an update is
|
# When releases "expire" the application becomes unusable until an update is
|
||||||
# applied. The expiration date for the current release can be extracted with:
|
# applied. The expiration date for the current release can be extracted with:
|
||||||
@ -35,7 +35,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
|
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
|
||||||
sha256 = "0cdzww741l4s95n5gq5zx5l3zvxinxbqa9y6wf8wjq7rzn6bwqx3";
|
sha256 = "170x2zsp3z95b123ybs8zqr8sasd5jgd4gl1q32wvhk7m41fvkmd";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{lib, stdenv, fetchFromGitHub, ocamlPackages, fontschumachermisc, xset, makeWrapper, ncurses, gnugrep
|
{lib, stdenv, fetchFromGitHub, ocamlPackages, fontschumachermisc, xset, makeWrapper, ncurses, gnugrep, fetchpatch
|
||||||
, enableX11 ? true}:
|
, enableX11 ? true}:
|
||||||
|
|
||||||
let inherit (ocamlPackages) ocaml lablgtk; in
|
let inherit (ocamlPackages) ocaml lablgtk; in
|
||||||
@ -17,6 +17,16 @@ stdenv.mkDerivation (rec {
|
|||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ ocaml ncurses ];
|
buildInputs = [ ocaml ncurses ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Patch to fix build with ocaml 4.12. Remove in 2.51.4
|
||||||
|
# https://github.com/bcpierce00/unison/pull/481
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-compile-with-ocaml-4.12.patch";
|
||||||
|
url = "https://github.com/bcpierce00/unison/commit/14b885316e0a4b41cb80fe3daef7950f88be5c8f.patch?full_index=1";
|
||||||
|
sha256 = "0j1rma1cwdsfql19zvzhfj2ys5c4lbhjcp6jrnck04xnckxxiy3d";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
preBuild = (if enableX11 then ''
|
preBuild = (if enableX11 then ''
|
||||||
sed -i "s|\(OCAMLOPT=.*\)$|\1 -I $(echo "${lablgtk}"/lib/ocaml/*/site-lib/lablgtk2)|" src/Makefile.OCaml
|
sed -i "s|\(OCAMLOPT=.*\)$|\1 -I $(echo "${lablgtk}"/lib/ocaml/*/site-lib/lablgtk2)|" src/Makefile.OCaml
|
||||||
'' else "") + ''
|
'' else "") + ''
|
||||||
|
@ -42,14 +42,14 @@
|
|||||||
, versionAttr ? {
|
, versionAttr ? {
|
||||||
major = "3.8";
|
major = "3.8";
|
||||||
minor = "3";
|
minor = "3";
|
||||||
patch = "0";
|
patch = "1";
|
||||||
}
|
}
|
||||||
# We use our build of volk and not the one bundled with the release
|
# We use our build of volk and not the one bundled with the release
|
||||||
, fetchSubmodules ? false
|
, fetchSubmodules ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
sourceSha256 = "0lwbj3slhc8bjjvfw7yz45if21hajydgy2vsjvj2barzmhfb37fd";
|
sourceSha256 = "0vd39azp8n576dbqsanax7bgsnxwc80riaxid2ihxs4xzyjmbw9r";
|
||||||
featuresInfo = {
|
featuresInfo = {
|
||||||
# Needed always
|
# Needed always
|
||||||
basic = {
|
basic = {
|
||||||
@ -242,6 +242,7 @@ stdenv.mkDerivation rec {
|
|||||||
# From some reason, if these are not set, libcodec2 and gsm are not
|
# From some reason, if these are not set, libcodec2 and gsm are not
|
||||||
# detected properly. The issue is reported upstream:
|
# detected properly. The issue is reported upstream:
|
||||||
# https://github.com/gnuradio/gnuradio/issues/4278
|
# https://github.com/gnuradio/gnuradio/issues/4278
|
||||||
|
# The above issue was fixed for GR3.9 without a backporting patch.
|
||||||
#
|
#
|
||||||
# NOTE: qradiolink needs libcodec2 to be detected in
|
# NOTE: qradiolink needs libcodec2 to be detected in
|
||||||
# order to build, see https://github.com/qradiolink/qradiolink/issues/67
|
# order to build, see https://github.com/qradiolink/qradiolink/issues/67
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "olm";
|
pname = "olm";
|
||||||
version = "3.2.2";
|
version = "3.2.4";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.matrix.org";
|
domain = "gitlab.matrix.org";
|
||||||
owner = "matrix-org";
|
owner = "matrix-org";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0qji25wiwmkxyfpraxj96c54hyayqmjkvwh0gsy5gb5pz5bp4mcy";
|
sha256 = "1rl7j26li1irb1lqnnkzan7jrj38kvmdn69rlwbbp390v3z15lvh";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
48
pkgs/games/multimc/0001-pick-latest-java-first.patch
Normal file
48
pkgs/games/multimc/0001-pick-latest-java-first.patch
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
From 44e1b2a19a869b907b40e56c85c8a47aa6c22097 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Mustafa=20=C3=87al=C4=B1=C5=9Fkan?= <musfay@protonmail.com>
|
||||||
|
Date: Tue, 22 Jun 2021 21:50:11 +0300
|
||||||
|
Subject: [PATCH] pick latest java first
|
||||||
|
|
||||||
|
---
|
||||||
|
api/logic/java/JavaInstallList.cpp | 4 ++--
|
||||||
|
api/logic/java/JavaUtils.cpp | 2 +-
|
||||||
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/api/logic/java/JavaInstallList.cpp b/api/logic/java/JavaInstallList.cpp
|
||||||
|
index 0bded03c..40898e20 100644
|
||||||
|
--- a/api/logic/java/JavaInstallList.cpp
|
||||||
|
+++ b/api/logic/java/JavaInstallList.cpp
|
||||||
|
@@ -120,8 +120,8 @@ void JavaInstallList::updateListData(QList<BaseVersionPtr> versions)
|
||||||
|
|
||||||
|
bool sortJavas(BaseVersionPtr left, BaseVersionPtr right)
|
||||||
|
{
|
||||||
|
- auto rleft = std::dynamic_pointer_cast<JavaInstall>(left);
|
||||||
|
- auto rright = std::dynamic_pointer_cast<JavaInstall>(right);
|
||||||
|
+ auto rleft = std::dynamic_pointer_cast<JavaInstall>(right);
|
||||||
|
+ auto rright = std::dynamic_pointer_cast<JavaInstall>(left);
|
||||||
|
return (*rleft) > (*rright);
|
||||||
|
}
|
||||||
|
|
||||||
|
diff --git a/api/logic/java/JavaUtils.cpp b/api/logic/java/JavaUtils.cpp
|
||||||
|
index 5f004a10..6d633631 100644
|
||||||
|
--- a/api/logic/java/JavaUtils.cpp
|
||||||
|
+++ b/api/logic/java/JavaUtils.cpp
|
||||||
|
@@ -350,7 +350,6 @@ QList<QString> JavaUtils::FindJavaPaths()
|
||||||
|
qDebug() << "Linux Java detection incomplete - defaulting to \"java\"";
|
||||||
|
|
||||||
|
QList<QString> javas;
|
||||||
|
- javas.append(this->GetDefaultJava()->path);
|
||||||
|
auto scanJavaDir = [&](const QString & dirPath)
|
||||||
|
{
|
||||||
|
QDir dir(dirPath);
|
||||||
|
@@ -379,6 +378,7 @@ QList<QString> JavaUtils::FindJavaPaths()
|
||||||
|
// general locations used by distro packaging
|
||||||
|
scanJavaDir("/usr/lib/jvm");
|
||||||
|
scanJavaDir("/usr/lib32/jvm");
|
||||||
|
+ javas.append(this->GetDefaultJava()->path);
|
||||||
|
// javas stored in MultiMC's folder
|
||||||
|
scanJavaDir("java");
|
||||||
|
return javas;
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
@ -1,20 +1,28 @@
|
|||||||
{ lib, mkDerivation, fetchFromGitHub, cmake, jdk8, zlib, file, makeWrapper, xorg, libpulseaudio, qtbase, libGL }:
|
{ lib, mkDerivation, fetchFromGitHub, cmake, jdk8, jdk, zlib, file, makeWrapper, xorg, libpulseaudio, qtbase, libGL }:
|
||||||
|
|
||||||
let
|
let
|
||||||
jdk = jdk8;
|
|
||||||
libpath = with xorg; lib.makeLibraryPath [ libX11 libXext libXcursor libXrandr libXxf86vm libpulseaudio libGL ];
|
libpath = with xorg; lib.makeLibraryPath [ libX11 libXext libXcursor libXrandr libXxf86vm libpulseaudio libGL ];
|
||||||
in mkDerivation rec {
|
in mkDerivation rec {
|
||||||
pname = "multimc";
|
pname = "multimc";
|
||||||
version = "0.6.12";
|
version = "unstable-2021-06-21";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "MultiMC";
|
owner = "MultiMC";
|
||||||
repo = "MultiMC5";
|
repo = "MultiMC5";
|
||||||
rev = version;
|
rev = "8179a89103833805d5374399d80a4305be1b8355";
|
||||||
sha256 = "h2T023vrqemWhHiA2/gFleuUhIOucjwTgoExliFiYig=";
|
sha256 = "lPz6ZM7TjaixfwWMPaXijKZJQKFPrCegBhvbJ8Xg4P8=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ cmake file makeWrapper ];
|
nativeBuildInputs = [ cmake file makeWrapper ];
|
||||||
buildInputs = [ qtbase jdk zlib ];
|
buildInputs = [ qtbase jdk8 zlib ];
|
||||||
|
|
||||||
|
patches = [ ./0001-pick-latest-java-first.patch ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# hardcode jdk paths
|
||||||
|
substituteInPlace api/logic/java/JavaUtils.cpp \
|
||||||
|
--replace 'scanJavaDir("/usr/lib/jvm")' 'javas.append("${jdk}/lib/openjdk/bin/java")' \
|
||||||
|
--replace 'scanJavaDir("/usr/lib32/jvm")' 'javas.append("${jdk8}/lib/openjdk/bin/java")'
|
||||||
|
'';
|
||||||
|
|
||||||
cmakeFlags = [ "-DMultiMC_LAYOUT=lin-system" ];
|
cmakeFlags = [ "-DMultiMC_LAYOUT=lin-system" ];
|
||||||
|
|
||||||
@ -23,7 +31,9 @@ in mkDerivation rec {
|
|||||||
install -Dm755 ../application/package/linux/multimc.desktop $out/share/applications/multimc.desktop
|
install -Dm755 ../application/package/linux/multimc.desktop $out/share/applications/multimc.desktop
|
||||||
|
|
||||||
# xorg.xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
# xorg.xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
||||||
wrapProgram $out/bin/multimc --set GAME_LIBRARY_PATH /run/opengl-driver/lib:${libpath} --prefix PATH : ${jdk}/bin/:${xorg.xrandr}/bin/
|
wrapProgram $out/bin/multimc \
|
||||||
|
--set GAME_LIBRARY_PATH /run/opengl-driver/lib:${libpath} \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ xorg.xrandr ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{ lib, stdenv, fetchurl, cups, busybox }:
|
{ lib, stdenv, fetchurl, cups }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "epson-inkjet-printer-escpr2";
|
pname = "epson-inkjet-printer-escpr2";
|
||||||
version = "1.1.25";
|
version = "1.1.34";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# To find new versions, visit
|
# To find new versions, visit
|
||||||
@ -11,22 +11,15 @@ stdenv.mkDerivation rec {
|
|||||||
# version.
|
# version.
|
||||||
# NOTE: Don't forget to update the webarchive link too!
|
# NOTE: Don't forget to update the webarchive link too!
|
||||||
urls = [
|
urls = [
|
||||||
"https://download3.ebz.epson.net/dsc/f/03/00/12/46/43/e233a3fefeb49723ba4b0a2f357527e3b45bf53a/epson-inkjet-printer-escpr2-1.1.25-1lsb3.2.src.rpm"
|
"https://download3.ebz.epson.net/dsc/f/03/00/12/85/48/fd5de1ecd7270b0398399355e265c99dfd1dbafb/epson-inkjet-printer-escpr2-1.1.34.tar.gz"
|
||||||
"https://web.archive.org/web/20210212220538if_/https://download3.ebz.epson.net/dsc/f/03/00/12/46/43/e233a3fefeb49723ba4b0a2f357527e3b45bf53a/epson-inkjet-printer-escpr2-1.1.25-1lsb3.2.src.rpm"
|
"https://web.archive.org/web/20210627160654/https://download3.ebz.epson.net/dsc/f/03/00/12/85/48/fd5de1ecd7270b0398399355e265c99dfd1dbafb/epson-inkjet-printer-escpr2-1.1.34.tar.gz"
|
||||||
];
|
];
|
||||||
sha256 = "sha256-8hgafO/1qOTVdfAdx7FpOOSLqfTl0sBFunuN/2q7KHw=";
|
sha256 = "sha256-sHBGWbkZ+zolHehyXQR8U2AyKSrgDSPmrkrcfcx/bAs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./cups-filter-ppd-dirs.patch ];
|
patches = [ ./cups-filter-ppd-dirs.patch ];
|
||||||
|
|
||||||
buildInputs = [ cups busybox ];
|
buildInputs = [ cups ];
|
||||||
|
|
||||||
unpackPhase = ''
|
|
||||||
rpm2cpio $src | cpio -idmv
|
|
||||||
|
|
||||||
tar xvf ${pname}-${version}-1lsb3.2.tar.gz
|
|
||||||
cd ${pname}-${version}
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://download.ebz.epson.net/dsc/search/01/search/";
|
homepage = "http://download.ebz.epson.net/dsc/search/01/search/";
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "jetty";
|
pname = "jetty";
|
||||||
version = "9.4.39.v20210325";
|
version = "9.4.41.v20210516";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/${version}/jetty-distribution-${version}.tar.gz";
|
url = "https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/${version}/jetty-distribution-${version}.tar.gz";
|
||||||
sha256 = "0mn3ranh599w946cnykj7sbkj4w7ddpdhly7njmalsgabfbk8qv5";
|
sha256 = "sha256-hFQC1UiqZbbvyMf1FC3eqvVga3QdPWh0fbotatkVHBI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
@ -11,15 +11,15 @@ let
|
|||||||
in
|
in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "pomerium";
|
pname = "pomerium";
|
||||||
version = "0.13.3";
|
version = "0.13.6";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pomerium";
|
owner = "pomerium";
|
||||||
repo = "pomerium";
|
repo = "pomerium";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-g0w1aIHvf2rJANvGWHeUxdnyCDsvy/PQ9Kp8nDdT/0w=";
|
hash = "sha256:0bpqxbsb4cw12kp1f4a4r1ls292m5wwcmhy69rplyv11i61in4y2";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-grihU85OcGyf9/KKrv87xZonX5r+Z1oHQTf84Ya61fg=";
|
vendorSha256 = "sha256:1y6mpa3f3z1p843mlrzyk9gjg6n57gzsx2pjyygnqw2frr9s3f42";
|
||||||
subPackages = [
|
subPackages = [
|
||||||
"cmd/pomerium"
|
"cmd/pomerium"
|
||||||
"cmd/pomerium-cli"
|
"cmd/pomerium-cli"
|
||||||
|
@ -12,11 +12,11 @@ let
|
|||||||
in
|
in
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "matrix-synapse";
|
pname = "matrix-synapse";
|
||||||
version = "1.36.0";
|
version = "1.37.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-OMbSd64mD2+6GVUxGL4lvQlKAiBuen0PjvyVdk/ePbI=";
|
sha256 = "sha256-BWGbfDBB1jX0PJSR8WCZE3FE1pDs0fRg8/fML3FsJHA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
23
pkgs/tools/filesystems/exfatprogs/default.nix
Normal file
23
pkgs/tools/filesystems/exfatprogs/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, file }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "exfatprogs";
|
||||||
|
version = "1.1.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = pname;
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "19pbybgbfnvjb3n944ihrn1r8ch4dm8dr0d44d6w7p63dcp372xy";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config autoreconfHook file ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "exFAT filesystem userspace utilities";
|
||||||
|
homepage = "https://github.com/exfatprogs/exfatprogs";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = with maintainers; [ zane ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -2,24 +2,16 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tinc";
|
pname = "tinc";
|
||||||
version = "1.1pre17";
|
version = "1.1pre18";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
rev = "refs/tags/release-${version}";
|
rev = "release-${version}";
|
||||||
url = "git://tinc-vpn.org/tinc";
|
url = "git://tinc-vpn.org/tinc";
|
||||||
sha256 = "12abmx9qglchgn94a1qwgzldf2kaz77p8705ylpggzyncxv6bw2q";
|
sha256 = "0a7d1xg34p54sv66lckn8rz2bpg7bl01najm2rxiwbsm956y7afm";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "man" "info" ];
|
outputs = [ "out" "man" "info" ];
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "tinc-openssl-1.0.2r.patch";
|
|
||||||
url = "http://git.tinc-vpn.org/git/browse?p=tinc;a=patch;h=2b0aeec02d64bb4724da9ff1dbc19b7d35d7c904";
|
|
||||||
sha256 = "0kidzlmgl0cin4g54ygcxa0jbq9vwlk3dyq5f65nkjd8yvayfzi8";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook texinfo ];
|
nativeBuildInputs = [ autoreconfHook texinfo ];
|
||||||
buildInputs = [ ncurses readline zlib lzo openssl ];
|
buildInputs = [ ncurses readline zlib lzo openssl ];
|
||||||
|
|
||||||
|
@ -4822,6 +4822,8 @@ in
|
|||||||
|
|
||||||
exfat = callPackage ../tools/filesystems/exfat { };
|
exfat = callPackage ../tools/filesystems/exfat { };
|
||||||
|
|
||||||
|
exfatprogs = callPackage ../tools/filesystems/exfatprogs { };
|
||||||
|
|
||||||
dos2unix = callPackage ../tools/text/dos2unix { };
|
dos2unix = callPackage ../tools/text/dos2unix { };
|
||||||
|
|
||||||
uni2ascii = callPackage ../tools/text/uni2ascii { };
|
uni2ascii = callPackage ../tools/text/uni2ascii { };
|
||||||
@ -26878,7 +26880,6 @@ in
|
|||||||
unipicker = callPackage ../applications/misc/unipicker { };
|
unipicker = callPackage ../applications/misc/unipicker { };
|
||||||
|
|
||||||
unison = callPackage ../applications/networking/sync/unison {
|
unison = callPackage ../applications/networking/sync/unison {
|
||||||
ocamlPackages = ocaml-ng.ocamlPackages_4_09;
|
|
||||||
enableX11 = config.unison.enableX11 or true;
|
enableX11 = config.unison.enableX11 or true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user