Merge branch 'staging-next' into staging
This commit is contained in:
@@ -26,5 +26,6 @@ stdenv.mkDerivation {
|
||||
homepage = "https://gitlab.com/somasis/scripts/";
|
||||
maintainers = [ maintainers.ar1a ];
|
||||
license = licenses.unlicense;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
{ lib, fetchFromGitHub, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "blflash";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spacemeowx2";
|
||||
repo = "blflash";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-+2ncK1ibtQwlBREw4Yiqj4vFvAcZqjkoTBtBdAAUoRg=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-tt9jfcoEw/HQ0/qU4lhbqKtIw/lthDTcyf/3HYQNPEY=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "An bl602 serial flasher written in Rust";
|
||||
homepage = "https://github.com/spacemeowx2/blflash";
|
||||
license = with licenses; [ mit asl20 ];
|
||||
maintainers = with maintainers; [ _0x4A6F ];
|
||||
};
|
||||
}
|
||||
@@ -1,17 +1,16 @@
|
||||
{ lib, python3Packages, fetchFromGitHub }:
|
||||
|
||||
python3Packages.buildPythonApplication {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "broadlink-cli";
|
||||
inherit (python3Packages.broadlink) version;
|
||||
version = "0.16.0";
|
||||
|
||||
# the tools are available as part of the source distribution from GH but
|
||||
# not pypi, so we have to fetch them here.
|
||||
src = fetchFromGitHub {
|
||||
owner = "mjg59";
|
||||
repo = "python-broadlink";
|
||||
# this rev is version 0.15.0
|
||||
rev = "99add9e6feea6e47be4f3a58783556d7838b759c";
|
||||
sha256 = "1q1q62brvfjcb18i0j4ca5cxqzjwv1iywdrdby0yjqa4wm6ywq6b";
|
||||
rev = version;
|
||||
sha256 = "sha256-fdwy58AopAcDp18APzvYionEbrKfTlH/yFpT1gG5iDs=";
|
||||
};
|
||||
|
||||
format = "other";
|
||||
@@ -23,8 +22,8 @@ python3Packages.buildPythonApplication {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 -t $out/bin cli/broadlink_{cli,discovery}
|
||||
install -Dm644 -t $out/share/doc/broadlink cli/README.md
|
||||
install -Dm555 -t $out/bin cli/broadlink_{cli,discovery}
|
||||
install -Dm444 -t $out/share/doc/broadlink cli/README.md
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib, fetchurl, boost, cmake, extra-cmake-modules, kparts, kpmcore
|
||||
, kservice, libatasmart, libxcb, libyamlcpp, parted, polkit-qt, python, qtbase
|
||||
, qtquickcontrols, qtsvg, qttools, qtwebengine, util-linux, glibc, tzdata
|
||||
, qtquickcontrols, qtsvg, qttools, qtwebengine, util-linux, tzdata
|
||||
, ckbcomp, xkeyboard_config, mkDerivation
|
||||
}:
|
||||
|
||||
@@ -21,8 +21,6 @@ mkDerivation rec {
|
||||
qtquickcontrols qtsvg qttools qtwebengine.dev util-linux
|
||||
];
|
||||
|
||||
enableParallelBuilding = false;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DPYTHON_LIBRARY=${python}/lib/lib${python.libPrefix}.so"
|
||||
"-DPYTHON_INCLUDE_DIR=${python}/include/${python.libPrefix}"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchurl, makeWrapper
|
||||
, gawk, gnused, util-linux, file
|
||||
, wget, python3, qemu-utils, euca2ools
|
||||
, wget, python3, qemu-utils
|
||||
, e2fsprogs, cdrkit
|
||||
, gptfdisk }:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ let
|
||||
description = "Various coreboot-related tools";
|
||||
homepage = "https://www.coreboot.org";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.petabyteboy ];
|
||||
maintainers = with maintainers; [ petabyteboy felixsinger ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,43 +1,34 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, rustPlatform, cmake, perl, pkg-config, zlib
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, cmake, pandoc, pkg-config, zlib
|
||||
, Security, libiconv, installShellFiles
|
||||
}:
|
||||
|
||||
with rustPlatform;
|
||||
|
||||
buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "exa";
|
||||
version = "0.9.0";
|
||||
version = "unstable-2021-01-14";
|
||||
|
||||
cargoSha256 = "0nl106jlbr8gnnlbi20mrc6zyww7vxgmw6w34ibndxqh9ggxwfvr";
|
||||
cargoSha256 = "1lmjh0grpnx20y6raxnxgjkr92h395r6jk8mm2ypc4cxpxczdqvl";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ogham";
|
||||
repo = "exa";
|
||||
rev = "v${version}";
|
||||
sha256 = "14qlm9zb9v22hxbbi833xaq2b7qsxnmh15s317200vz5f1305hhw";
|
||||
repo = pname;
|
||||
rev = "13b91cced4cab012413b25c9d3e30c63548639d0";
|
||||
sha256 = "18y4v1s102lh3gvgjwdd66qlsr75wpwpcj8zsk5y5r95a405dkfm";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# https://github.com/ogham/exa/pull/584
|
||||
name = "fix-panic-on-broken-symlink-in-git-repository.patch";
|
||||
url = "https://github.com/ogham/exa/pull/584/commits/a7a8e99cf3a15992afb2383435da0231917ffb54.patch";
|
||||
sha256 = "0n5q483sz300jkp0sbb350hdinmkw7s6bmigdyr6ypz3fvygd9hx";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config perl installShellFiles ];
|
||||
nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ];
|
||||
buildInputs = [ zlib ]
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage contrib/man/exa.1
|
||||
pandoc --standalone -f markdown -t man man/exa.1.md > man/exa.1
|
||||
pandoc --standalone -f markdown -t man man/exa_colors.5.md > man/exa_colors.5
|
||||
installManPage man/exa.1 man/exa_colors.5
|
||||
installShellCompletion \
|
||||
--name exa contrib/completions.bash \
|
||||
--name exa.fish contrib/completions.fish \
|
||||
--name _exa contrib/completions.zsh
|
||||
--name exa completions/completions.bash \
|
||||
--name exa.fish completions/completions.fish \
|
||||
--name _exa completions/completions.zsh
|
||||
'';
|
||||
|
||||
# Some tests fail, but Travis ensures a proper build
|
||||
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
homepage = "http://www.lichteblau.com/ldapvi/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "lifecycled";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "buildkite";
|
||||
repo = "lifecycled";
|
||||
rev = "v${version}";
|
||||
sha256 = "F9eovZpwbigP0AMdjAIxULPLDC3zO6GxQmPdt5Xvpkk=";
|
||||
};
|
||||
|
||||
vendorSha256 = "q5wYKSLHRzL+UGn29kr8+mUupOPR1zohTscbzjMRCS0=";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/systemd/system
|
||||
substitute init/systemd/lifecycled.unit $out/lib/systemd/system/lifecycled.service \
|
||||
--replace /usr/bin/lifecycled $out/bin/lifecycled
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A daemon for responding to AWS AutoScaling Lifecycle Hooks";
|
||||
homepage = "https://github.com/buildkite/lifecycled/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cole-h grahamc ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,6 +12,16 @@ stdenv.mkDerivation rec {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Substitute xrandr path with @xrandr@ so we can replace it with
|
||||
# real path in substituteInPlace
|
||||
./xrandr.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace mons.sh --replace '@xrandr@' '${xrandr}/bin/xrandr'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ help2man ];
|
||||
makeFlags = [
|
||||
"DESTDIR=$(out)"
|
||||
@@ -22,6 +32,6 @@ stdenv.mkDerivation rec {
|
||||
description = "POSIX Shell script to quickly manage 2-monitors display";
|
||||
homepage = "https://github.com/Ventto/mons.git";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.mschneider ];
|
||||
maintainers = with maintainers; [ mschneider thiagokokada ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
diff --git a/mons.sh b/mons.sh
|
||||
index b86ce5c..feb0f33 100755
|
||||
--- a/mons.sh
|
||||
+++ b/mons.sh
|
||||
@@ -151,8 +151,7 @@ main() {
|
||||
# =============================
|
||||
|
||||
[ -z "$DISPLAY" ] && { echo 'DISPLAY: no variable set.'; exit 1; }
|
||||
- command -vp xrandr >/dev/null 2>&1 || { echo 'xrandr: command not found.'; exit 1; }
|
||||
- XRANDR="$(command -pv xrandr)"
|
||||
+ XRANDR="@xrandr@"
|
||||
|
||||
# =============================
|
||||
# Argument Checking
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, gnugrep, nix }:
|
||||
{ lib, stdenv, fetchFromGitHub, gnugrep, nix, nixFlakes }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nix-direnv";
|
||||
@@ -14,9 +14,8 @@ stdenv.mkDerivation rec {
|
||||
# Substitute instead of wrapping because the resulting file is
|
||||
# getting sourced, not executed:
|
||||
postPatch = ''
|
||||
substituteInPlace direnvrc \
|
||||
--replace "\''${NIX_BIN_PREFIX:-}" "\''${NIX_BIN_PREFIX:-${nix}/bin/}" \
|
||||
--replace "grep" "${gnugrep}/bin/grep"
|
||||
sed -i "1a NIX_BIN_PREFIX=${nixFlakes}/bin/" direnvrc
|
||||
substituteInPlace direnvrc --replace "grep" "${gnugrep}/bin/grep"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "topgrade";
|
||||
version = "6.6.0";
|
||||
version = "6.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "r-darwish";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-YMg5HWDvBsYJZCxYrQuQqU4xLY8DORKYkK319pryA5I=";
|
||||
sha256 = "sha256-UikJZFSnkYGGGMm6hrOqs+ax9HwUsZPht9wV79rJBgE=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-G6ToQzPxuKpe1YQ4nLDJLjb3qx8D3VpuigXfdf7RHCQ=";
|
||||
cargoSha256 = "sha256-8MvXpJVwiIThwq8Du/9nQ0QINpqgemwiRpunzIUqkXk=";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Foundation;
|
||||
|
||||
|
||||
@@ -18,11 +18,11 @@ buildPythonPackage rec {
|
||||
# The websites youtube-dl deals with are a very moving target. That means that
|
||||
# downloads break constantly. Because of that, updates should always be backported
|
||||
# to the latest stable release.
|
||||
version = "2021.03.02";
|
||||
version = "2021.03.03";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "0g3fmbxbixi92vbjjy5dabz538yvfzdp649kafs09n55iw29s3f8";
|
||||
sha256 = "11z2v8mdii0bl13850mc6hgz80d0kgzb4hdxyikc3wa4jqfwrq7f";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
||||
|
||||
Reference in New Issue
Block a user