Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-03-09 18:31:52 +00:00
committed by GitHub
8 changed files with 110 additions and 14 deletions
+4 -3
View File
@@ -1,21 +1,22 @@
{ stdenv, fetchFromGitHub, rustPlatform, cargo, cmake, sphinx, lib, prefix ? "uutils-"
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "uutils-coreutils";
version = "0.0.3";
version = "0.0.4";
src = fetchFromGitHub {
owner = "uutils";
repo = "coreutils";
rev = version;
sha256 = "QWiEHk8aciiwQeyNgrr0M0c1EeAgE3gSqw0ly/YTwTQ=";
sha256 = "sha256-z5lDKJpFxXDCQq+0Da/63GGoUXacy5TSn+1gJiMvicc=";
};
# too many impure/platform-dependent tests
doCheck = false;
cargoSha256 = "m2a7WNkF5TxjJlytjdoQ/JZIF9gp9qBkH+UU/NVRJzA=";
cargoSha256 = "sha256-x/nn2JNe8x+I0G2Vbr2PZAHCghwLBDhKAhkHPQFeL0M=";
makeFlags =
[ "CARGO=${cargo}/bin/cargo" "PREFIX=$(out)" "PROFILE=release" "INSTALLDIR_MAN=$(out)/share/man/man1" ]
+3 -8
View File
@@ -12,26 +12,21 @@
stdenv.mkDerivation rec {
pname = "ytfzf";
version = "1.0.0";
version = "1.0.1";
src = fetchFromGitHub {
owner = "pystardust";
repo = "ytfzf";
rev = "v${version}";
sha256 = "09znixn8mpkxipv2x3nrfxr2i8g7y58v25qssqf092j9lh85sf9h";
sha256 = "1i9ya38zcaj1vkfgy1n4gp5vqb59zlrd609pdmz4jqinrb0c5fgv";
};
nativeBuildInputs = [ makeWrapper ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
makeFlags = [ "PREFIX=${placeholder "out"}/bin" ];
dontBuild = true;
# remove after next update
preInstall = ''
mkdir -p "$out/bin"
'';
postInstall = ''
wrapProgram "$out/bin/ytfzf" --prefix PATH : ${lib.makeBinPath [
curl dmenu fzf jq mpv youtube-dl