Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 6e3a55e0 1a140c1e

+333 -119
-1
doc/languages-frameworks/rust.section.md
··· 147 }; 148 } 149 ``` 150 - 151 will result in: 152 ```shell 153 --target /nix/store/asdfasdfsadf-thumb-crazy.json # contains {"foo":"","bar":""}
··· 147 }; 148 } 149 ``` 150 will result in: 151 ```shell 152 --target /nix/store/asdfasdfsadf-thumb-crazy.json # contains {"foo":"","bar":""}
+12
maintainers/maintainer-list.nix
··· 3193 githubId = 19961516; 3194 name = "Felix Weilbach"; 3195 }; 3196 flokli = { 3197 email = "flokli@flokli.de"; 3198 github = "flokli"; ··· 6324 github = "mirrexagon"; 6325 githubId = 1776903; 6326 name = "Andrew Abbott"; 6327 }; 6328 mjanczyk = { 6329 email = "m@dragonvr.pl";
··· 3193 githubId = 19961516; 3194 name = "Felix Weilbach"; 3195 }; 3196 + fliegendewurst = { 3197 + email = "arne.keller@posteo.de"; 3198 + github = "FliegendeWurst"; 3199 + githubId = 12560461; 3200 + name = "Arne Keller"; 3201 + }; 3202 flokli = { 3203 email = "flokli@flokli.de"; 3204 github = "flokli"; ··· 6330 github = "mirrexagon"; 6331 githubId = 1776903; 6332 name = "Andrew Abbott"; 6333 + }; 6334 + mitchmindtree = { 6335 + email = "mail@mitchellnordine.com"; 6336 + github = "mitchmindtree"; 6337 + githubId = 4587373; 6338 + name = "Mitchell Nordine"; 6339 }; 6340 mjanczyk = { 6341 email = "m@dragonvr.pl";
+4 -5
nixos/modules/services/system/localtime.nix
··· 29 }; 30 }; 31 32 - # We use the 'out' output, since localtime has its 'bin' output 33 - # first, so that is what we get if we use the derivation bare. 34 # Install the polkit rules. 35 - environment.systemPackages = [ pkgs.localtime.out ]; 36 # Install the systemd unit. 37 - systemd.packages = [ pkgs.localtime.out ]; 38 39 users.users.localtimed = { 40 - description = "Taskserver user"; 41 }; 42 43 systemd.services.localtime = {
··· 29 }; 30 }; 31 32 # Install the polkit rules. 33 + environment.systemPackages = [ pkgs.localtime ]; 34 # Install the systemd unit. 35 + systemd.packages = [ pkgs.localtime ]; 36 37 users.users.localtimed = { 38 + description = "localtime daemon"; 39 + isSystemUser = true; 40 }; 41 42 systemd.services.localtime = {
+12 -3
pkgs/applications/audio/ardour/default.nix
··· 16 , glibmm 17 , graphviz 18 , gtkmm2 19 , itstool 20 , libarchive 21 , libjack2 ··· 35 , lilv 36 , lrdf 37 , lv2 38 , pango 39 , perl 40 , pkg-config ··· 49 , taglib 50 , vamp-plugin-sdk 51 , wafHook 52 }: 53 stdenv.mkDerivation rec { 54 pname = "ardour"; ··· 70 doxygen 71 graphviz # for dot 72 itstool 73 perl 74 pkg-config 75 python3 ··· 121 suil 122 taglib 123 vamp-plugin-sdk 124 - ]; 125 126 wafConfigureFlags = [ 127 "--cxx11" ··· 158 "$out/share/icons/hicolor/''${size}x''${size}/apps/ardour6.png" 159 done 160 install -vDm 644 "ardour.1"* -t "$out/share/man/man1" 161 ''; 162 163 LINKFLAGS = "-lpthread"; ··· 174 https://community.ardour.org/donate 175 ''; 176 homepage = "https://ardour.org/"; 177 - license = licenses.gpl2; 178 platforms = platforms.linux; 179 - maintainers = with maintainers; [ goibhniu magnetophon ]; 180 }; 181 }
··· 16 , glibmm 17 , graphviz 18 , gtkmm2 19 + , harvid 20 , itstool 21 , libarchive 22 , libjack2 ··· 36 , lilv 37 , lrdf 38 , lv2 39 + , makeWrapper 40 , pango 41 , perl 42 , pkg-config ··· 51 , taglib 52 , vamp-plugin-sdk 53 , wafHook 54 + , xjadeo 55 + , videoSupport ? false 56 }: 57 stdenv.mkDerivation rec { 58 pname = "ardour"; ··· 74 doxygen 75 graphviz # for dot 76 itstool 77 + makeWrapper 78 perl 79 pkg-config 80 python3 ··· 126 suil 127 taglib 128 vamp-plugin-sdk 129 + ] ++ lib.optionals videoSupport [ harvid xjadeo ]; 130 131 wafConfigureFlags = [ 132 "--cxx11" ··· 163 "$out/share/icons/hicolor/''${size}x''${size}/apps/ardour6.png" 164 done 165 install -vDm 644 "ardour.1"* -t "$out/share/man/man1" 166 + '' + lib.optionalString videoSupport '' 167 + # `harvid` and `xjadeo` must be accessible in `PATH` for video to work. 168 + wrapProgram "$out/bin/ardour6" \ 169 + --prefix PATH : "${lib.makeBinPath [ harvid xjadeo ]}" 170 ''; 171 172 LINKFLAGS = "-lpthread"; ··· 183 https://community.ardour.org/donate 184 ''; 185 homepage = "https://ardour.org/"; 186 + license = licenses.gpl2Plus; 187 platforms = platforms.linux; 188 + maintainers = with maintainers; [ goibhniu magnetophon mitchmindtree ]; 189 }; 190 }
+8 -8
pkgs/applications/editors/android-studio/default.nix
··· 9 inherit buildFHSUserEnv; 10 }; 11 stableVersion = { 12 - version = "4.1.2.0"; # "Android Studio 4.1.2" 13 - build = "201.7042882"; 14 - sha256Hash = "1f9bclvyvm3sg9an7wxlfwd8jwnb9cl726dvggmysa6r7shc7xw9"; 15 }; 16 betaVersion = { 17 - version = "4.2.0.21"; # "Android Studio 4.2 Beta 5" 18 - build = "202.7141121"; 19 - sha256Hash = "05610xf9zz3yxarx6fv83fynlvqw9jl7h2a40yj3xx5kb7mzdnf2"; 20 }; 21 latestVersion = { # canary & dev 22 - version = "2020.3.1.7"; # "Android Studio Arctic Fox (2020.3.1) Canary 7" 23 - sha256Hash = "03gq4s8rmg7si0r2y1w26v9bjwhj6gzmrdny5z3j5pq8xsfjfqiw"; 24 }; 25 in { 26 # Attributes are named by their corresponding release channels
··· 9 inherit buildFHSUserEnv; 10 }; 11 stableVersion = { 12 + version = "4.1.3.0"; # "Android Studio 4.1.3" 13 + build = "201.7199119"; 14 + sha256Hash = "06xwgk7bwcmljka8xa56cfwwg858r0bl0xp2jb9hdnkwljf796gm"; 15 }; 16 betaVersion = { 17 + version = "4.2.0.22"; # "Android Studio 4.2 Beta 6" 18 + build = "202.7188722"; 19 + sha256Hash = "0mzwkx1csx194wzg7dc1cii3c16wbmlbq1jdv9ly4nmdxlvc2rxb"; 20 }; 21 latestVersion = { # canary & dev 22 + version = "2020.3.1.10"; # "Android Studio Arctic Fox (2020.3.1) Canary 10" 23 + sha256Hash = "15xxyjjjy5pnimc66dcwnqb7z4lq7ll4fl401a3br5ca4d1hpgsj"; 24 }; 25 in { 26 # Attributes are named by their corresponding release channels
+1
pkgs/applications/graphics/freecad/default.nix
··· 101 ]; 102 103 cmakeFlags = [ 104 "-DBUILD_QT5=ON" 105 "-DSHIBOKEN_INCLUDE_DIR=${shiboken2}/include" 106 "-DSHIBOKEN_LIBRARY=Shiboken2::libshiboken"
··· 101 ]; 102 103 cmakeFlags = [ 104 + "-DBUILD_FLAT_MESH:BOOL=ON" 105 "-DBUILD_QT5=ON" 106 "-DSHIBOKEN_INCLUDE_DIR=${shiboken2}/include" 107 "-DSHIBOKEN_LIBRARY=Shiboken2::libshiboken"
+2 -2
pkgs/applications/misc/1password-gui/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "1password"; 11 - version = "8.0.27"; 12 13 src = fetchurl { 14 url = "https://onepassword.s3.amazonaws.com/linux/appimage/${pname}-${version}.AppImage"; 15 - hash = "sha256-qzZXs7ak4052Igq+YWuzgDqJ7143q5qw5P3b3eN3NkU="; 16 }; 17 18 nativeBuildInputs = [ makeWrapper ];
··· 8 9 stdenv.mkDerivation rec { 10 pname = "1password"; 11 + version = "8.0.28"; 12 13 src = fetchurl { 14 url = "https://onepassword.s3.amazonaws.com/linux/appimage/${pname}-${version}.AppImage"; 15 + hash = "sha256-okLeyok/5rihGXaQaUR06dGkpuqqW02qJ6q6VVLtZsE="; 16 }; 17 18 nativeBuildInputs = [ makeWrapper ];
+4 -4
pkgs/applications/misc/reddsaver/default.nix
··· 8 9 rustPlatform.buildRustPackage rec { 10 pname = "reddsaver"; 11 - version = "0.3.1"; 12 13 src = fetchFromGitHub { 14 owner = "manojkarthick"; 15 repo = "reddsaver"; 16 rev = "v${version}"; 17 - sha256 = "0kww3abgvxr7azr7yb8aiw28fz13qb4sn3x7nnz1ihmd4yczi9fg"; 18 }; 19 20 - cargoSha256 = "09xm22vgmd3dc0wr6n3jczxvhwpcsijwfbv50dz1lnsx57g8mgmd"; 21 22 nativeBuildInputs = [ pkg-config ]; 23 buildInputs = [ openssl ] 24 ++ lib.optional stdenv.isDarwin Security; 25 26 - # package does not contain tests as of v0.3.1 27 docCheck = false; 28 29 meta = with lib; {
··· 8 9 rustPlatform.buildRustPackage rec { 10 pname = "reddsaver"; 11 + version = "0.3.2"; 12 13 src = fetchFromGitHub { 14 owner = "manojkarthick"; 15 repo = "reddsaver"; 16 rev = "v${version}"; 17 + sha256 = "0ffci3as50f55n1v36hji4n0b3lkch5ylc75awjz65jz2gd2y2j4"; 18 }; 19 20 + cargoSha256 = "1cx3sqr7zb1vlfdvbcxp0yva9xh654qczpy8s09c8cviy8hac5sr"; 21 22 nativeBuildInputs = [ pkg-config ]; 23 buildInputs = [ openssl ] 24 ++ lib.optional stdenv.isDarwin Security; 25 26 + # package does not contain tests as of v0.3.2 27 docCheck = false; 28 29 meta = with lib; {
+19 -6
pkgs/applications/networking/cluster/fluxcd/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, installShellFiles }: 2 3 buildGoModule rec { 4 pname = "fluxcd"; 5 - version = "0.8.2"; 6 7 src = fetchFromGitHub { 8 owner = "fluxcd"; 9 repo = "flux2"; 10 rev = "v${version}"; 11 - sha256 = "1yrjgjagh7jfzgvnj9wr71mk34x7yf66fwyby73f1pfi2cg49nhp"; 12 }; 13 14 - vendorSha256 = "0acxbmc4j1fcdja0s9g04f0kd34x54yfqismibfi40m2gzbg6ljr"; 15 16 nativeBuildInputs = [ installShellFiles ]; 17 18 - doCheck = false; 19 - 20 subPackages = [ "cmd/flux" ]; 21 22 buildFlagsArray = [ "-ldflags=-s -w -X main.VERSION=${version}" ]; 23 24 doInstallCheck = true; 25 installCheckPhase = ''
··· 1 + { lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles }: 2 + 3 + let 4 + version = "0.10.0"; 5 + 6 + manifests = fetchzip { 7 + url = "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz"; 8 + sha256 = "Der1Ud27eIV450KkxDTF2frmeKEHKsg6vJgdXE+3548="; 9 + stripRoot = false; 10 + }; 11 + in 12 13 buildGoModule rec { 14 + inherit version; 15 + 16 pname = "fluxcd"; 17 18 src = fetchFromGitHub { 19 owner = "fluxcd"; 20 repo = "flux2"; 21 rev = "v${version}"; 22 + sha256 = "iJ6UyHbF4+RvfNoOuHt6X2R6XhpBe+t76deldwY5P2c="; 23 }; 24 25 + vendorSha256 = "Z0keCr+KZ593c6a/56lYJwOgXu5hrUSn6N3NFf2LDUM="; 26 27 nativeBuildInputs = [ installShellFiles ]; 28 29 subPackages = [ "cmd/flux" ]; 30 31 buildFlagsArray = [ "-ldflags=-s -w -X main.VERSION=${version}" ]; 32 + 33 + postUnpack = '' 34 + cp -r ${manifests} source/cmd/flux/manifests 35 + ''; 36 37 doInstallCheck = true; 38 installCheckPhase = ''
+42 -50
pkgs/applications/office/trilium/0001-Use-console-logger-instead-of-rolling-files.patch
··· 1 - From 5be803a1171855f976a5b607970fa3949db72181 Mon Sep 17 00:00:00 2001 2 - From: Christian Kampka <christian@kampka.net> 3 - Date: Mon, 9 Dec 2019 19:40:27 +0100 4 - Subject: [PATCH] Use console logger instead of rolling files 5 - 6 - --- 7 - src/services/log.js | 26 +++----------------------- 8 - 1 file changed, 3 insertions(+), 23 deletions(-) 9 - 10 diff --git a/src/services/log.js b/src/services/log.js 11 - index 1514c209..456c3749 100644 12 --- a/src/services/log.js 13 +++ b/src/services/log.js 14 - @@ -1,35 +1,15 @@ 15 "use strict"; 16 17 -const fs = require('fs'); ··· 21 - fs.mkdirSync(dataDir.LOG_DIR, 0o700); 22 -} 23 - 24 - -const logger = require('simple-node-logger').createRollingFileLogger({ 25 - - errorEventName: 'error', 26 - - logDirectory: dataDir.LOG_DIR, 27 - - fileNamePattern: 'trilium-<DATE>.log', 28 - - dateFormat:'YYYY-MM-DD' 29 - -}); 30 - - 31 - function info(message) { 32 - // info messages are logged asynchronously 33 - setTimeout(() => { 34 - console.log(message); 35 - 36 - - logger.info(message); 37 - }, 0); 38 - } 39 40 - function error(message) { 41 - message = "ERROR: " + message; 42 43 - - // we're using .info() instead of .error() because simple-node-logger emits weird error for showError() 44 - - // errors are logged synchronously to make sure it doesn't get lost in case of crash 45 - - logger.info(message); 46 - 47 - console.trace(message); 48 - } 49 - 50 - @@ -45,12 +25,12 @@ function request(req) { 51 - if (req.url.includes(".js.map") || req.url.includes(".css.map")) { 52 - return; 53 - } 54 - 55 - - logger.info(req.method + " " + req.url); 56 - + if(process.env.DEBUG) 57 - + console.log(req.method + " " + req.url); 58 } 59 60 - module.exports = { 61 - info, 62 - error, 63 - request 64 - -}; 65 - \ No newline at end of file 66 - +}; 67 - -- 68 - 2.23.0 69 -
··· 1 diff --git a/src/services/log.js b/src/services/log.js 2 + index b4c39e99..4c249154 100644 3 --- a/src/services/log.js 4 +++ b/src/services/log.js 5 + @@ -1,14 +1,5 @@ 6 "use strict"; 7 8 -const fs = require('fs'); ··· 12 - fs.mkdirSync(dataDir.LOG_DIR, 0o700); 13 -} 14 - 15 + -let logFile = null; 16 - 17 + const SECOND = 1000; 18 + const MINUTE = 60 * SECOND; 19 + const HOUR = 60 * MINUTE; 20 + @@ -16,41 +7,7 @@ const DAY = 24 * HOUR; 21 22 + const NEW_LINE = process.platform === "win32" ? '\r\n' : '\n'; 23 24 + -let todaysMidnight = null; 25 - 26 + -initLogFile(); 27 + - 28 + -function getTodaysMidnight() { 29 + - const now = new Date(); 30 + - 31 + - return new Date(now.getFullYear(), now.getMonth(), now.getDate()); 32 + -} 33 + - 34 + -function initLogFile() { 35 + - todaysMidnight = getTodaysMidnight(); 36 + - 37 + - const path = dataDir.LOG_DIR + '/trilium-' + formatDate() + '.log'; 38 - 39 + - if (logFile) { 40 + - logFile.end(); 41 + - } 42 + - 43 + - logFile = fs.createWriteStream(path, {flags: 'a'}); 44 + -} 45 + - 46 + -function checkDate(millisSinceMidnight) { 47 + - if (millisSinceMidnight >= DAY) { 48 + - initLogFile(); 49 + - } 50 + -} 51 + - 52 + function log(str) { 53 + - const millisSinceMidnight = Date.now() - todaysMidnight.getTime(); 54 + - 55 + - checkDate(millisSinceMidnight); 56 + - 57 + - logFile.write(formatTime(millisSinceMidnight) + ' ' + str + NEW_LINE); 58 + - 59 + console.log(str); 60 } 61
+12 -6
pkgs/applications/office/trilium/default.nix
··· 14 meta = with lib; { 15 inherit description; 16 homepage = "https://github.com/zadam/trilium"; 17 - license = licenses.agpl3; 18 platforms = [ "x86_64-linux" ]; 19 - maintainers = with maintainers; [ emmanuelrosa dtzWill ]; 20 }; 21 22 - version = "0.43.4"; 23 24 desktopSource = { 25 url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz"; 26 - sha256 = "0kjysam5alsmnj93fcqq1ivawnra42gn7dch99rrfmvbkxp7hhr8"; 27 }; 28 29 serverSource = { 30 url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz"; 31 - sha256 = "128mvmp15mjpb5ipkmr0yn7ahby26shbix3f8q094f4zpxjp83zx"; 32 }; 33 34 in { ··· 95 libxkbfile 96 ]; 97 98 - patches = [ ./0001-Use-console-logger-instead-of-rolling-files.patch ] ; 99 installPhase = '' 100 mkdir -p $out/bin 101 mkdir -p $out/share/trilium-server 102 103 cp -r ./* $out/share/trilium-server 104 ''; 105 106 postFixup = ''
··· 14 meta = with lib; { 15 inherit description; 16 homepage = "https://github.com/zadam/trilium"; 17 + license = licenses.agpl3Plus; 18 platforms = [ "x86_64-linux" ]; 19 + maintainers = with maintainers; [ fliegendewurst ]; 20 }; 21 22 + version = "0.45.10"; 23 24 desktopSource = { 25 url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz"; 26 + sha256 = "06ykgcak7l3q812c4xrp720db3yq0v2lkrzkmwchlwp5rpwhqpck"; 27 }; 28 29 serverSource = { 30 url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz"; 31 + sha256 = "1252zgyb23vfvy63cqd8jdjbm4w9ddwnp32z5vf1fqvd2rrz6lz9"; 32 }; 33 34 in { ··· 95 libxkbfile 96 ]; 97 98 + patches = [ 99 + # patch logger to use console instead of rolling files 100 + ./0001-Use-console-logger-instead-of-rolling-files.patch 101 + ]; 102 + 103 installPhase = '' 104 + runHook preInstall 105 mkdir -p $out/bin 106 mkdir -p $out/share/trilium-server 107 108 cp -r ./* $out/share/trilium-server 109 + runHook postInstall 110 ''; 111 112 postFixup = ''
+35 -1
pkgs/development/compilers/swi-prolog/default.nix
··· 4 , cmake, libyaml, Security 5 , libjpeg, libX11, libXext, libXft, libXinerama 6 , extraLibraries ? [ jdk unixODBC libXpm libSM libXt freetype fontconfig ] 7 - , extraPacks ? [] 8 , withGui ? false 9 }: 10 ··· 26 fetchSubmodules = true; 27 }; 28 29 nativeBuildInputs = [ cmake pkg-config ]; 30 31 buildInputs = [ gmp readline openssl ··· 38 hardeningDisable = [ "format" ]; 39 40 cmakeFlags = [ "-DSWIPL_INSTALL_IN_LIB=ON" ]; 41 42 postInstall = builtins.concatStringsSep "\n" 43 ( builtins.map (packInstall "$out") extraPacks
··· 4 , cmake, libyaml, Security 5 , libjpeg, libX11, libXext, libXft, libXinerama 6 , extraLibraries ? [ jdk unixODBC libXpm libSM libXt freetype fontconfig ] 7 + # Packs must be installed from a local directory during the build, with dependencies 8 + # resolved manually, e.g. to install the 'julian' pack, which depends on the 'delay', 'list_util' and 'typedef' packs: 9 + # julian = pkgs.fetchzip { 10 + # name = "swipl-pack-julian"; 11 + # url = "https://github.com/mndrix/julian/archive/v0.1.3.zip"; 12 + # sha256 = "1sgql7c21p3c5m14kwa0bcmlwn9fql612krn9h36gla1j9yjdfgy"; 13 + # }; 14 + # delay = pkgs.fetchzip { 15 + # name = "swipl-pack-delay"; 16 + # url = "https://github.com/mndrix/delay/archive/v0.3.3.zip"; 17 + # sha256 = "0ira87afxnc2dnbbmgwmrr8qvary8lhzvhqwd52dccm6yqd3nybg"; 18 + # }; 19 + # list_util = pkgs.fetchzip { 20 + # name = "swipl-pack-list_util"; 21 + # url = "https://github.com/mndrix/list_util/archive/v0.13.0.zip"; 22 + # sha256 = "0lx7vffflak0y8l8vg8k0g8qddwwn23ksbz02hi3f8rbarh1n89q"; 23 + # }; 24 + # typedef = builtins.fetchTarball { 25 + # name = "swipl-pack-typedef"; 26 + # url = "https://raw.githubusercontent.com/samer--/prolog/master/typedef/release/typedef-0.1.9.tgz"; 27 + # sha256 = "056nqjn01g18fb1b2qivv9s7hb4azk24nx2d4kvkbmm1k91f44p3"; 28 + # }; 29 + # swiProlog = pkgs.swiProlog.override { extraPacks = map (dep-path: "'file://${dep-path}'") [ 30 + # julian delay list_util typedef 31 + # ]; }; 32 + , extraPacks ? [] 33 , withGui ? false 34 }: 35 ··· 51 fetchSubmodules = true; 52 }; 53 54 + # Add the packInstall path to the swipl pack search path 55 + postPatch = '' 56 + echo "user:file_search_path(pack, '$out/lib/swipl/pack')." >> /build/$sourceRoot/boot/init.pl 57 + ''; 58 + 59 nativeBuildInputs = [ cmake pkg-config ]; 60 61 buildInputs = [ gmp readline openssl ··· 68 hardeningDisable = [ "format" ]; 69 70 cmakeFlags = [ "-DSWIPL_INSTALL_IN_LIB=ON" ]; 71 + 72 + preInstall = '' 73 + mkdir -p $out/lib/swipl/pack 74 + ''; 75 76 postInstall = builtins.concatStringsSep "\n" 77 ( builtins.map (packInstall "$out") extraPacks
+2 -2
pkgs/development/interpreters/janet/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "janet"; 5 - version = "1.15.3"; 6 7 src = fetchFromGitHub { 8 owner = "janet-lang"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-GWSPNz4IxEYxSRpDPbgCXmc7WYZNi8IGVqNhSEgUaeg="; 12 }; 13 14 nativeBuildInputs = [ meson ninja ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "janet"; 5 + version = "1.15.4"; 6 7 src = fetchFromGitHub { 8 owner = "janet-lang"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-lE2BAwiwvewydIpVYoN+zrfpzQbMbe5Nb1r0mzdxMao="; 12 }; 13 14 nativeBuildInputs = [ meson ninja ];
+27
pkgs/development/libraries/libplctag/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , cmake 4 + , fetchFromGitHub 5 + }: 6 + 7 + stdenv.mkDerivation rec { 8 + pname = "libplctag"; 9 + version = "2.3.5"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "libplctag"; 13 + repo = "libplctag"; 14 + rev = "v${version}"; 15 + sha256 = "0brmzr863chybm5y0q5hld5mhf6kx0bl4dddr7j69adlraak7x6s"; 16 + }; 17 + 18 + nativeBuildInputs = [ cmake ]; 19 + 20 + meta = with lib; { 21 + homepage = "https://github.com/libplctag/libplctag"; 22 + description = "Library that uses EtherNet/IP or Modbus TCP to read and write tags in PLCs"; 23 + license = with licenses; [ lgpl2Plus mpl20 ]; 24 + maintainers = with maintainers; [ petterstorvik ]; 25 + platforms = platforms.all; 26 + }; 27 + }
+2 -2
pkgs/development/libraries/skalibs/default.nix
··· 4 5 buildPackage { 6 pname = "skalibs"; 7 - version = "2.10.0.1"; 8 - sha256 = "1chwjzlh13jbrldk77h3i4qjqv8hjpvvd3papcb8j46mvj7sxysg"; 9 10 description = "A set of general-purpose C programming libraries"; 11
··· 4 5 buildPackage { 6 pname = "skalibs"; 7 + version = "2.10.0.2"; 8 + sha256 = "03qyi77wgcw3nzy7i932wd98d6j7nnzxc8ddl973vf5sa1v3vflb"; 9 10 description = "A set of general-purpose C programming libraries"; 11
+6 -1
pkgs/development/ocaml-modules/psq/default.nix
··· 1 - { lib, buildDunePackage, fetchurl, seq }: 2 3 buildDunePackage rec { 4 minimumOCamlVersion = "4.03"; 5 pname = "psq"; 6 version = "0.2.0"; 7 8 src = fetchurl { 9 url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-v${version}.tbz"; ··· 11 }; 12 13 propagatedBuildInputs = [ seq ]; 14 15 meta = { 16 description = "Functional Priority Search Queues for OCaml";
··· 1 + { lib, buildDunePackage, ocaml, fetchurl, seq, qcheck-alcotest }: 2 3 buildDunePackage rec { 4 minimumOCamlVersion = "4.03"; 5 pname = "psq"; 6 version = "0.2.0"; 7 + 8 + useDune2 = true; 9 10 src = fetchurl { 11 url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-v${version}.tbz"; ··· 13 }; 14 15 propagatedBuildInputs = [ seq ]; 16 + 17 + doCheck = lib.versionAtLeast ocaml.version "4.07"; 18 + checkInputs = [ qcheck-alcotest ]; 19 20 meta = { 21 description = "Functional Priority Search Queues for OCaml";
+2 -2
pkgs/development/python-modules/pytest-testmon/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "pytest-testmon"; 11 - version = "1.0.3"; 12 disabled = pythonOlder "3.6"; 13 14 src = fetchPypi { 15 inherit pname version; 16 - sha256 = "927a73dd510b90a2e4a48ea4d37e82c4490b56caa745663262024ea0cd278169"; 17 }; 18 19 propagatedBuildInputs = [ coverage ];
··· 8 9 buildPythonPackage rec { 10 pname = "pytest-testmon"; 11 + version = "1.1.0"; 12 disabled = pythonOlder "3.6"; 13 14 src = fetchPypi { 15 inherit pname version; 16 + sha256 = "sha256-+IpT0o+Jg2UJcy6d7mEdZsYfW4IXIBu4IqBFbywyPRk="; 17 }; 18 19 propagatedBuildInputs = [ coverage ];
+2 -2
pkgs/development/tools/k6/default.nix
··· 2 3 buildGoPackage rec { 4 pname = "k6"; 5 - version = "0.31.0"; 6 7 goPackagePath = "github.com/loadimpact/k6"; 8 ··· 10 owner = "loadimpact"; 11 repo = pname; 12 rev = "v${version}"; 13 - sha256 = "sha256-UAVbYN4uDUMqUspycEZ2VGHzxFD7IlIW6m91U8ccZXw="; 14 }; 15 16 subPackages = [ "./" ];
··· 2 3 buildGoPackage rec { 4 pname = "k6"; 5 + version = "0.31.1"; 6 7 goPackagePath = "github.com/loadimpact/k6"; 8 ··· 10 owner = "loadimpact"; 11 repo = pname; 12 rev = "v${version}"; 13 + sha256 = "sha256-wngOG0uSNoUU+88oShDpCgPpzuevzJxcwzSzWS3PzAw="; 14 }; 15 16 subPackages = [ "./" ];
+13 -5
pkgs/development/tools/omnisharp-roslyn/default.nix
··· 1 { lib, stdenv 2 , fetchurl 3 - , mono5 4 , makeWrapper 5 }: 6 7 stdenv.mkDerivation rec { ··· 14 sha256 = "0pknphydf194n7rjyax4mh8n7j8679j0jflw63gfgh37daxry0r2"; 15 }; 16 17 - nativeBuildInputs = [ makeWrapper ]; 18 19 preUnpack = '' 20 mkdir src ··· 26 mkdir -p $out/bin 27 cd .. 28 cp -r src $out/ 29 - ls -al $out/src 30 - makeWrapper ${mono5}/bin/mono $out/bin/omnisharp \ 31 --add-flags "$out/src/OmniSharp.exe" 32 ''; 33 ··· 36 homepage = "https://github.com/OmniSharp/omnisharp-roslyn"; 37 platforms = platforms.linux; 38 license = licenses.mit; 39 - maintainers = with maintainers; [ tesq0 ]; 40 }; 41 42 }
··· 1 { lib, stdenv 2 , fetchurl 3 + , mono6 4 + , msbuild 5 + , dotnet-sdk 6 , makeWrapper 7 + , dotnetPackages 8 }: 9 10 stdenv.mkDerivation rec { ··· 17 sha256 = "0pknphydf194n7rjyax4mh8n7j8679j0jflw63gfgh37daxry0r2"; 18 }; 19 20 + nativeBuildInputs = [ makeWrapper dotnet-sdk dotnetPackages.Nuget ]; 21 22 preUnpack = '' 23 mkdir src ··· 29 mkdir -p $out/bin 30 cd .. 31 cp -r src $out/ 32 + rm -r $out/src/.msbuild 33 + cp -r ${msbuild}/lib/mono/msbuild $out/src/.msbuild 34 + 35 + chmod -R u+w $out/src 36 + mv $out/src/.msbuild/Current/{bin,Bin} 37 + 38 + makeWrapper ${mono6}/bin/mono $out/bin/omnisharp \ 39 --add-flags "$out/src/OmniSharp.exe" 40 ''; 41 ··· 44 homepage = "https://github.com/OmniSharp/omnisharp-roslyn"; 45 platforms = platforms.linux; 46 license = licenses.mit; 47 + maintainers = with maintainers; [ tesq0 ericdallo ]; 48 }; 49 50 }
+12
pkgs/misc/vim-plugins/generated.nix
··· 2926 meta.homepage = "https://github.com/tjdevries/nlua.nvim/"; 2927 }; 2928 2929 nord-vim = buildVimPluginFrom2Nix { 2930 pname = "nord-vim"; 2931 version = "2020-07-06";
··· 2926 meta.homepage = "https://github.com/tjdevries/nlua.nvim/"; 2927 }; 2928 2929 + nnn-vim = buildVimPluginFrom2Nix { 2930 + pname = "nnn-vim"; 2931 + version = "2021-02-28"; 2932 + src = fetchFromGitHub { 2933 + owner = "mcchrish"; 2934 + repo = "nnn.vim"; 2935 + rev = "edfc91e1189a36a5f0d5438d7f9c575571f759fa"; 2936 + sha256 = "11dzqhd2kp537ig8zcny0j56644mmrgygiw3wvfh1ly9gb9l2r9f"; 2937 + }; 2938 + meta.homepage = "https://github.com/mcchrish/nnn.vim/"; 2939 + }; 2940 + 2941 nord-vim = buildVimPluginFrom2Nix { 2942 pname = "nord-vim"; 2943 version = "2020-07-06";
+1
pkgs/misc/vim-plugins/vim-plugin-names
··· 345 MaxMEllon/vim-jsx-pretty 346 mbbill/undotree 347 mboughaba/i3config.vim 348 megaannum/forms 349 megaannum/self 350 mengelbrecht/lightline-bufferline
··· 345 MaxMEllon/vim-jsx-pretty 346 mbbill/undotree 347 mboughaba/i3config.vim 348 + mcchrish/nnn.vim 349 megaannum/forms 350 megaannum/self 351 mengelbrecht/lightline-bufferline
+2 -2
pkgs/misc/vscode-extensions/ms-vsliveshare-vsliveshare/default.nix
··· 38 mktplcRef = { 39 name = "vsliveshare"; 40 publisher = "ms-vsliveshare"; 41 - version = "1.0.3912"; 42 - sha256 = "1k5yy04q85jjr7hzrv0s7x1m2251kglb038wcvvbs568vpscghi8"; 43 }; 44 }).overrideAttrs({ nativeBuildInputs ? [], buildInputs ? [], ... }: { 45 nativeBuildInputs = nativeBuildInputs ++ [
··· 38 mktplcRef = { 39 name = "vsliveshare"; 40 publisher = "ms-vsliveshare"; 41 + version = "1.0.3968"; 42 + sha256 = "1nmhkxrlg9blxcqh7a3hl0wc5mkk2p77mn228lvmcirpbk3acsx5"; 43 }; 44 }).overrideAttrs({ nativeBuildInputs ? [], buildInputs ? [], ... }: { 45 nativeBuildInputs = nativeBuildInputs ++ [
+1 -1
pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh
··· 295 296 # Resolve the flake. 297 if [[ -n $flake ]]; then 298 - flake=$(nix "${flakeFlags[@]}" flake info --json "${extraBuildFlags[@]}" "${lockFlags[@]}" -- "$flake" | jq -r .url) 299 fi 300 301 # Find configuration.nix and open editor instead of building.
··· 295 296 # Resolve the flake. 297 if [[ -n $flake ]]; then 298 + flake=$(nix "${flakeFlags[@]}" flake metadata --json "${extraBuildFlags[@]}" "${lockFlags[@]}" -- "$flake" | jq -r .url) 299 fi 300 301 # Find configuration.nix and open editor instead of building.
+2 -2
pkgs/os-specific/linux/s6-linux-init/default.nix
··· 4 5 buildPackage { 6 pname = "s6-linux-init"; 7 - version = "1.0.6.0"; 8 - sha256 = "0kzif3dqhm7h4h7c6npzdbcy7w756222g8ysw116fgb8j385dr6w"; 9 10 description = "A set of minimalistic tools used to create a s6-based init system, including a /sbin/init binary, on a Linux kernel"; 11 platforms = lib.platforms.linux;
··· 4 5 buildPackage { 6 pname = "s6-linux-init"; 7 + version = "1.0.6.1"; 8 + sha256 = "0sq8ya39a1qs61cdjns8ijwrvxnqd4snk2ab4j5wl9a87i7wixhn"; 9 10 description = "A set of minimalistic tools used to create a s6-based init system, including a /sbin/init binary, on a Linux kernel"; 11 platforms = lib.platforms.linux;
+2 -2
pkgs/tools/misc/execline/default.nix
··· 4 5 buildPackage { 6 pname = "execline"; 7 - version = "2.7.0.0"; 8 - sha256 = "0kl74yix60msgw8k3shhp9ymm80n91yxxqckixj5qbbhmylpnpqd"; 9 10 description = "A small scripting language, to be used in place of a shell in non-interactive scripts"; 11
··· 4 5 buildPackage { 6 pname = "execline"; 7 + version = "2.8.0.0"; 8 + sha256 = "0vbn4pdazy6x6213vn42k0khcij5bvkbrcfg7nw6inhf8154nx77"; 9 10 description = "A small scripting language, to be used in place of a shell in non-interactive scripts"; 11
+2 -2
pkgs/tools/networking/s6-networking/default.nix
··· 19 20 buildPackage { 21 pname = "s6-networking"; 22 - version = "2.4.0.0"; 23 - sha256 = "1yqykwfl5jnkxgr6skfj5kzd896pknij0hi5m7lj0r18jpfs5zgq"; 24 25 description = "A suite of small networking utilities for Unix systems"; 26
··· 19 20 buildPackage { 21 pname = "s6-networking"; 22 + version = "2.4.1.0"; 23 + sha256 = "023wnayv1gddklnsh3qv7i5jfy2fisbp24wa0nzjg0nfq3p807yc"; 24 25 description = "A suite of small networking utilities for Unix systems"; 26
+3 -3
pkgs/tools/package-management/nix/default.nix
··· 213 214 nixUnstable = lib.lowPrio (callPackage common rec { 215 name = "nix-2.4${suffix}"; 216 - suffix = "pre20210308_1c0e3e4"; 217 218 src = fetchFromGitHub { 219 owner = "NixOS"; 220 repo = "nix"; 221 - rev = "1c0e3e453d41b869e4ac7e25dc1c00c349a7c411"; 222 - sha256 = "17killwp42d25f17yq2jida64j7d0ipz6zish78iqi450yrd9wrd"; 223 }; 224 225 inherit storeDir stateDir confDir boehmgc;
··· 213 214 nixUnstable = lib.lowPrio (callPackage common rec { 215 name = "nix-2.4${suffix}"; 216 + suffix = "pre20210317_8a5203d"; 217 218 src = fetchFromGitHub { 219 owner = "NixOS"; 220 repo = "nix"; 221 + rev = "8a5203d3b836497c2c5f157f85008aa8bcb6a1d2"; 222 + sha256 = "IMzdmoWAX6Lerhslsf7h2814xjJolPnl2bICDixRgdk="; 223 }; 224 225 inherit storeDir stateDir confDir boehmgc;
+3 -3
pkgs/tools/security/grype/default.nix
··· 6 7 buildGoModule rec { 8 pname = "grype"; 9 - version = "0.7.0"; 10 11 src = fetchFromGitHub { 12 owner = "anchore"; 13 repo = pname; 14 rev = "v${version}"; 15 - sha256 = "sha256-co00Ye/QVNSG4h67m56+37JLilBVzHxUwMs1vS3wYX4="; 16 }; 17 18 - vendorSha256 = "sha256-q7n8WLw/A2wr3z5h7zaFERY7lO5UIsmTD2mrcH/vpNs="; 19 20 propagatedBuildInputs = [ docker ]; 21
··· 6 7 buildGoModule rec { 8 pname = "grype"; 9 + version = "0.8.0"; 10 11 src = fetchFromGitHub { 12 owner = "anchore"; 13 repo = pname; 14 rev = "v${version}"; 15 + sha256 = "sha256-/OgAh33DF0UkBcc5GriGgeoZ7kae9GhGnUnIX6lGlys="; 16 }; 17 18 + vendorSha256 = "sha256-SGO8RKSOK0PHqSIJfTdcuAmqMtFuo9MBdiEylDUpOFo="; 19 20 propagatedBuildInputs = [ docker ]; 21
+2 -2
pkgs/tools/system/gdu/default.nix
··· 7 8 buildGoModule rec { 9 pname = "gdu"; 10 - version = "4.8.0"; 11 12 src = fetchFromGitHub { 13 owner = "dundee"; 14 repo = pname; 15 rev = "v${version}"; 16 - sha256 = "sha256-3u3tsUwxj7lzqoydycIoYSd7ifb9pLlehDA3NwvzPOo="; 17 }; 18 19 vendorSha256 = "sha256-QiO5p0x8kmIN6f0uYS0IR2MlWtRYTHeZpW6Nmupjias=";
··· 7 8 buildGoModule rec { 9 pname = "gdu"; 10 + version = "4.8.1"; 11 12 src = fetchFromGitHub { 13 owner = "dundee"; 14 repo = pname; 15 rev = "v${version}"; 16 + sha256 = "sha256-3qx9nL1lzVbtvVW3O9kQw4FoVuCqo8fxl8u1WXZNRFs="; 17 }; 18 19 vendorSha256 = "sha256-QiO5p0x8kmIN6f0uYS0IR2MlWtRYTHeZpW6Nmupjias=";
+2 -2
pkgs/tools/system/s6/default.nix
··· 4 5 buildPackage { 6 pname = "s6"; 7 - version = "2.10.0.0"; 8 - sha256 = "0xzqrd0m3wjklmw1w3gjw5dcdxnhgvxv2r5wd6m2ismw2jprr9k0"; 9 10 description = "skarnet.org's small & secure supervision software suite"; 11
··· 4 5 buildPackage { 6 pname = "s6"; 7 + version = "2.10.0.2"; 8 + sha256 = "08bcrp7ck1l3wmjyzxi3vgk6j0n2jfymxs4rjjw4if40f3lgqfmj"; 9 10 description = "skarnet.org's small & secure supervision software suite"; 11
+42
pkgs/tools/video/harvid/default.nix
···
··· 1 + { lib, stdenv, fetchFromGitHub, ffmpeg, libjpeg, libpng, pkg-config }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "harvid"; 5 + version = "0.8.3"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "x42"; 9 + repo = "harvid"; 10 + rev = "v${version}"; 11 + sha256 = "0l1plfsfh2ixhlzg3hqqvjj42z7g422718a9kgbh7b4p882n71x7"; 12 + }; 13 + 14 + nativeBuildInputs = [ pkg-config ]; 15 + 16 + buildInputs = [ ffmpeg libjpeg libpng ]; 17 + 18 + makeFlags = [ "DESTDIR=$(out)" "libdir=\"/lib\"" ]; 19 + 20 + postInstall = '' 21 + mkdir -p $out/bin 22 + mv $out/usr/local/bin/* $out/bin 23 + mv $out/usr/local/share $out/ 24 + rm -r $out/usr 25 + ''; 26 + 27 + meta = with lib; { 28 + description = 29 + "Decodes still images from movie files and serves them via HTTP"; 30 + longDescription = '' 31 + harvid's intended use-case is to efficiently provide frame-accurate data 32 + and act as second level cache for rendering the video-timeline in Ardour, 33 + but it is not limited to that: it has applications for any task that 34 + requires a high-performance frame-accurate online image extraction 35 + processor. 36 + ''; 37 + homepage = "http://x42.github.io/harvid"; 38 + license = licenses.gpl2Plus; 39 + platforms = platforms.linux; 40 + maintainers = with maintainers; [ mitchmindtree ]; 41 + }; 42 + }
+48
pkgs/tools/video/xjadeo/default.nix
···
··· 1 + { lib, stdenv, autoreconfHook, fetchFromGitHub, ffmpeg, freetype, libGLU 2 + , libjack2, liblo, libX11, libXv, pkg-config, portmidi, xorg }: 3 + 4 + stdenv.mkDerivation rec { 5 + pname = "xjadeo"; 6 + version = "0.8.10"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "x42"; 10 + repo = "xjadeo"; 11 + rev = "v${version}"; 12 + sha256 = "0dma4cjgbrpy16x63zvfr0xss4lryl0zw7nvixvhq2f6z8day1ds"; 13 + }; 14 + 15 + nativeBuildInputs = [ autoreconfHook pkg-config ]; 16 + 17 + buildInputs = [ 18 + ffmpeg 19 + libjack2 20 + libX11 21 + xorg.libXext 22 + xorg.libXpm 23 + # The following are recommended in the README, but are seemingly 24 + # unnecessary for a successful build. That said, the result of including 25 + # these in the build process is possibly required at runtime in some cases, 26 + # but I've not the time to test thoroughly for these cases. Should 27 + # consider investigating and splitting these into options in the future. 28 + freetype 29 + libGLU 30 + liblo 31 + libXv 32 + portmidi 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "The X Jack Video Monitor"; 37 + longDescription = '' 38 + Xjadeo is a software video player that displays a video-clip in sync with 39 + an external time source (MTC, LTC, JACK-transport). Xjadeo is useful in 40 + soundtrack composition, video monitoring or any task that requires to 41 + synchronizing movie frames with external events. 42 + ''; 43 + homepage = "http://xjadeo.sourceforge.net"; 44 + license = licenses.gpl2Plus; 45 + platforms = platforms.linux; 46 + maintainers = with maintainers; [ mitchmindtree ]; 47 + }; 48 + }
+6
pkgs/top-level/all-packages.nix
··· 1381 1382 hakrawler = callPackage ../tools/security/hakrawler { }; 1383 1384 hime = callPackage ../tools/inputmethods/hime {}; 1385 1386 hinit = haskell.lib.justStaticExecutables haskellPackages.hinit; ··· 1426 }; 1427 1428 passExtensions = recurseIntoAttrs pass.extensions; 1429 1430 asc-key-to-qr-code-gif = callPackage ../tools/security/asc-key-to-qr-code-gif { }; 1431 ··· 6116 libngspice = callPackage ../development/libraries/libngspice { }; 6117 6118 libnixxml = callPackage ../development/libraries/libnixxml { }; 6119 6120 libpointmatcher = callPackage ../development/libraries/libpointmatcher { }; 6121
··· 1381 1382 hakrawler = callPackage ../tools/security/hakrawler { }; 1383 1384 + harvid = callPackage ../tools/video/harvid { }; 1385 + 1386 hime = callPackage ../tools/inputmethods/hime {}; 1387 1388 hinit = haskell.lib.justStaticExecutables haskellPackages.hinit; ··· 1428 }; 1429 1430 passExtensions = recurseIntoAttrs pass.extensions; 1431 + 1432 + xjadeo = callPackage ../tools/video/xjadeo { }; 1433 1434 asc-key-to-qr-code-gif = callPackage ../tools/security/asc-key-to-qr-code-gif { }; 1435 ··· 6120 libngspice = callPackage ../development/libraries/libngspice { }; 6121 6122 libnixxml = callPackage ../development/libraries/libnixxml { }; 6123 + 6124 + libplctag = callPackage ../development/libraries/libplctag { }; 6125 6126 libpointmatcher = callPackage ../development/libraries/libpointmatcher { }; 6127