Merge staging-next into staging
This commit is contained in:
commit
6e3a55e059
@ -147,7 +147,6 @@ where they are known to differ. But there are ways to customize the argument:
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
will result in:
|
will result in:
|
||||||
```shell
|
```shell
|
||||||
--target /nix/store/asdfasdfsadf-thumb-crazy.json # contains {"foo":"","bar":""}
|
--target /nix/store/asdfasdfsadf-thumb-crazy.json # contains {"foo":"","bar":""}
|
||||||
|
@ -3193,6 +3193,12 @@
|
|||||||
githubId = 19961516;
|
githubId = 19961516;
|
||||||
name = "Felix Weilbach";
|
name = "Felix Weilbach";
|
||||||
};
|
};
|
||||||
|
fliegendewurst = {
|
||||||
|
email = "arne.keller@posteo.de";
|
||||||
|
github = "FliegendeWurst";
|
||||||
|
githubId = 12560461;
|
||||||
|
name = "Arne Keller";
|
||||||
|
};
|
||||||
flokli = {
|
flokli = {
|
||||||
email = "flokli@flokli.de";
|
email = "flokli@flokli.de";
|
||||||
github = "flokli";
|
github = "flokli";
|
||||||
@ -6325,6 +6331,12 @@
|
|||||||
githubId = 1776903;
|
githubId = 1776903;
|
||||||
name = "Andrew Abbott";
|
name = "Andrew Abbott";
|
||||||
};
|
};
|
||||||
|
mitchmindtree = {
|
||||||
|
email = "mail@mitchellnordine.com";
|
||||||
|
github = "mitchmindtree";
|
||||||
|
githubId = 4587373;
|
||||||
|
name = "Mitchell Nordine";
|
||||||
|
};
|
||||||
mjanczyk = {
|
mjanczyk = {
|
||||||
email = "m@dragonvr.pl";
|
email = "m@dragonvr.pl";
|
||||||
github = "mjanczyk";
|
github = "mjanczyk";
|
||||||
|
@ -29,15 +29,14 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# We use the 'out' output, since localtime has its 'bin' output
|
|
||||||
# first, so that is what we get if we use the derivation bare.
|
|
||||||
# Install the polkit rules.
|
# Install the polkit rules.
|
||||||
environment.systemPackages = [ pkgs.localtime.out ];
|
environment.systemPackages = [ pkgs.localtime ];
|
||||||
# Install the systemd unit.
|
# Install the systemd unit.
|
||||||
systemd.packages = [ pkgs.localtime.out ];
|
systemd.packages = [ pkgs.localtime ];
|
||||||
|
|
||||||
users.users.localtimed = {
|
users.users.localtimed = {
|
||||||
description = "Taskserver user";
|
description = "localtime daemon";
|
||||||
|
isSystemUser = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.localtime = {
|
systemd.services.localtime = {
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
, glibmm
|
, glibmm
|
||||||
, graphviz
|
, graphviz
|
||||||
, gtkmm2
|
, gtkmm2
|
||||||
|
, harvid
|
||||||
, itstool
|
, itstool
|
||||||
, libarchive
|
, libarchive
|
||||||
, libjack2
|
, libjack2
|
||||||
@ -35,6 +36,7 @@
|
|||||||
, lilv
|
, lilv
|
||||||
, lrdf
|
, lrdf
|
||||||
, lv2
|
, lv2
|
||||||
|
, makeWrapper
|
||||||
, pango
|
, pango
|
||||||
, perl
|
, perl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
@ -49,6 +51,8 @@
|
|||||||
, taglib
|
, taglib
|
||||||
, vamp-plugin-sdk
|
, vamp-plugin-sdk
|
||||||
, wafHook
|
, wafHook
|
||||||
|
, xjadeo
|
||||||
|
, videoSupport ? false
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ardour";
|
pname = "ardour";
|
||||||
@ -70,6 +74,7 @@ stdenv.mkDerivation rec {
|
|||||||
doxygen
|
doxygen
|
||||||
graphviz # for dot
|
graphviz # for dot
|
||||||
itstool
|
itstool
|
||||||
|
makeWrapper
|
||||||
perl
|
perl
|
||||||
pkg-config
|
pkg-config
|
||||||
python3
|
python3
|
||||||
@ -121,7 +126,7 @@ stdenv.mkDerivation rec {
|
|||||||
suil
|
suil
|
||||||
taglib
|
taglib
|
||||||
vamp-plugin-sdk
|
vamp-plugin-sdk
|
||||||
];
|
] ++ lib.optionals videoSupport [ harvid xjadeo ];
|
||||||
|
|
||||||
wafConfigureFlags = [
|
wafConfigureFlags = [
|
||||||
"--cxx11"
|
"--cxx11"
|
||||||
@ -158,6 +163,10 @@ stdenv.mkDerivation rec {
|
|||||||
"$out/share/icons/hicolor/''${size}x''${size}/apps/ardour6.png"
|
"$out/share/icons/hicolor/''${size}x''${size}/apps/ardour6.png"
|
||||||
done
|
done
|
||||||
install -vDm 644 "ardour.1"* -t "$out/share/man/man1"
|
install -vDm 644 "ardour.1"* -t "$out/share/man/man1"
|
||||||
|
'' + lib.optionalString videoSupport ''
|
||||||
|
# `harvid` and `xjadeo` must be accessible in `PATH` for video to work.
|
||||||
|
wrapProgram "$out/bin/ardour6" \
|
||||||
|
--prefix PATH : "${lib.makeBinPath [ harvid xjadeo ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
LINKFLAGS = "-lpthread";
|
LINKFLAGS = "-lpthread";
|
||||||
@ -174,8 +183,8 @@ stdenv.mkDerivation rec {
|
|||||||
https://community.ardour.org/donate
|
https://community.ardour.org/donate
|
||||||
'';
|
'';
|
||||||
homepage = "https://ardour.org/";
|
homepage = "https://ardour.org/";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ goibhniu magnetophon ];
|
maintainers = with maintainers; [ goibhniu magnetophon mitchmindtree ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -9,18 +9,18 @@ let
|
|||||||
inherit buildFHSUserEnv;
|
inherit buildFHSUserEnv;
|
||||||
};
|
};
|
||||||
stableVersion = {
|
stableVersion = {
|
||||||
version = "4.1.2.0"; # "Android Studio 4.1.2"
|
version = "4.1.3.0"; # "Android Studio 4.1.3"
|
||||||
build = "201.7042882";
|
build = "201.7199119";
|
||||||
sha256Hash = "1f9bclvyvm3sg9an7wxlfwd8jwnb9cl726dvggmysa6r7shc7xw9";
|
sha256Hash = "06xwgk7bwcmljka8xa56cfwwg858r0bl0xp2jb9hdnkwljf796gm";
|
||||||
};
|
};
|
||||||
betaVersion = {
|
betaVersion = {
|
||||||
version = "4.2.0.21"; # "Android Studio 4.2 Beta 5"
|
version = "4.2.0.22"; # "Android Studio 4.2 Beta 6"
|
||||||
build = "202.7141121";
|
build = "202.7188722";
|
||||||
sha256Hash = "05610xf9zz3yxarx6fv83fynlvqw9jl7h2a40yj3xx5kb7mzdnf2";
|
sha256Hash = "0mzwkx1csx194wzg7dc1cii3c16wbmlbq1jdv9ly4nmdxlvc2rxb";
|
||||||
};
|
};
|
||||||
latestVersion = { # canary & dev
|
latestVersion = { # canary & dev
|
||||||
version = "2020.3.1.7"; # "Android Studio Arctic Fox (2020.3.1) Canary 7"
|
version = "2020.3.1.10"; # "Android Studio Arctic Fox (2020.3.1) Canary 10"
|
||||||
sha256Hash = "03gq4s8rmg7si0r2y1w26v9bjwhj6gzmrdny5z3j5pq8xsfjfqiw";
|
sha256Hash = "15xxyjjjy5pnimc66dcwnqb7z4lq7ll4fl401a3br5ca4d1hpgsj";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
# Attributes are named by their corresponding release channels
|
# Attributes are named by their corresponding release channels
|
||||||
|
@ -101,6 +101,7 @@ mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
"-DBUILD_FLAT_MESH:BOOL=ON"
|
||||||
"-DBUILD_QT5=ON"
|
"-DBUILD_QT5=ON"
|
||||||
"-DSHIBOKEN_INCLUDE_DIR=${shiboken2}/include"
|
"-DSHIBOKEN_INCLUDE_DIR=${shiboken2}/include"
|
||||||
"-DSHIBOKEN_LIBRARY=Shiboken2::libshiboken"
|
"-DSHIBOKEN_LIBRARY=Shiboken2::libshiboken"
|
||||||
|
@ -8,11 +8,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "1password";
|
pname = "1password";
|
||||||
version = "8.0.27";
|
version = "8.0.28";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://onepassword.s3.amazonaws.com/linux/appimage/${pname}-${version}.AppImage";
|
url = "https://onepassword.s3.amazonaws.com/linux/appimage/${pname}-${version}.AppImage";
|
||||||
hash = "sha256-qzZXs7ak4052Igq+YWuzgDqJ7143q5qw5P3b3eN3NkU=";
|
hash = "sha256-okLeyok/5rihGXaQaUR06dGkpuqqW02qJ6q6VVLtZsE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -8,22 +8,22 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "reddsaver";
|
pname = "reddsaver";
|
||||||
version = "0.3.1";
|
version = "0.3.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "manojkarthick";
|
owner = "manojkarthick";
|
||||||
repo = "reddsaver";
|
repo = "reddsaver";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0kww3abgvxr7azr7yb8aiw28fz13qb4sn3x7nnz1ihmd4yczi9fg";
|
sha256 = "0ffci3as50f55n1v36hji4n0b3lkch5ylc75awjz65jz2gd2y2j4";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "09xm22vgmd3dc0wr6n3jczxvhwpcsijwfbv50dz1lnsx57g8mgmd";
|
cargoSha256 = "1cx3sqr7zb1vlfdvbcxp0yva9xh654qczpy8s09c8cviy8hac5sr";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl ]
|
buildInputs = [ openssl ]
|
||||||
++ lib.optional stdenv.isDarwin Security;
|
++ lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
# package does not contain tests as of v0.3.1
|
# package does not contain tests as of v0.3.2
|
||||||
docCheck = false;
|
docCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,26 +1,39 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
{ lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles }:
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "0.10.0";
|
||||||
|
|
||||||
|
manifests = fetchzip {
|
||||||
|
url = "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz";
|
||||||
|
sha256 = "Der1Ud27eIV450KkxDTF2frmeKEHKsg6vJgdXE+3548=";
|
||||||
|
stripRoot = false;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
|
inherit version;
|
||||||
|
|
||||||
pname = "fluxcd";
|
pname = "fluxcd";
|
||||||
version = "0.8.2";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fluxcd";
|
owner = "fluxcd";
|
||||||
repo = "flux2";
|
repo = "flux2";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1yrjgjagh7jfzgvnj9wr71mk34x7yf66fwyby73f1pfi2cg49nhp";
|
sha256 = "iJ6UyHbF4+RvfNoOuHt6X2R6XhpBe+t76deldwY5P2c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "0acxbmc4j1fcdja0s9g04f0kd34x54yfqismibfi40m2gzbg6ljr";
|
vendorSha256 = "Z0keCr+KZ593c6a/56lYJwOgXu5hrUSn6N3NFf2LDUM=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
subPackages = [ "cmd/flux" ];
|
subPackages = [ "cmd/flux" ];
|
||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=-s -w -X main.VERSION=${version}" ];
|
buildFlagsArray = [ "-ldflags=-s -w -X main.VERSION=${version}" ];
|
||||||
|
|
||||||
|
postUnpack = ''
|
||||||
|
cp -r ${manifests} source/cmd/flux/manifests
|
||||||
|
'';
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
$out/bin/flux --version | grep ${version} > /dev/null
|
$out/bin/flux --version | grep ${version} > /dev/null
|
||||||
|
@ -1,17 +1,8 @@
|
|||||||
From 5be803a1171855f976a5b607970fa3949db72181 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Christian Kampka <christian@kampka.net>
|
|
||||||
Date: Mon, 9 Dec 2019 19:40:27 +0100
|
|
||||||
Subject: [PATCH] Use console logger instead of rolling files
|
|
||||||
|
|
||||||
---
|
|
||||||
src/services/log.js | 26 +++-----------------------
|
|
||||||
1 file changed, 3 insertions(+), 23 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/services/log.js b/src/services/log.js
|
diff --git a/src/services/log.js b/src/services/log.js
|
||||||
index 1514c209..456c3749 100644
|
index b4c39e99..4c249154 100644
|
||||||
--- a/src/services/log.js
|
--- a/src/services/log.js
|
||||||
+++ b/src/services/log.js
|
+++ b/src/services/log.js
|
||||||
@@ -1,35 +1,15 @@
|
@@ -1,14 +1,5 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
-const fs = require('fs');
|
-const fs = require('fs');
|
||||||
@ -21,49 +12,50 @@ index 1514c209..456c3749 100644
|
|||||||
- fs.mkdirSync(dataDir.LOG_DIR, 0o700);
|
- fs.mkdirSync(dataDir.LOG_DIR, 0o700);
|
||||||
-}
|
-}
|
||||||
-
|
-
|
||||||
-const logger = require('simple-node-logger').createRollingFileLogger({
|
-let logFile = null;
|
||||||
- errorEventName: 'error',
|
|
||||||
- logDirectory: dataDir.LOG_DIR,
|
|
||||||
- fileNamePattern: 'trilium-<DATE>.log',
|
|
||||||
- dateFormat:'YYYY-MM-DD'
|
|
||||||
-});
|
|
||||||
-
|
-
|
||||||
function info(message) {
|
const SECOND = 1000;
|
||||||
// info messages are logged asynchronously
|
const MINUTE = 60 * SECOND;
|
||||||
setTimeout(() => {
|
const HOUR = 60 * MINUTE;
|
||||||
console.log(message);
|
@@ -16,41 +7,7 @@ const DAY = 24 * HOUR;
|
||||||
|
|
||||||
|
const NEW_LINE = process.platform === "win32" ? '\r\n' : '\n';
|
||||||
|
|
||||||
|
-let todaysMidnight = null;
|
||||||
-
|
-
|
||||||
- logger.info(message);
|
-initLogFile();
|
||||||
}, 0);
|
-
|
||||||
|
-function getTodaysMidnight() {
|
||||||
|
- const now = new Date();
|
||||||
|
-
|
||||||
|
- return new Date(now.getFullYear(), now.getMonth(), now.getDate());
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
-function initLogFile() {
|
||||||
|
- todaysMidnight = getTodaysMidnight();
|
||||||
|
-
|
||||||
|
- const path = dataDir.LOG_DIR + '/trilium-' + formatDate() + '.log';
|
||||||
|
-
|
||||||
|
- if (logFile) {
|
||||||
|
- logFile.end();
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- logFile = fs.createWriteStream(path, {flags: 'a'});
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
-function checkDate(millisSinceMidnight) {
|
||||||
|
- if (millisSinceMidnight >= DAY) {
|
||||||
|
- initLogFile();
|
||||||
|
- }
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
function log(str) {
|
||||||
|
- const millisSinceMidnight = Date.now() - todaysMidnight.getTime();
|
||||||
|
-
|
||||||
|
- checkDate(millisSinceMidnight);
|
||||||
|
-
|
||||||
|
- logFile.write(formatTime(millisSinceMidnight) + ' ' + str + NEW_LINE);
|
||||||
|
-
|
||||||
|
console.log(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
function error(message) {
|
|
||||||
message = "ERROR: " + message;
|
|
||||||
|
|
||||||
- // we're using .info() instead of .error() because simple-node-logger emits weird error for showError()
|
|
||||||
- // errors are logged synchronously to make sure it doesn't get lost in case of crash
|
|
||||||
- logger.info(message);
|
|
||||||
-
|
|
||||||
console.trace(message);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -45,12 +25,12 @@ function request(req) {
|
|
||||||
if (req.url.includes(".js.map") || req.url.includes(".css.map")) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
-
|
|
||||||
- logger.info(req.method + " " + req.url);
|
|
||||||
+ if(process.env.DEBUG)
|
|
||||||
+ console.log(req.method + " " + req.url);
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
info,
|
|
||||||
error,
|
|
||||||
request
|
|
||||||
-};
|
|
||||||
\ No newline at end of file
|
|
||||||
+};
|
|
||||||
--
|
|
||||||
2.23.0
|
|
||||||
|
|
||||||
|
@ -14,21 +14,21 @@ let
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
inherit description;
|
inherit description;
|
||||||
homepage = "https://github.com/zadam/trilium";
|
homepage = "https://github.com/zadam/trilium";
|
||||||
license = licenses.agpl3;
|
license = licenses.agpl3Plus;
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
maintainers = with maintainers; [ emmanuelrosa dtzWill ];
|
maintainers = with maintainers; [ fliegendewurst ];
|
||||||
};
|
};
|
||||||
|
|
||||||
version = "0.43.4";
|
version = "0.45.10";
|
||||||
|
|
||||||
desktopSource = {
|
desktopSource = {
|
||||||
url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz";
|
url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz";
|
||||||
sha256 = "0kjysam5alsmnj93fcqq1ivawnra42gn7dch99rrfmvbkxp7hhr8";
|
sha256 = "06ykgcak7l3q812c4xrp720db3yq0v2lkrzkmwchlwp5rpwhqpck";
|
||||||
};
|
};
|
||||||
|
|
||||||
serverSource = {
|
serverSource = {
|
||||||
url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz";
|
url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz";
|
||||||
sha256 = "128mvmp15mjpb5ipkmr0yn7ahby26shbix3f8q094f4zpxjp83zx";
|
sha256 = "1252zgyb23vfvy63cqd8jdjbm4w9ddwnp32z5vf1fqvd2rrz6lz9";
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
@ -95,12 +95,18 @@ in {
|
|||||||
libxkbfile
|
libxkbfile
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [ ./0001-Use-console-logger-instead-of-rolling-files.patch ] ;
|
patches = [
|
||||||
|
# patch logger to use console instead of rolling files
|
||||||
|
./0001-Use-console-logger-instead-of-rolling-files.patch
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
mkdir -p $out/share/trilium-server
|
mkdir -p $out/share/trilium-server
|
||||||
|
|
||||||
cp -r ./* $out/share/trilium-server
|
cp -r ./* $out/share/trilium-server
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
|
@ -4,6 +4,31 @@
|
|||||||
, cmake, libyaml, Security
|
, cmake, libyaml, Security
|
||||||
, libjpeg, libX11, libXext, libXft, libXinerama
|
, libjpeg, libX11, libXext, libXft, libXinerama
|
||||||
, extraLibraries ? [ jdk unixODBC libXpm libSM libXt freetype fontconfig ]
|
, extraLibraries ? [ jdk unixODBC libXpm libSM libXt freetype fontconfig ]
|
||||||
|
# Packs must be installed from a local directory during the build, with dependencies
|
||||||
|
# resolved manually, e.g. to install the 'julian' pack, which depends on the 'delay', 'list_util' and 'typedef' packs:
|
||||||
|
# julian = pkgs.fetchzip {
|
||||||
|
# name = "swipl-pack-julian";
|
||||||
|
# url = "https://github.com/mndrix/julian/archive/v0.1.3.zip";
|
||||||
|
# sha256 = "1sgql7c21p3c5m14kwa0bcmlwn9fql612krn9h36gla1j9yjdfgy";
|
||||||
|
# };
|
||||||
|
# delay = pkgs.fetchzip {
|
||||||
|
# name = "swipl-pack-delay";
|
||||||
|
# url = "https://github.com/mndrix/delay/archive/v0.3.3.zip";
|
||||||
|
# sha256 = "0ira87afxnc2dnbbmgwmrr8qvary8lhzvhqwd52dccm6yqd3nybg";
|
||||||
|
# };
|
||||||
|
# list_util = pkgs.fetchzip {
|
||||||
|
# name = "swipl-pack-list_util";
|
||||||
|
# url = "https://github.com/mndrix/list_util/archive/v0.13.0.zip";
|
||||||
|
# sha256 = "0lx7vffflak0y8l8vg8k0g8qddwwn23ksbz02hi3f8rbarh1n89q";
|
||||||
|
# };
|
||||||
|
# typedef = builtins.fetchTarball {
|
||||||
|
# name = "swipl-pack-typedef";
|
||||||
|
# url = "https://raw.githubusercontent.com/samer--/prolog/master/typedef/release/typedef-0.1.9.tgz";
|
||||||
|
# sha256 = "056nqjn01g18fb1b2qivv9s7hb4azk24nx2d4kvkbmm1k91f44p3";
|
||||||
|
# };
|
||||||
|
# swiProlog = pkgs.swiProlog.override { extraPacks = map (dep-path: "'file://${dep-path}'") [
|
||||||
|
# julian delay list_util typedef
|
||||||
|
# ]; };
|
||||||
, extraPacks ? []
|
, extraPacks ? []
|
||||||
, withGui ? false
|
, withGui ? false
|
||||||
}:
|
}:
|
||||||
@ -26,6 +51,11 @@ stdenv.mkDerivation {
|
|||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Add the packInstall path to the swipl pack search path
|
||||||
|
postPatch = ''
|
||||||
|
echo "user:file_search_path(pack, '$out/lib/swipl/pack')." >> /build/$sourceRoot/boot/init.pl
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ gmp readline openssl
|
buildInputs = [ gmp readline openssl
|
||||||
@ -39,6 +69,10 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
cmakeFlags = [ "-DSWIPL_INSTALL_IN_LIB=ON" ];
|
cmakeFlags = [ "-DSWIPL_INSTALL_IN_LIB=ON" ];
|
||||||
|
|
||||||
|
preInstall = ''
|
||||||
|
mkdir -p $out/lib/swipl/pack
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = builtins.concatStringsSep "\n"
|
postInstall = builtins.concatStringsSep "\n"
|
||||||
( builtins.map (packInstall "$out") extraPacks
|
( builtins.map (packInstall "$out") extraPacks
|
||||||
);
|
);
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "janet";
|
pname = "janet";
|
||||||
version = "1.15.3";
|
version = "1.15.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "janet-lang";
|
owner = "janet-lang";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-GWSPNz4IxEYxSRpDPbgCXmc7WYZNi8IGVqNhSEgUaeg=";
|
sha256 = "sha256-lE2BAwiwvewydIpVYoN+zrfpzQbMbe5Nb1r0mzdxMao=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja ];
|
nativeBuildInputs = [ meson ninja ];
|
||||||
|
27
pkgs/development/libraries/libplctag/default.nix
Normal file
27
pkgs/development/libraries/libplctag/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, cmake
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "libplctag";
|
||||||
|
version = "2.3.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "libplctag";
|
||||||
|
repo = "libplctag";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0brmzr863chybm5y0q5hld5mhf6kx0bl4dddr7j69adlraak7x6s";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/libplctag/libplctag";
|
||||||
|
description = "Library that uses EtherNet/IP or Modbus TCP to read and write tags in PLCs";
|
||||||
|
license = with licenses; [ lgpl2Plus mpl20 ];
|
||||||
|
maintainers = with maintainers; [ petterstorvik ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -4,8 +4,8 @@ with skawarePackages;
|
|||||||
|
|
||||||
buildPackage {
|
buildPackage {
|
||||||
pname = "skalibs";
|
pname = "skalibs";
|
||||||
version = "2.10.0.1";
|
version = "2.10.0.2";
|
||||||
sha256 = "1chwjzlh13jbrldk77h3i4qjqv8hjpvvd3papcb8j46mvj7sxysg";
|
sha256 = "03qyi77wgcw3nzy7i932wd98d6j7nnzxc8ddl973vf5sa1v3vflb";
|
||||||
|
|
||||||
description = "A set of general-purpose C programming libraries";
|
description = "A set of general-purpose C programming libraries";
|
||||||
|
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
{ lib, buildDunePackage, fetchurl, seq }:
|
{ lib, buildDunePackage, ocaml, fetchurl, seq, qcheck-alcotest }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
minimumOCamlVersion = "4.03";
|
minimumOCamlVersion = "4.03";
|
||||||
pname = "psq";
|
pname = "psq";
|
||||||
version = "0.2.0";
|
version = "0.2.0";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-v${version}.tbz";
|
url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-v${version}.tbz";
|
||||||
sha256 = "1j4lqkq17rskhgcrpgr4n1m1a2b1x35mlxj6f9g05rhpmgvgvknk";
|
sha256 = "1j4lqkq17rskhgcrpgr4n1m1a2b1x35mlxj6f9g05rhpmgvgvknk";
|
||||||
@ -12,6 +14,9 @@ buildDunePackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ seq ];
|
propagatedBuildInputs = [ seq ];
|
||||||
|
|
||||||
|
doCheck = lib.versionAtLeast ocaml.version "4.07";
|
||||||
|
checkInputs = [ qcheck-alcotest ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Functional Priority Search Queues for OCaml";
|
description = "Functional Priority Search Queues for OCaml";
|
||||||
homepage = "https://github.com/pqwy/psq";
|
homepage = "https://github.com/pqwy/psq";
|
||||||
|
@ -8,12 +8,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-testmon";
|
pname = "pytest-testmon";
|
||||||
version = "1.0.3";
|
version = "1.1.0";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "927a73dd510b90a2e4a48ea4d37e82c4490b56caa745663262024ea0cd278169";
|
sha256 = "sha256-+IpT0o+Jg2UJcy6d7mEdZsYfW4IXIBu4IqBFbywyPRk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ coverage ];
|
propagatedBuildInputs = [ coverage ];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "k6";
|
pname = "k6";
|
||||||
version = "0.31.0";
|
version = "0.31.1";
|
||||||
|
|
||||||
goPackagePath = "github.com/loadimpact/k6";
|
goPackagePath = "github.com/loadimpact/k6";
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ buildGoPackage rec {
|
|||||||
owner = "loadimpact";
|
owner = "loadimpact";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-UAVbYN4uDUMqUspycEZ2VGHzxFD7IlIW6m91U8ccZXw=";
|
sha256 = "sha256-wngOG0uSNoUU+88oShDpCgPpzuevzJxcwzSzWS3PzAw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
subPackages = [ "./" ];
|
subPackages = [ "./" ];
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, mono5
|
, mono6
|
||||||
|
, msbuild
|
||||||
|
, dotnet-sdk
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
, dotnetPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -14,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0pknphydf194n7rjyax4mh8n7j8679j0jflw63gfgh37daxry0r2";
|
sha256 = "0pknphydf194n7rjyax4mh8n7j8679j0jflw63gfgh37daxry0r2";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper dotnet-sdk dotnetPackages.Nuget ];
|
||||||
|
|
||||||
preUnpack = ''
|
preUnpack = ''
|
||||||
mkdir src
|
mkdir src
|
||||||
@ -26,8 +29,13 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cd ..
|
cd ..
|
||||||
cp -r src $out/
|
cp -r src $out/
|
||||||
ls -al $out/src
|
rm -r $out/src/.msbuild
|
||||||
makeWrapper ${mono5}/bin/mono $out/bin/omnisharp \
|
cp -r ${msbuild}/lib/mono/msbuild $out/src/.msbuild
|
||||||
|
|
||||||
|
chmod -R u+w $out/src
|
||||||
|
mv $out/src/.msbuild/Current/{bin,Bin}
|
||||||
|
|
||||||
|
makeWrapper ${mono6}/bin/mono $out/bin/omnisharp \
|
||||||
--add-flags "$out/src/OmniSharp.exe"
|
--add-flags "$out/src/OmniSharp.exe"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -36,7 +44,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://github.com/OmniSharp/omnisharp-roslyn";
|
homepage = "https://github.com/OmniSharp/omnisharp-roslyn";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ tesq0 ];
|
maintainers = with maintainers; [ tesq0 ericdallo ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2926,6 +2926,18 @@ let
|
|||||||
meta.homepage = "https://github.com/tjdevries/nlua.nvim/";
|
meta.homepage = "https://github.com/tjdevries/nlua.nvim/";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nnn-vim = buildVimPluginFrom2Nix {
|
||||||
|
pname = "nnn-vim";
|
||||||
|
version = "2021-02-28";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mcchrish";
|
||||||
|
repo = "nnn.vim";
|
||||||
|
rev = "edfc91e1189a36a5f0d5438d7f9c575571f759fa";
|
||||||
|
sha256 = "11dzqhd2kp537ig8zcny0j56644mmrgygiw3wvfh1ly9gb9l2r9f";
|
||||||
|
};
|
||||||
|
meta.homepage = "https://github.com/mcchrish/nnn.vim/";
|
||||||
|
};
|
||||||
|
|
||||||
nord-vim = buildVimPluginFrom2Nix {
|
nord-vim = buildVimPluginFrom2Nix {
|
||||||
pname = "nord-vim";
|
pname = "nord-vim";
|
||||||
version = "2020-07-06";
|
version = "2020-07-06";
|
||||||
|
@ -345,6 +345,7 @@ maximbaz/lightline-ale
|
|||||||
MaxMEllon/vim-jsx-pretty
|
MaxMEllon/vim-jsx-pretty
|
||||||
mbbill/undotree
|
mbbill/undotree
|
||||||
mboughaba/i3config.vim
|
mboughaba/i3config.vim
|
||||||
|
mcchrish/nnn.vim
|
||||||
megaannum/forms
|
megaannum/forms
|
||||||
megaannum/self
|
megaannum/self
|
||||||
mengelbrecht/lightline-bufferline
|
mengelbrecht/lightline-bufferline
|
||||||
|
@ -38,8 +38,8 @@ in ((vscode-utils.override { stdenv = gccStdenv; }).buildVscodeMarketplaceExtens
|
|||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "vsliveshare";
|
name = "vsliveshare";
|
||||||
publisher = "ms-vsliveshare";
|
publisher = "ms-vsliveshare";
|
||||||
version = "1.0.3912";
|
version = "1.0.3968";
|
||||||
sha256 = "1k5yy04q85jjr7hzrv0s7x1m2251kglb038wcvvbs568vpscghi8";
|
sha256 = "1nmhkxrlg9blxcqh7a3hl0wc5mkk2p77mn228lvmcirpbk3acsx5";
|
||||||
};
|
};
|
||||||
}).overrideAttrs({ nativeBuildInputs ? [], buildInputs ? [], ... }: {
|
}).overrideAttrs({ nativeBuildInputs ? [], buildInputs ? [], ... }: {
|
||||||
nativeBuildInputs = nativeBuildInputs ++ [
|
nativeBuildInputs = nativeBuildInputs ++ [
|
||||||
|
@ -295,7 +295,7 @@ fi
|
|||||||
|
|
||||||
# Resolve the flake.
|
# Resolve the flake.
|
||||||
if [[ -n $flake ]]; then
|
if [[ -n $flake ]]; then
|
||||||
flake=$(nix "${flakeFlags[@]}" flake info --json "${extraBuildFlags[@]}" "${lockFlags[@]}" -- "$flake" | jq -r .url)
|
flake=$(nix "${flakeFlags[@]}" flake metadata --json "${extraBuildFlags[@]}" "${lockFlags[@]}" -- "$flake" | jq -r .url)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Find configuration.nix and open editor instead of building.
|
# Find configuration.nix and open editor instead of building.
|
||||||
|
@ -4,8 +4,8 @@ with skawarePackages;
|
|||||||
|
|
||||||
buildPackage {
|
buildPackage {
|
||||||
pname = "s6-linux-init";
|
pname = "s6-linux-init";
|
||||||
version = "1.0.6.0";
|
version = "1.0.6.1";
|
||||||
sha256 = "0kzif3dqhm7h4h7c6npzdbcy7w756222g8ysw116fgb8j385dr6w";
|
sha256 = "0sq8ya39a1qs61cdjns8ijwrvxnqd4snk2ab4j5wl9a87i7wixhn";
|
||||||
|
|
||||||
description = "A set of minimalistic tools used to create a s6-based init system, including a /sbin/init binary, on a Linux kernel";
|
description = "A set of minimalistic tools used to create a s6-based init system, including a /sbin/init binary, on a Linux kernel";
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
|
@ -4,8 +4,8 @@ with skawarePackages;
|
|||||||
|
|
||||||
buildPackage {
|
buildPackage {
|
||||||
pname = "execline";
|
pname = "execline";
|
||||||
version = "2.7.0.0";
|
version = "2.8.0.0";
|
||||||
sha256 = "0kl74yix60msgw8k3shhp9ymm80n91yxxqckixj5qbbhmylpnpqd";
|
sha256 = "0vbn4pdazy6x6213vn42k0khcij5bvkbrcfg7nw6inhf8154nx77";
|
||||||
|
|
||||||
description = "A small scripting language, to be used in place of a shell in non-interactive scripts";
|
description = "A small scripting language, to be used in place of a shell in non-interactive scripts";
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@ assert sslSupportEnabled -> sslLibs ? ${sslSupport};
|
|||||||
|
|
||||||
buildPackage {
|
buildPackage {
|
||||||
pname = "s6-networking";
|
pname = "s6-networking";
|
||||||
version = "2.4.0.0";
|
version = "2.4.1.0";
|
||||||
sha256 = "1yqykwfl5jnkxgr6skfj5kzd896pknij0hi5m7lj0r18jpfs5zgq";
|
sha256 = "023wnayv1gddklnsh3qv7i5jfy2fisbp24wa0nzjg0nfq3p807yc";
|
||||||
|
|
||||||
description = "A suite of small networking utilities for Unix systems";
|
description = "A suite of small networking utilities for Unix systems";
|
||||||
|
|
||||||
|
@ -213,13 +213,13 @@ in rec {
|
|||||||
|
|
||||||
nixUnstable = lib.lowPrio (callPackage common rec {
|
nixUnstable = lib.lowPrio (callPackage common rec {
|
||||||
name = "nix-2.4${suffix}";
|
name = "nix-2.4${suffix}";
|
||||||
suffix = "pre20210308_1c0e3e4";
|
suffix = "pre20210317_8a5203d";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "NixOS";
|
owner = "NixOS";
|
||||||
repo = "nix";
|
repo = "nix";
|
||||||
rev = "1c0e3e453d41b869e4ac7e25dc1c00c349a7c411";
|
rev = "8a5203d3b836497c2c5f157f85008aa8bcb6a1d2";
|
||||||
sha256 = "17killwp42d25f17yq2jida64j7d0ipz6zish78iqi450yrd9wrd";
|
sha256 = "IMzdmoWAX6Lerhslsf7h2814xjJolPnl2bICDixRgdk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit storeDir stateDir confDir boehmgc;
|
inherit storeDir stateDir confDir boehmgc;
|
||||||
|
@ -6,16 +6,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "grype";
|
pname = "grype";
|
||||||
version = "0.7.0";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "anchore";
|
owner = "anchore";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-co00Ye/QVNSG4h67m56+37JLilBVzHxUwMs1vS3wYX4=";
|
sha256 = "sha256-/OgAh33DF0UkBcc5GriGgeoZ7kae9GhGnUnIX6lGlys=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-q7n8WLw/A2wr3z5h7zaFERY7lO5UIsmTD2mrcH/vpNs=";
|
vendorSha256 = "sha256-SGO8RKSOK0PHqSIJfTdcuAmqMtFuo9MBdiEylDUpOFo=";
|
||||||
|
|
||||||
propagatedBuildInputs = [ docker ];
|
propagatedBuildInputs = [ docker ];
|
||||||
|
|
||||||
|
@ -7,13 +7,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gdu";
|
pname = "gdu";
|
||||||
version = "4.8.0";
|
version = "4.8.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dundee";
|
owner = "dundee";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-3u3tsUwxj7lzqoydycIoYSd7ifb9pLlehDA3NwvzPOo=";
|
sha256 = "sha256-3qx9nL1lzVbtvVW3O9kQw4FoVuCqo8fxl8u1WXZNRFs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-QiO5p0x8kmIN6f0uYS0IR2MlWtRYTHeZpW6Nmupjias=";
|
vendorSha256 = "sha256-QiO5p0x8kmIN6f0uYS0IR2MlWtRYTHeZpW6Nmupjias=";
|
||||||
|
@ -4,8 +4,8 @@ with skawarePackages;
|
|||||||
|
|
||||||
buildPackage {
|
buildPackage {
|
||||||
pname = "s6";
|
pname = "s6";
|
||||||
version = "2.10.0.0";
|
version = "2.10.0.2";
|
||||||
sha256 = "0xzqrd0m3wjklmw1w3gjw5dcdxnhgvxv2r5wd6m2ismw2jprr9k0";
|
sha256 = "08bcrp7ck1l3wmjyzxi3vgk6j0n2jfymxs4rjjw4if40f3lgqfmj";
|
||||||
|
|
||||||
description = "skarnet.org's small & secure supervision software suite";
|
description = "skarnet.org's small & secure supervision software suite";
|
||||||
|
|
||||||
|
42
pkgs/tools/video/harvid/default.nix
Normal file
42
pkgs/tools/video/harvid/default.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, ffmpeg, libjpeg, libpng, pkg-config }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "harvid";
|
||||||
|
version = "0.8.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "x42";
|
||||||
|
repo = "harvid";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0l1plfsfh2ixhlzg3hqqvjj42z7g422718a9kgbh7b4p882n71x7";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
buildInputs = [ ffmpeg libjpeg libpng ];
|
||||||
|
|
||||||
|
makeFlags = [ "DESTDIR=$(out)" "libdir=\"/lib\"" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
mv $out/usr/local/bin/* $out/bin
|
||||||
|
mv $out/usr/local/share $out/
|
||||||
|
rm -r $out/usr
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description =
|
||||||
|
"Decodes still images from movie files and serves them via HTTP";
|
||||||
|
longDescription = ''
|
||||||
|
harvid's intended use-case is to efficiently provide frame-accurate data
|
||||||
|
and act as second level cache for rendering the video-timeline in Ardour,
|
||||||
|
but it is not limited to that: it has applications for any task that
|
||||||
|
requires a high-performance frame-accurate online image extraction
|
||||||
|
processor.
|
||||||
|
'';
|
||||||
|
homepage = "http://x42.github.io/harvid";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ mitchmindtree ];
|
||||||
|
};
|
||||||
|
}
|
48
pkgs/tools/video/xjadeo/default.nix
Normal file
48
pkgs/tools/video/xjadeo/default.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ lib, stdenv, autoreconfHook, fetchFromGitHub, ffmpeg, freetype, libGLU
|
||||||
|
, libjack2, liblo, libX11, libXv, pkg-config, portmidi, xorg }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "xjadeo";
|
||||||
|
version = "0.8.10";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "x42";
|
||||||
|
repo = "xjadeo";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0dma4cjgbrpy16x63zvfr0xss4lryl0zw7nvixvhq2f6z8day1ds";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
ffmpeg
|
||||||
|
libjack2
|
||||||
|
libX11
|
||||||
|
xorg.libXext
|
||||||
|
xorg.libXpm
|
||||||
|
# The following are recommended in the README, but are seemingly
|
||||||
|
# unnecessary for a successful build. That said, the result of including
|
||||||
|
# these in the build process is possibly required at runtime in some cases,
|
||||||
|
# but I've not the time to test thoroughly for these cases. Should
|
||||||
|
# consider investigating and splitting these into options in the future.
|
||||||
|
freetype
|
||||||
|
libGLU
|
||||||
|
liblo
|
||||||
|
libXv
|
||||||
|
portmidi
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "The X Jack Video Monitor";
|
||||||
|
longDescription = ''
|
||||||
|
Xjadeo is a software video player that displays a video-clip in sync with
|
||||||
|
an external time source (MTC, LTC, JACK-transport). Xjadeo is useful in
|
||||||
|
soundtrack composition, video monitoring or any task that requires to
|
||||||
|
synchronizing movie frames with external events.
|
||||||
|
'';
|
||||||
|
homepage = "http://xjadeo.sourceforge.net";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ mitchmindtree ];
|
||||||
|
};
|
||||||
|
}
|
@ -1381,6 +1381,8 @@ in
|
|||||||
|
|
||||||
hakrawler = callPackage ../tools/security/hakrawler { };
|
hakrawler = callPackage ../tools/security/hakrawler { };
|
||||||
|
|
||||||
|
harvid = callPackage ../tools/video/harvid { };
|
||||||
|
|
||||||
hime = callPackage ../tools/inputmethods/hime {};
|
hime = callPackage ../tools/inputmethods/hime {};
|
||||||
|
|
||||||
hinit = haskell.lib.justStaticExecutables haskellPackages.hinit;
|
hinit = haskell.lib.justStaticExecutables haskellPackages.hinit;
|
||||||
@ -1427,6 +1429,8 @@ in
|
|||||||
|
|
||||||
passExtensions = recurseIntoAttrs pass.extensions;
|
passExtensions = recurseIntoAttrs pass.extensions;
|
||||||
|
|
||||||
|
xjadeo = callPackage ../tools/video/xjadeo { };
|
||||||
|
|
||||||
asc-key-to-qr-code-gif = callPackage ../tools/security/asc-key-to-qr-code-gif { };
|
asc-key-to-qr-code-gif = callPackage ../tools/security/asc-key-to-qr-code-gif { };
|
||||||
|
|
||||||
go-audit = callPackage ../tools/system/go-audit { };
|
go-audit = callPackage ../tools/system/go-audit { };
|
||||||
@ -6117,6 +6121,8 @@ in
|
|||||||
|
|
||||||
libnixxml = callPackage ../development/libraries/libnixxml { };
|
libnixxml = callPackage ../development/libraries/libnixxml { };
|
||||||
|
|
||||||
|
libplctag = callPackage ../development/libraries/libplctag { };
|
||||||
|
|
||||||
libpointmatcher = callPackage ../development/libraries/libpointmatcher { };
|
libpointmatcher = callPackage ../development/libraries/libpointmatcher { };
|
||||||
|
|
||||||
libportal = callPackage ../development/libraries/libportal { };
|
libportal = callPackage ../development/libraries/libportal { };
|
||||||
|
Loading…
Reference in New Issue
Block a user