forked from mirrors/nixpkgs
Merge master into staging-next
This commit is contained in:
commit
a0ad117f1b
|
@ -11,6 +11,7 @@ let
|
||||||
NODE_CONFIG_DIR = "/var/lib/peertube/config";
|
NODE_CONFIG_DIR = "/var/lib/peertube/config";
|
||||||
NODE_ENV = "production";
|
NODE_ENV = "production";
|
||||||
NODE_EXTRA_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt";
|
NODE_EXTRA_CA_CERTS = "/etc/ssl/certs/ca-certificates.crt";
|
||||||
|
NPM_CONFIG_CACHE = "/var/cache/peertube/.npm";
|
||||||
NPM_CONFIG_PREFIX = cfg.package;
|
NPM_CONFIG_PREFIX = cfg.package;
|
||||||
HOME = cfg.package;
|
HOME = cfg.package;
|
||||||
};
|
};
|
||||||
|
@ -425,6 +426,9 @@ in {
|
||||||
# State directory and mode
|
# State directory and mode
|
||||||
StateDirectory = "peertube";
|
StateDirectory = "peertube";
|
||||||
StateDirectoryMode = "0750";
|
StateDirectoryMode = "0750";
|
||||||
|
# Cache directory and mode
|
||||||
|
CacheDirectory = "peertube";
|
||||||
|
CacheDirectoryMode = "0750";
|
||||||
# Access write directories
|
# Access write directories
|
||||||
ReadWritePaths = cfg.dataDirs;
|
ReadWritePaths = cfg.dataDirs;
|
||||||
# Environment
|
# Environment
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "gcovr";
|
pname = "gcovr";
|
||||||
version = "5.1";
|
version = "5.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-d4CEQ1m/8LlsBBR9r/8l5uWF4FWFvVQjabvDd9ad4SE=";
|
hash = "sha256-IXGVCF7JQ0YpGoe3sebZz97u5WKz4PmjKyXJUws7zo8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
${python.interpreter} setup.py install --prefix=$out
|
${python.interpreter} setup.py install --prefix=$out --single-version-externally-managed
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
|
@ -9,13 +9,13 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tubeup";
|
pname = "tubeup";
|
||||||
version = "0.0.32";
|
version = "0.0.33";
|
||||||
|
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-YWBp6qXz4hNTBzywBGTXDQSzbWfoEEvJLQL5wy8DQ1g=";
|
sha256 = "sha256-RFM0vZeA5PDXf9KzlJ8RTSfM7bz50bpwwszU0gjV1DY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{ lib, stdenv, fetchurl, unzip }:
|
{ lib, stdenv, fetchurl, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "4.3.0";
|
version = "4.3.1";
|
||||||
pname = "randoop";
|
pname = "randoop";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip";
|
url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip";
|
||||||
sha256 = "sha256-3svBmXcRvscaK8YD4qm/geQSJ6cAm0en/d7H09h41PQ=";
|
sha256 = "sha256-GWg3W/jjDKH6BcvjGt215J03NiDVWihU/m+2kejPVPA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
|
@ -2,17 +2,17 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gomplate";
|
pname = "gomplate";
|
||||||
version = "3.10.0";
|
version = "3.11.2";
|
||||||
owner = "hairyhenderson";
|
owner = "hairyhenderson";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit owner rev;
|
inherit owner rev;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
sha256 = "0dbi9saxbwcvypxc0s656ln9zq2vysx8dhrcz488nmy6rcpqiiah";
|
sha256 = "sha256-NIepoz1JToaX2EJCL/kqkpBJigJVy2Tkz0jGn4ukfvI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "0rvki8ghlbbaqgnjfsbs1jswj08jfzmnz9ilynv2c6kfkx9zs108";
|
vendorSha256 = "sha256-fXbwNX+GoujciZVxxe7Tl21MxWhyAD4cW/p8PCAAElw=";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# some tests require network access
|
# some tests require network access
|
||||||
|
@ -24,6 +24,11 @@ buildGoModule rec {
|
||||||
internal/tests/integration/datasources_vault*_test.go
|
internal/tests/integration/datasources_vault*_test.go
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# TestInputDir_RespectsUlimit
|
||||||
|
preCheck = ''
|
||||||
|
ulimit -n 1024
|
||||||
|
'';
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
"-w"
|
"-w"
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xlockmore";
|
pname = "xlockmore";
|
||||||
version = "5.69";
|
version = "5.70";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://sillycycle.com/xlock/xlockmore-${version}.tar.xz";
|
url = "http://sillycycle.com/xlock/xlockmore-${version}.tar.xz";
|
||||||
sha256 = "sha256-6pJlTAASJoSHZaJRpzvLxHPM7xe3IcwY1TYfWdvW07k=";
|
sha256 = "sha256-DzvLm4AkFs2Hu24WOjhD/qXX+tkP8Eg42hIsKSw9DaI=";
|
||||||
curlOpts = "--user-agent 'Mozilla/5.0'";
|
curlOpts = "--user-agent 'Mozilla/5.0'";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@ let
|
||||||
# ./update-zen.py lqx
|
# ./update-zen.py lqx
|
||||||
lqxVariant = {
|
lqxVariant = {
|
||||||
version = "5.18.16"; #lqx
|
version = "5.18.16"; #lqx
|
||||||
suffix = "lqx1"; #lqx
|
suffix = "lqx2"; #lqx
|
||||||
sha256 = "11xcbpf8c5j0gjymbwyq40rnwzjahwh81v26vaz5kavkzw2nma9r"; #lqx
|
sha256 = "1mmqsv6qbm6ndbcwnk50z6z2iffgkcrndf81s2ycqngb076hq969"; #lqx
|
||||||
isLqx = true;
|
isLqx = true;
|
||||||
};
|
};
|
||||||
zenKernelsFor = { version, suffix, sha256, isLqx }: buildLinux (args // {
|
zenKernelsFor = { version, suffix, sha256, isLqx }: buildLinux (args // {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
, cairo
|
, cairo
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, flac
|
, flac
|
||||||
, gcc11
|
, gcc12
|
||||||
, gnome
|
, gnome
|
||||||
, gssdp
|
, gssdp
|
||||||
, gupnp
|
, gupnp
|
||||||
|
@ -22,11 +22,11 @@
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hqplayerd";
|
pname = "hqplayerd";
|
||||||
version = "4.32.2-92";
|
version = "4.32.4-94sse42";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.signalyst.eu/bins/${pname}/fc35/${pname}-${version}.fc35.x86_64.rpm";
|
url = "https://www.signalyst.eu/bins/${pname}/fc36/${pname}-${version}.fc36.x86_64.rpm";
|
||||||
hash = "sha256-chgzu5r35VTSc1xOVTPCWCRrjABOy+vs57SsKOSzvkM=";
|
hash = "sha256-hTckJdZzD/Sx/uV30dlGiT46QvzIGp6BQdNNRlQ/Mgw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
|
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||||
alsa-lib
|
alsa-lib
|
||||||
cairo
|
cairo
|
||||||
flac
|
flac
|
||||||
gcc11.cc.lib
|
gcc12.cc.lib
|
||||||
gnome.rygel
|
gnome.rygel
|
||||||
gssdp
|
gssdp
|
||||||
gupnp
|
gupnp
|
||||||
|
|
|
@ -6,18 +6,18 @@ let
|
||||||
if stdenv.hostPlatform.system == "x86_64-linux" then "linux-x64"
|
if stdenv.hostPlatform.system == "x86_64-linux" then "linux-x64"
|
||||||
else throw "Unsupported architecture: ${stdenv.hostPlatform.system}";
|
else throw "Unsupported architecture: ${stdenv.hostPlatform.system}";
|
||||||
|
|
||||||
version = "4.2.1";
|
version = "4.2.2";
|
||||||
|
|
||||||
source = fetchFromGitHub {
|
source = fetchFromGitHub {
|
||||||
owner = "Chocobozzz";
|
owner = "Chocobozzz";
|
||||||
repo = "PeerTube";
|
repo = "PeerTube";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-bb22/GidSPaRtvbht6FzVqTGzzNDYgBdHqHGnzA1Iy0=";
|
sha256 = "sha256-q6wSk5AO91Z6dw5MgpO7QTAlA8Q5Xx1CboBr7SElVUA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
yarnOfflineCacheServer = fetchYarnDeps {
|
yarnOfflineCacheServer = fetchYarnDeps {
|
||||||
yarnLock = "${source}/yarn.lock";
|
yarnLock = "${source}/yarn.lock";
|
||||||
sha256 = "sha256-7fYQ4YS92XbzeI7nwpQfI2reDp6EiDgncK5YGSWzHF0=";
|
sha256 = "sha256-MMsxh20jcbW4YYsJyoupKbT9+Xa1BWZAmYHoj2/t+LM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
yarnOfflineCacheTools = fetchYarnDeps {
|
yarnOfflineCacheTools = fetchYarnDeps {
|
||||||
|
|
|
@ -23709,10 +23709,7 @@ with pkgs;
|
||||||
|
|
||||||
gomp = callPackage ../applications/version-management/gomp { };
|
gomp = callPackage ../applications/version-management/gomp { };
|
||||||
|
|
||||||
gomplate = callPackage ../development/tools/gomplate {
|
gomplate = callPackage ../development/tools/gomplate { };
|
||||||
# pinned due to build failure or vendoring problems. When unpinning double check with: nix-build -A $name.go-modules --rebuild
|
|
||||||
buildGoModule = buildGo117Module;
|
|
||||||
};
|
|
||||||
|
|
||||||
gpm = callPackage ../servers/gpm {
|
gpm = callPackage ../servers/gpm {
|
||||||
withNcurses = false; # Keep curses disabled for lack of value
|
withNcurses = false; # Keep curses disabled for lack of value
|
||||||
|
|
Loading…
Reference in a new issue