commit
2d104c99a7
@ -0,0 +1,66 @@ |
||||
{ lib, stdenv, fetchurl, copyDesktopItems, makeDesktopItem, unzip, jre8 }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "jquake"; |
||||
version = "1.6.1"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://fleneindre.github.io/downloads/JQuake_${version}_linux.zip"; |
||||
sha256 = "0nw6xjc3i1b8rk15arc5d0ji2bycc40rz044qd03vzxvh0h8yvgl"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ unzip copyDesktopItems ]; |
||||
|
||||
sourceRoot = "."; |
||||
|
||||
postPatch = '' |
||||
# JQuake emits a lot of debug-like messages in console, but I |
||||
# don't think it's in our interest to void them by default. Log them at |
||||
# the appropriate level. |
||||
sed -i "/^java/ s/$/\ | logger -p user.debug/" JQuake.sh |
||||
|
||||
# By default, an 'errors.log' file is created in the current directory. |
||||
# cd into a temporary directory and let it be created there. |
||||
substituteInPlace JQuake.sh \ |
||||
--replace "java -jar " "exec ${jre8.outPath}/bin/java -jar $out/lib/" \ |
||||
--replace "[JAR FOLDER]" "\$(mktemp -p /tmp -d jquake-errlog-XXX)" |
||||
''; |
||||
|
||||
dontConfigure = true; |
||||
dontBuild = true; |
||||
|
||||
installPhase = '' |
||||
runHook preInstall |
||||
|
||||
chmod +x JQuake.sh |
||||
|
||||
mkdir -p $out/{bin,lib} |
||||
mv JQuake.sh $out/bin/JQuake |
||||
mv {JQuake.jar,JQuake_lib} $out/lib |
||||
mv sounds $out/lib |
||||
|
||||
mkdir -p $out/share/licenses/jquake |
||||
mv LICENSE* $out/share/licenses/jquake |
||||
|
||||
runHook postInstall |
||||
''; |
||||
|
||||
desktopItems = [ |
||||
(makeDesktopItem { |
||||
name = "JQuake"; |
||||
desktopName = "JQuake"; |
||||
exec = "JQuake"; |
||||
comment = "Real-time earthquake map of Japan"; |
||||
}) |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Real-time earthquake map of Japan"; |
||||
homepage = "http://jquake.net"; |
||||
downloadPage = "https://jquake.net/?down"; |
||||
changelog = "https://jquake.net/?docu"; |
||||
maintainers = with maintainers; [ nessdoor ]; |
||||
license = licenses.unfree; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
@ -0,0 +1,62 @@ |
||||
{ mkDerivation |
||||
, lib |
||||
, fetchFromGitLab |
||||
, cmake |
||||
, extra-cmake-modules |
||||
, pkg-config |
||||
, qtquickcontrols2 |
||||
, qtmultimedia |
||||
, qtlocation |
||||
, qqc2-desktop-style |
||||
, kirigami2 |
||||
, knotifications |
||||
, zxing-cpp |
||||
, qxmpp |
||||
, gst_all_1 |
||||
}: |
||||
|
||||
mkDerivation rec { |
||||
pname = "kaidan"; |
||||
version = "0.8.0"; |
||||
|
||||
src = fetchFromGitLab { |
||||
domain = "invent.kde.org"; |
||||
owner = "network"; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
sha256 = "070njci5zyzahmz3nqyp660chxnqx1mxp31w17syfllvrw403qmg"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ]; |
||||
|
||||
buildInputs = with gst_all_1; [ |
||||
qtquickcontrols2 |
||||
qtmultimedia |
||||
qtlocation |
||||
qqc2-desktop-style |
||||
kirigami2 |
||||
knotifications |
||||
zxing-cpp |
||||
qxmpp |
||||
gstreamer |
||||
gst-plugins-bad |
||||
gst-plugins-base |
||||
gst-plugins-good |
||||
]; |
||||
postInstall = '' |
||||
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0") |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "User-friendly and modern chat app, using XMPP"; |
||||
homepage = "https://www.kaidan.im"; |
||||
license = with licenses; [ |
||||
gpl3Plus |
||||
mit |
||||
asl20 |
||||
cc-by-sa-40 |
||||
]; |
||||
maintainers = with maintainers; [ astro ]; |
||||
platforms = with platforms; linux; |
||||
}; |
||||
} |
@ -0,0 +1,61 @@ |
||||
{ stdenv |
||||
, lib |
||||
, fetchFromGitHub |
||||
, perl |
||||
, boost |
||||
, rdkafka |
||||
, jansson |
||||
, curl |
||||
, avro-c |
||||
, avro-cpp }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "libserdes"; |
||||
version = "6.2.0"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "confluentinc"; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
sha256 = "194ras18xw5fcnjgg1isnb24ydx9040ndciniwcbdb7w7wd901gc"; |
||||
}; |
||||
|
||||
outputs = [ "dev" "out" ]; |
||||
|
||||
nativeBuildInputs = [ perl ]; |
||||
|
||||
buildInputs = [ boost rdkafka jansson curl avro-c avro-cpp ]; |
||||
|
||||
makeFlags = [ "GEN_PKG_CONFIG=y" ]; |
||||
|
||||
postPatch = '' |
||||
patchShebangs configure lds-gen.pl |
||||
''; |
||||
|
||||
# Has a configure script but it’s not Autoconf so steal some bits from multiple-outputs.sh: |
||||
setOutputFlags = false; |
||||
|
||||
preConfigure = '' |
||||
configureFlagsArray+=( |
||||
"--libdir=''${!outputLib}/lib" |
||||
"--includedir=''${!outputInclude}/include" |
||||
) |
||||
''; |
||||
|
||||
preInstall = '' |
||||
installFlagsArray+=("pkgconfigdir=''${!outputDev}/lib/pkgconfig") |
||||
''; |
||||
|
||||
# Header files get installed with executable bit for some reason; get rid of it. |
||||
postInstall = '' |
||||
chmod -x ''${!outputInclude}/include/libserdes/*.h |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
description = "A schema-based serializer/deserializer C/C++ library with support for Avro and the Confluent Platform Schema Registry"; |
||||
homepage = "https://github.com/confluentinc/libserdes"; |
||||
license = licenses.asl20; |
||||
maintainers = with maintainers; [ liff ]; |
||||
platforms = platforms.all; |
||||
}; |
||||
} |
@ -0,0 +1,46 @@ |
||||
{ mkDerivation |
||||
, lib |
||||
, fetchFromGitHub |
||||
, cmake |
||||
, pkg-config |
||||
, withGstreamer ? true |
||||
, gst_all_1 |
||||
}: |
||||
|
||||
mkDerivation rec { |
||||
pname = "qxmpp"; |
||||
version = "1.4.0"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "qxmpp-project"; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
sha256 = "1knpq1jkwk0lxdwczbmzf7qrjvlxba9yr40nbq9s5nqkcx6q1c3i"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
cmake |
||||
] ++ lib.optionals withGstreamer [ |
||||
pkg-config |
||||
]; |
||||
buildInputs = lib.optionals withGstreamer (with gst_all_1; [ |
||||
gstreamer |
||||
gst-plugins-bad |
||||
gst-plugins-base |
||||
gst-plugins-good |
||||
]); |
||||
cmakeFlags = [ |
||||
"-DBUILD_EXAMPLES=false" |
||||
"-DBUILD_TESTS=false" |
||||
] ++ lib.optionals withGstreamer [ |
||||
"-DWITH_GSTREAMER=ON" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Cross-platform C++ XMPP client and server library"; |
||||
homepage = "https://github.com/qxmpp-project/qxmpp"; |
||||
license = licenses.lgpl21Plus; |
||||
maintainers = with maintainers; [ astro ]; |
||||
platforms = with platforms; linux; |
||||
}; |
||||
} |
@ -0,0 +1,11 @@ |
||||
{ re, reason, pastel, ... }: |
||||
|
||||
{ |
||||
pname = "cli"; |
||||
|
||||
buildInputs = [ |
||||
re |
||||
reason |
||||
pastel |
||||
]; |
||||
} |
@ -0,0 +1,21 @@ |
||||
{ buildDunePackage, callPackage, reason, console, ... }: |
||||
|
||||
{ |
||||
pname = "console"; |
||||
|
||||
buildInputs = [ |
||||
reason |
||||
]; |
||||
|
||||
passthru.tests = { |
||||
console = callPackage ./tests/console { |
||||
inherit buildDunePackage reason console; |
||||
}; |
||||
}; |
||||
|
||||
meta = { |
||||
description = "A library providing a web-influenced polymorphic console API for native Console.log(anything) with runtime printing"; |
||||
downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/console"; |
||||
homepage = "https://reason-native.com/docs/console/"; |
||||
}; |
||||
} |
@ -0,0 +1,43 @@ |
||||
{ newScope, lib, fetchFromGitHub, callPackage, buildDunePackage, atdgen, junit, qcheck-core, re, reason, reason-native }: |
||||
|
||||
let |
||||
generic = (somePath: |
||||
let |
||||
prepkg = import somePath { |
||||
inherit callPackage cli buildDunePackage atdgen junit qcheck-core re reason; |
||||
inherit (reason-native) console file-context-printer fp pastel rely; |
||||
}; |
||||
in |
||||
buildDunePackage |
||||
({ |
||||
version = "2021-16-16-aec0ac6"; |
||||
src = fetchFromGitHub { |
||||
owner = "reasonml"; |
||||
repo = "reason-native"; |
||||
rev = "aec0ac681be7211b4d092262281689c46deb63e1"; |
||||
sha256 = "sha256-QoyI50MBY3RJBmM1y90n7oXrLmHe0CQxKojv+7YbegE="; |
||||
}; |
||||
useDune2 = true; |
||||
meta = with lib; { |
||||
description = "Libraries for building and testing native Reason programs"; |
||||
downloadPage = "https://github.com/reasonml/reason-native"; |
||||
homepage = "https://reason-native.com/"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ superherointj ]; |
||||
} // (prepkg.meta or {}); |
||||
} // prepkg) |
||||
); |
||||
cli = generic ./cli.nix; # Used only by Rely. |
||||
in |
||||
lib.makeScope newScope (self: with self; { |
||||
console = generic ./console.nix; |
||||
dir = generic ./dir.nix; |
||||
file-context-printer = generic ./file-context-printer.nix; |
||||
fp = generic ./fp.nix; |
||||
pastel = generic ./pastel.nix; |
||||
pastel-console = generic ./pastel-console.nix; |
||||
qcheck-rely = generic ./qcheck-rely.nix; |
||||
refmterr = generic ./refmterr.nix; |
||||
rely = generic ./rely.nix; |
||||
rely-junit-reporter = generic ./rely-junit-reporter.nix; |
||||
}) |
@ -0,0 +1,18 @@ |
||||
{ reason, fp, ... }: |
||||
|
||||
{ |
||||
pname = "dir"; |
||||
|
||||
buildInputs = [ |
||||
reason |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
fp |
||||
]; |
||||
|
||||
meta = { |
||||
description = "A library that provides a consistent API for common system, user and application directories consistently on all platforms"; |
||||
downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/dir"; |
||||
}; |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ reason, re, pastel, ... }: |
||||
|
||||
{ |
||||
pname = "file-context-printer"; |
||||
|
||||
buildInputs = [ |
||||
reason |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
re |
||||
pastel |
||||
]; |
||||
|
||||
meta = { |
||||
description = "Utility for displaying snippets of files on the command line"; |
||||
downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/file-context-printer"; |
||||
homepage = "https://reason-native.com/docs/file-context-printer/"; |
||||
}; |
||||
} |
@ -0,0 +1,14 @@ |
||||
{ reason, ... }: |
||||
|
||||
{ |
||||
pname = "fp"; |
||||
|
||||
buildInputs = [ |
||||
reason |
||||
]; |
||||
|
||||
meta = { |
||||
description = "A library for creating and operating on file paths consistently on multiple platforms"; |
||||
downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/fp"; |
||||
}; |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ reason, console, pastel, ... }: |
||||
|
||||
{ |
||||
pname = "pastel-console"; |
||||
|
||||
buildInputs = [ |
||||
reason |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
console |
||||
pastel |
||||
]; |
||||
|
||||
meta = { |
||||
description = "Small library for pretty coloring to Console output"; |
||||
downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/pastel-console"; |
||||
homepage = "https://reason-native.com/docs/pastel/console"; |
||||
}; |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ reason, re, ... }: |
||||
|
||||
{ |
||||
pname = "pastel"; |
||||
|
||||
minimalOCamlVersion = "4.05"; |
||||
|
||||
buildInputs = [ |
||||
reason |
||||
]; |
||||
propagatedBuildInputs = [ |
||||
re |
||||
]; |
||||
|
||||
meta = { |
||||
description = "A text formatting library that harnesses Reason JSX to provide intuitive terminal output. Like React but for CLI"; |
||||
downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/pastel"; |
||||
homepage = "https://reason-native.com/docs/pastel/"; |
||||
}; |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ qcheck-core, reason, console, rely, ... }: |
||||
|
||||
{ |
||||
pname = "qcheck-rely"; |
||||
|
||||
buildInputs = [ |
||||
reason |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
qcheck-core |
||||
console |
||||
rely |
||||
]; |
||||
|
||||
meta = { |
||||
description = "A library containing custom Rely matchers allowing for easily using QCheck with Rely. QCheck is a 'QuickCheck inspired property-based testing for OCaml, and combinators to generate random values to run tests on'"; |
||||
downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/qcheck-rely"; |
||||
}; |
||||
} |
@ -0,0 +1,21 @@ |
||||
{ atdgen, re, reason, pastel, ... }: |
||||
|
||||
{ |
||||
pname = "refmterr"; |
||||
|
||||
buildInputs = [ |
||||
reason |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
atdgen |
||||
re |
||||
pastel |
||||
]; |
||||
|
||||
meta = { |
||||
description = "An error formatter tool for Reason and OCaml. Takes raw error output from compiler and converts to pretty output"; |
||||
downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/refmterr"; |
||||
homepage = "https://reason-native.com/docs/refmterr/"; |
||||
}; |
||||
} |
@ -0,0 +1,23 @@ |
||||
{ atdgen, junit, re, reason, pastel, rely, ... }: |
||||
|
||||
{ |
||||
pname = "rely-junit-reporter"; |
||||
|
||||
buildInputs = [ |
||||
atdgen |
||||
reason |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
junit |
||||
re |
||||
pastel |
||||
rely |
||||
]; |
||||
|
||||
meta = { |
||||
description = "A tool providing JUnit Reporter for Rely Testing Framework"; |
||||
downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/rely-junit-reporter"; |
||||
homepage = "https://reason-native.com/docs/rely/"; |
||||
}; |
||||
} |
@ -0,0 +1,22 @@ |
||||
{ re, reason, cli, file-context-printer, pastel, ... }: |
||||
|
||||
{ |
||||
pname = "rely"; |
||||
|
||||
buildInputs = [ |
||||
reason |
||||
]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
re |
||||
cli |
||||
file-context-printer |
||||
pastel |
||||
]; |
||||
|
||||
meta = { |
||||
description = "A Jest-inspired testing framework for native OCaml/Reason"; |
||||
downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/rely"; |
||||
homepage = "https://reason-native.com/docs/rely/"; |
||||
}; |
||||
} |
@ -0,0 +1 @@ |
||||
Console.log(Some("Hello fellow Nixer!")); /* {"Hello fellow Nixer!"} */ |
@ -0,0 +1,20 @@ |
||||
{ lib, buildDunePackage, reason, console }: |
||||
|
||||
buildDunePackage rec { |
||||
pname = "console-test"; |
||||
version = "1"; |
||||
|
||||
src = ./.; |
||||
|
||||
useDune2 = true; |
||||
|
||||
buildInputs = [ |
||||
reason |
||||
console |
||||
]; |
||||
|
||||
doInstallCheck = true; |
||||
postInstallCheck = '' |
||||
$out/bin/console-test | grep -q "{\"Hello fellow Nixer!\"}" > /dev/null |
||||
''; |
||||
} |
@ -0,0 +1,4 @@ |
||||
(executable |
||||
(name console-test) |
||||
(public_name console-test) |
||||
(libraries reason console.lib)) |
@ -0,0 +1,51 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, pythonOlder |
||||
, fetchFromGitHub |
||||
, aiohttp |
||||
, attrs |
||||
, defusedxml |
||||
, pytest-aiohttp |
||||
, pytest-mock |
||||
, pytestCheckHook |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "arcam-fmj"; |
||||
version = "0.7.0"; |
||||
|
||||
disabled = pythonOlder "3.8"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "elupus"; |
||||
repo = "arcam_fmj"; |
||||
rev = version; |
||||
sha256 = "0y4wvvbcsizjd9qz6iw4gjhq5qf0qcqs27hpx1cd90vhy6rclxm0"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
aiohttp |
||||
attrs |
||||
defusedxml |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
pytest-aiohttp |
||||
pytest-mock |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
pythonImportsCheck = [ |
||||
"arcam.fmj" |
||||
"arcam.fmj.client" |
||||
"arcam.fmj.state" |
||||
"arcam.fmj.utils" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Python library for speaking to Arcam receivers"; |
||||
homepage = "https://github.com/elupus/arcam_fmj"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ dotlambda ]; |
||||
}; |
||||
} |
@ -0,0 +1,43 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, pythonOlder |
||||
, fetchFromGitHub |
||||
, pbr |
||||
, requests |
||||
, pytestCheckHook |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "bimmer-connected"; |
||||
version = "0.7.15"; |
||||
|
||||
disabled = pythonOlder "3.5"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "bimmerconnected"; |
||||
repo = "bimmer_connected"; |
||||
rev = version; |
||||
sha256 = "193m16rrq7mfvzjcq823icdr9fp3i8grqqn3ci8zhcsq6w3vnb90"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
pbr |
||||
]; |
||||
|
||||
PBR_VERSION = version; |
||||
|
||||
propagatedBuildInputs = [ |
||||
requests |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Library to read data from the BMW Connected Drive portal"; |
||||
homepage = "https://github.com/bimmerconnected/bimmer_connected"; |
||||
license = licenses.asl20; |
||||
maintainers = with maintainers; [ dotlambda ]; |
||||
}; |
||||
} |
@ -0,0 +1,33 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchFromGitHub |
||||
, pillow |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "colorthief"; |
||||
version = "0.2.1"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "fengsp"; |
||||
repo = "color-thief-py"; |
||||
rev = version; |
||||
sha256 = "0lzpflal1iqbj4k7hayss5z024qf2sn8c3wxw03a0mgxg06ca2hm"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
pillow |
||||
]; |
||||
|
||||
# no tests implemented |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ "colorthief" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Python module for grabbing the color palette from an image"; |
||||
homepage = "https://github.com/fengsp/color-thief-py"; |
||||
license = licenses.bsd3; |
||||
maintainers = with maintainers; [ dotlambda ]; |
||||
}; |
||||
} |
@ -0,0 +1,36 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, pythonOlder |
||||
, fetchPypi |
||||
, aiohttp |
||||
, ratelimit |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "goalzero"; |
||||
version = "0.1.7"; |
||||
|
||||
disabled = pythonOlder "3.6"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "1f6a2755a745ea14e65d6bf3e56bd090a508bf6f63ccb76b9b89ce3d844a2160"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
aiohttp |
||||
ratelimit |
||||
]; |
||||
|
||||
# no tests implemented |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ "goalzero" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Goal Zero Yeti REST Api Library"; |
||||
homepage = "https://github.com/tkdrob/goalzero"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ dotlambda ]; |
||||
}; |
||||
} |
@ -0,0 +1,26 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchPypi |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "libpyfoscam"; |
||||
version = "1.1"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "c274cafd2c6493ab397fe9f0f8aae0b2c35c7c661fe76dde3bd2f1cd56b8fc32"; |
||||
}; |
||||
|
||||
# tests need access to a camera |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ "libpyfoscam" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Python Library for Foscam IP Cameras"; |
||||
homepage = "https://github.com/viswa-swami/python-foscam"; |
||||
license = licenses.lgpl3Plus; |
||||
maintainers = with maintainers; [ dotlambda ]; |
||||
}; |
||||
} |
@ -0,0 +1,43 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, pythonOlder |
||||
, fetchFromGitHub |
||||
, aiohttp |
||||
, xmltodict |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "pycontrol4"; |
||||
version = "0.1.0"; |
||||
|
||||
disabled = pythonOlder "3.6"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "lawtancool"; |
||||
repo = "pyControl4"; |
||||
rev = "v${version}"; |
||||
sha256 = "0idw9kv6yxrbp0r33vb1jlzgil20m2rjjfrxhcwxmbjjqv93zn6d"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
aiohttp |
||||
xmltodict |
||||
]; |
||||
|
||||
# tests access network |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ |
||||
"pyControl4.account" |
||||
"pyControl4.alarm" |
||||
"pyControl4.director" |
||||
"pyControl4.light" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Python 3 asyncio package for interacting with Control4 systems"; |
||||
homepage = "https://github.com/lawtancool/pyControl4"; |
||||
license = licenses.asl20; |
||||
maintainers = with maintainers; [ dotlambda ]; |
||||
}; |
||||
} |
@ -0,0 +1,31 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, pythonOlder |
||||
, fetchFromGitHub |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "pycoolmasternet-async"; |
||||
version = "0.1.2"; |
||||
|
||||
disabled = pythonOlder "3.7"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "OnFreund"; |
||||
repo = "pycoolmasternet-async"; |
||||
rev = "v${version}"; |
||||
sha256 = "0qzdk18iqrvin8p8zrydf69d6pii3j47j11h7ymmsx08gh7c176g"; |
||||
}; |
||||
|
||||
# no tests implemented |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ "pycoolmasternet_async" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Python library to control CoolMasterNet HVAC bridges over asyncio"; |
||||
homepage = "https://github.com/OnFreund/pycoolmasternet-async"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ dotlambda ]; |
||||
}; |
||||
} |
@ -0,0 +1,30 @@ |
||||
{ buildGoModule |
||||
, fetchFromGitHub |
||||
, lib |
||||
}: |
||||
buildGoModule rec { |
||||
pname = "litestream"; |
||||
version = "0.3.5"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "benbjohnson"; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-OQ8j0FOUWU5TfCl4AZpmX5tuhtHAbrhvzT6ve6AJNn0="; |
||||
}; |
||||
|
||||
ldflags = [ |
||||
"-s" |
||||
"-w" |
||||
"-X main.Version=${version}" |
||||
]; |
||||
|
||||
vendorSha256 = "sha256-ScG8cukUuChOvN9r0HvVJsYnu1X9DSO7aD32iu55jIM="; |
||||
|
||||
meta = with lib; { |
||||
description = "Streaming replication for SQLite"; |
||||
license = licenses.asl20; |
||||
homepage = "https://litestream.io/"; |
||||
maintainers = with maintainers; [ fbrs ]; |
||||
}; |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,11 @@ |
||||
--- a/hdf/src/hdfi.h 2021-06-16 16:31:31.000000000 +1200
|
||||
+++ b/hdf/src/hdfi.h 2021-06-16 16:42:26.000000000 +1200
|
||||
@@ -1343,7 +1343,7 @@
|
||||
#endif /* IA64 */
|
||||
|
||||
/* Linux AArch64 */
|
||||
-#if defined __aarch64__
|
||||
+#if defined __aarch64__ && !defined __APPLE__
|
||||
|
||||
#ifdef GOT_MACHINE
|
||||
If you get an error on this line more than one machine type has been defined.
|
Loading…
Reference in new issue