Merge master into staging-next
This commit is contained in:
commit
d247d74ff9
10 changed files with 135 additions and 28 deletions
|
@ -244,7 +244,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
meta.maintainers = with lib.maintainters; [ mic92 kwohlfahrt ];
|
||||
meta.maintainers = with lib.maintainers; [ mic92 kwohlfahrt ];
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
assertions = map (opt: {
|
||||
|
|
43
pkgs/development/python-modules/hydrawiser/default.nix
Normal file
43
pkgs/development/python-modules/hydrawiser/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytest-cov
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, requests
|
||||
, requests-mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hydrawiser";
|
||||
version = "0.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ptcryan";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "161hazlpvd71xcl2ja86560wm5lnrjv210ki3ji37l6c6gwmhjdj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
checkInputs = [
|
||||
pytest-asyncio
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
requests
|
||||
requests-mock
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "hydrawiser" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for Hydrawise API";
|
||||
homepage = "https://github.com/ptcryan/hydrawiser";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
38
pkgs/development/python-modules/icmplib/default.nix
Normal file
38
pkgs/development/python-modules/icmplib/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pbr
|
||||
, pythonOlder
|
||||
, requests
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "icmplib";
|
||||
version = "2.0.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ValentinBELYN";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0vps4iz87f8l0z3va92srsx5v19nnd65c22hvbgvhag3vhqsxg7h";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pbr
|
||||
six
|
||||
requests
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "icmplib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of the ICMP protocol";
|
||||
homepage = "https://github.com/ValentinBELYN/icmplib";
|
||||
license = with licenses; [ lgpl3Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
28
pkgs/development/python-modules/poolsense/default.nix
Normal file
28
pkgs/development/python-modules/poolsense/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "poolsense";
|
||||
version = "0.0.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "poolsense" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to access PoolSense device";
|
||||
homepage = "https://github.com/haemishkyd/poolsense";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -56,11 +56,6 @@ let
|
|||
# radare 3.3 compat for radare2-cutter
|
||||
(cd shlr && ln -s ../capstone-${cs_ver} capstone)
|
||||
tar -czvf shlr/capstone-${cs_ver}.tar.gz capstone-${cs_ver}
|
||||
# necessary because they broke the offline-build:
|
||||
# https://github.com/radare/radare2/commit/6290e4ff4cc167e1f2c28ab924e9b99783fb1b38#diff-a44d840c10f1f1feaf401917ae4ccd54R258
|
||||
# https://github.com/radare/radare2/issues/13087#issuecomment-465159716
|
||||
curl() { true; }
|
||||
export -f curl
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
|
|
@ -94,12 +94,12 @@ rec {
|
|||
headers = "116h3b02da18w5mqgw6adgbzc9l02vl3c62syw4wsy6xww6i0mgr";
|
||||
};
|
||||
|
||||
electron_11 = mkElectron "11.1.0" {
|
||||
x86_64-linux = "64f9c0864a12a9e0a435b967ed63209a9bb447456aafe8660edaaa2f6517c538";
|
||||
x86_64-darwin = "827b0b3e562535de25d3e4d2c4d7529338efae9197e8cf6702dda786b5870bd0";
|
||||
i686-linux = "aa424de2c480d0deb26aa53dc45622857521cb9876cf29a52d32a4da66cae3c6";
|
||||
armv7l-linux = "375bbea1ecf521ab95760052df5e0ad167e41f61cc79c7c441553ecc2f64d1dd";
|
||||
aarch64-linux = "caaf1f9a2e62c9dbbcb777e5c64640d8a1f60a0f5791a2c8f62ab44067c88777";
|
||||
headers = "1kafrz2rxryv7psgfn20qrkpcn83hi9fz7df2ra1nzkngfj7xdjr";
|
||||
electron_11 = mkElectron "11.2.0" {
|
||||
x86_64-linux = "a2ed11a5ec9ad10302053e5e2bdf2abf0f9bac521e4f80a377308bffe8c24c00";
|
||||
x86_64-darwin = "c8485cc6cb754bccfb1a01db93f5f0f1ee1ed3017551f3d25a1191c7c7aea654";
|
||||
i686-linux = "508b9276f97c66418e530cbfa584701d4b0a42825fb2519b21ff161db1dc121f";
|
||||
armv7l-linux = "edf1ad6606eab5efc1c9a33ce16489dae1df21ce6e69166f4c8da27ca6fde2ca";
|
||||
aarch64-linux = "ed8e318ce0ba92058efdc667790bcbfce1c7f888f9d94038c1c76ed8678158fc";
|
||||
headers = "0mwv9vm2km6sawyds87fzy7m4pcmmwl9c2qihs1nc7cwmdz388lv";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -367,7 +367,7 @@
|
|||
"humidifier" = ps: with ps; [ ];
|
||||
"hunterdouglas_powerview" = ps: with ps; [ ]; # missing inputs: aiopvapi
|
||||
"hvv_departures" = ps: with ps; [ ]; # missing inputs: pygti
|
||||
"hydrawise" = ps: with ps; [ ]; # missing inputs: hydrawiser
|
||||
"hydrawise" = ps: with ps; [ hydrawiser ];
|
||||
"hyperion" = ps: with ps; [ ]; # missing inputs: hyperion-py
|
||||
"iammeter" = ps: with ps; [ ]; # missing inputs: iammeter
|
||||
"iaqualink" = ps: with ps; [ ]; # missing inputs: iaqualink
|
||||
|
@ -615,7 +615,7 @@
|
|||
"picotts" = ps: with ps; [ ];
|
||||
"piglow" = ps: with ps; [ ]; # missing inputs: piglow
|
||||
"pilight" = ps: with ps; [ ]; # missing inputs: pilight
|
||||
"ping" = ps: with ps; [ ]; # missing inputs: icmplib
|
||||
"ping" = ps: with ps; [ icmplib ];
|
||||
"pioneer" = ps: with ps; [ ];
|
||||
"pjlink" = ps: with ps; [ ]; # missing inputs: pypjlink2
|
||||
"plaato" = ps: with ps; [ aiohttp-cors ];
|
||||
|
@ -625,7 +625,7 @@
|
|||
"plum_lightpad" = ps: with ps; [ ]; # missing inputs: plumlightpad
|
||||
"pocketcasts" = ps: with ps; [ ]; # missing inputs: pycketcasts
|
||||
"point" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pypoint
|
||||
"poolsense" = ps: with ps; [ ]; # missing inputs: poolsense
|
||||
"poolsense" = ps: with ps; [ poolsense ];
|
||||
"powerwall" = ps: with ps; [ ]; # missing inputs: tesla-powerwall
|
||||
"profiler" = ps: with ps; [ objgraph pyprof2calltree ]; # missing inputs: guppy3
|
||||
"progettihwsw" = ps: with ps; [ ]; # missing inputs: progettihwsw
|
||||
|
|
|
@ -12,19 +12,16 @@ stdenv.mkDerivation rec {
|
|||
enableParallelBuilding = true;
|
||||
|
||||
installPhase = ''
|
||||
# install darkhttpd
|
||||
install -Dm755 "darkhttpd" "$out/bin/darkhttpd"
|
||||
|
||||
# install license
|
||||
install -d "$out/share/licenses/darkhttpd"
|
||||
head -n 18 darkhttpd.c > "$out/share/licenses/darkhttpd/LICENSE"
|
||||
install -Dm555 -t $out/bin darkhttpd
|
||||
install -Dm444 -t $out/share/doc/${pname} README
|
||||
head -n 18 darkhttpd.c > $out/share/doc/${pname}/LICENSE
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Small and secure static webserver";
|
||||
homepage = "https://unix4lyfe.org/darkhttpd/";
|
||||
license = licenses.bsd3;
|
||||
homepage = "https://unix4lyfe.org/darkhttpd/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bobvanderlinden ];
|
||||
platforms = platforms.all;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -15,16 +15,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nushell";
|
||||
version = "0.24.1";
|
||||
version = "0.25.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0nza860gg9lnkld9c7is93fmfxl9yay8yf2f18h16cgjk3n686kd";
|
||||
sha256 = "0wsl57i3cd9whqvgjdnbz05230mkn2174gqld7mzn9iiym1rkcm4";
|
||||
};
|
||||
|
||||
cargoSha256 = "1mb6ws2zw089cx475c1vpvvxkzi8by6wmw4frans5lbl3a2lldl0";
|
||||
cargoSha256 = "1ifvfwmrl97skjwp1qwrj863npsxcgfqm4a81cvw9bqhbylbjc77";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ]
|
||||
++ lib.optionals (withStableFeatures && stdenv.isLinux) [ python3 ];
|
||||
|
|
|
@ -2954,6 +2954,8 @@ in {
|
|||
|
||||
hydra-check = callPackage ../development/python-modules/hydra-check { };
|
||||
|
||||
hydrawiser = callPackage ../development/python-modules/hydrawiser { };
|
||||
|
||||
hypchat = callPackage ../development/python-modules/hypchat { };
|
||||
|
||||
hyperframe = callPackage ../development/python-modules/hyperframe { };
|
||||
|
@ -2987,6 +2989,8 @@ in {
|
|||
|
||||
icecream = callPackage ../development/python-modules/icecream { };
|
||||
|
||||
icmplib = callPackage ../development/python-modules/icmplib { };
|
||||
|
||||
ics = callPackage ../development/python-modules/ics { };
|
||||
|
||||
identify = callPackage ../development/python-modules/identify { };
|
||||
|
@ -4866,6 +4870,8 @@ in {
|
|||
|
||||
pooch = callPackage ../development/python-modules/pooch { };
|
||||
|
||||
poolsense = callPackage ../development/python-modules/poolsense { };
|
||||
|
||||
poppler-qt5 = callPackage ../development/python-modules/poppler-qt5 {
|
||||
inherit (pkgs.qt5) qtbase;
|
||||
inherit (pkgs.libsForQt5) poppler;
|
||||
|
|
Loading…
Reference in a new issue