Merge pull request #141387 from SuperSandro2000/cleanup

This commit is contained in:
Sandro 2021-10-12 20:58:41 +02:00 committed by GitHub
commit 724d594fa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 39 additions and 37 deletions

View File

@ -10,12 +10,9 @@
, dbus-glib
}:
let
version = "0.8.8";
in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "xboxdrv";
inherit version;
version = "0.8.8";
src = fetchFromGitHub {
owner = "xboxdrv";
@ -36,5 +33,4 @@ stdenv.mkDerivation {
maintainers = [ ];
platforms = platforms.linux;
};
}

View File

@ -11,9 +11,14 @@ stdenv.mkDerivation rec {
hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c=";
};
buildInputs = [ autoconf ncurses pcre ];
nativeBuildInputs = [ autoconf ];
preConfigure = "autoheader && autoconf ";
buildInputs = [ ncurses pcre ];
preConfigure = ''
autoheader
autoconf
'';
meta = with lib; {
description = "Fast, modular log colorizer";

View File

@ -24,7 +24,7 @@ stdenv.mkDerivation {
homepage = "http://www.gnufoo.org/contacts/contacts.html";
license = licenses.gpl2;
maintainers = with maintainers; [ jwiegley ];
platforms = lib.platforms.darwin;
hydraPlatforms = lib.platforms.darwin;
platforms = platforms.darwin;
hydraPlatforms = platforms.darwin;
};
}

View File

@ -23,8 +23,6 @@ stdenv.mkDerivation rec {
--replace "sudo " "/run/wrappers/bin/sudo "
'';
preferLocalBuild = true;
meta = with lib; {
description = "Syncs browser profile dirs to RAM";
longDescription = ''

View File

@ -1,4 +1,5 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "sdate";
version = "0.7";
@ -10,13 +11,13 @@ stdenv.mkDerivation rec {
hash = "sha256-jkwe+bSBa0p1Xzfetsdpw0RYw/gSRxnY2jBOzC5HtJ8=";
};
buildInputs = [ autoreconfHook ];
nativeBuildInputs = [ autoreconfHook ];
meta = {
meta = with lib; {
homepage = "https://www.df7cb.de/projects/sdate";
description = "Eternal september version of the date program";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ edef ];
platforms = lib.platforms.all;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ edef ];
platforms = platforms.all;
};
}

View File

@ -11,19 +11,19 @@ stdenv.mkDerivation rec {
hash = "sha256-Aqi5PNNaaM/tr9A/7vKeafYKYIs/kHbwHzE7+R/9r9s=";
};
preConfigure = ''
makeFlags=prefix="$out"
'';
makeFlags = [
"prefix=${placeholder "out"}"
];
patchPhase = ''
postPatch = ''
for f in bookman src2man txt2man; do
substituteInPlace $f --replace "gawk" "${gawk}/bin/gawk"
substituteInPlace $f --replace "(date" "(${coreutils}/bin/date"
substituteInPlace $f --replace "=cat" "=${coreutils}/bin/cat"
substituteInPlace $f --replace "cat <<" "${coreutils}/bin/cat <<"
substituteInPlace $f --replace "expand" "${coreutils}/bin/expand"
substituteInPlace $f --replace "(uname" "(${coreutils}/bin/uname"
substituteInPlace $f \
--replace "gawk" "${gawk}/bin/gawk" \
--replace "(date" "(${coreutils}/bin/date" \
--replace "=cat" "=${coreutils}/bin/cat" \
--replace "cat <<" "${coreutils}/bin/cat <<" \
--replace "expand" "${coreutils}/bin/expand" \
--replace "(uname" "(${coreutils}/bin/uname"
done
'';
@ -35,11 +35,11 @@ stdenv.mkDerivation rec {
sh -c 'unset PATH; printf hello | ./txt2man'
'';
meta = {
meta = with lib; {
description = "Convert flat ASCII text to man page format";
homepage = "http://mvertes.free.fr/";
license = lib.licenses.gpl2;
platforms = with lib.platforms; linux ++ darwin;
maintainers = with lib.maintainers; [ bjornfor ];
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ bjornfor ];
};
}

View File

@ -11,15 +11,17 @@ stdenv.mkDerivation rec {
hash = "sha256-SVfM2vCCacgchXj0c0sPk3VR6DUI4R0ofFnxJSY4oDg=";
};
postPatch = ''
sed -i "s|/usr/local|$out|" Makefile
'';
buildInputs = [ libxcb git xcbutil xcbutilwm ];
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
meta = {
meta = with lib; {
description = "Outputs X window titles";
homepage = "https://github.com/baskerville/xtitle";
maintainers = [ lib.maintainers.meisternu ];
maintainers = with maintainers; [ meisternu ];
license = "Custom";
platforms = lib.platforms.linux;
platforms = platforms.linux;
};
}