3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #115051 from siraben/darwin-mass-fix-buildInputs=0

This commit is contained in:
Sandro 2021-03-06 20:54:39 +01:00 committed by GitHub
commit 822b70e18c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 42 additions and 24 deletions

View file

@ -3,18 +3,26 @@
stdenv.mkDerivation rec {
version = "6.31";
pname = "clips";
src = fetchurl {
url = "mirror://sourceforge/clipsrules/CLIPS/${version}/clips_core_source_${
builtins.replaceStrings [ "." ] [ "" ] version
}.tar.gz";
sha256 = "165k0z7dsv04q432sanmw0jxmxwf56cnhsdfw5ffjqxd3lzkjnv6";
};
postPatch = ''
substituteInPlace core/makefile --replace 'gcc' '${stdenv.cc.targetPrefix}cc'
'';
makeFlags = [ "-C" "core" ];
installPhase = ''
runHook preInstall
install -D -t $out/bin core/clips
runHook postInstall
'';
meta = with lib; {
description = "A Tool for Building Expert Systems";
homepage = "http://www.clipsrules.net/";
@ -26,6 +34,6 @@ stdenv.mkDerivation rec {
'';
license = licenses.publicDomain;
maintainers = [ maintainers.league ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
homepage = "${baseurl}/boolstuff.html";
license = "GPL";
maintainers = [ lib.maintainers.marcweber ];
platforms = lib.platforms.linux;
platforms = lib.platforms.all;
};
}

View file

@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
description = "Simple C++ unit testing framework";
maintainers = with maintainers; [ bosu ];
license = lib.licenses.lgpl3;
platforms = with platforms; linux;
platforms = platforms.all;
};
}

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://cpputest.github.io/";
description = "Unit testing and mocking framework for C/C++";
platforms = platforms.linux ;
platforms = platforms.all;
license = licenses.bsd3;
maintainers = [ maintainers.juliendehos ];
};

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
description = "Directory event monitoring daemon";
homepage = "https://www.gnu.org.ua/software/direvent/";
license = licenses.gpl3Plus;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ puffnfresh ];
};
}

View file

@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
homepage = "http://www.seasip.info/Unix/LibDsk/";
license = licenses.gpl2Plus;
maintainers = [ ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
homepage = "https://mednafen.github.io/";
license = licenses.gpl2;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
homepage = "https://anthy.osdn.jp/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ericsagnes ];
platforms = platforms.linux;
platforms = platforms.unix;
};
src = fetchurl {

View file

@ -32,6 +32,6 @@ stdenv.mkDerivation {
homepage = "https://www.chiark.greenend.org.uk/~sgtatham/agedu/";
license = licenses.mit;
maintainers = with maintainers; [ symphorien ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -1,24 +1,27 @@
{ lib, stdenv, bash, fetchFromGitHub }:
stdenv.mkDerivation {
{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation {
pname = "vimv";
version = "unstable-2019-10-31";
src = fetchFromGitHub {
owner = "thameera";
repo = "vimv";
rev = "4152496c1946f68a13c648fb7e583ef23dac4eb8";
sha256 = "1fsrfx2gs6bqx7wk7pgcji2i2x4alqpsi66aif4kqvnpqfhcfzjd";
};
phases = [ "installPhase" ];
installPhase = ''
install -d $out/bin
install $src/vimv $out/bin/vimv
patchShebangs $out/bin/vimv
'';
meta = with lib; {
homepage = "https://github.com/thameera/vimv";
description = "Batch-rename files using Vim";
license = licenses.mit;
platforms = platforms.linux;
platforms = platforms.all;
maintainers = [ maintainers.kmein ];
};
}

View file

@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
description = "Repair your broken pcap and pcapng files";
license = licenses.gpl3;
maintainers = [ maintainers.ehmry ];
platforms = platforms.linux;
platforms = platforms.all;
};
}

View file

@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
homepage = "http://loop-aes.sourceforge.net/aespipe.README";
license = licenses.gpl2;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -17,6 +17,9 @@ stdenv.mkDerivation rec {
description = "A set of cross-platform tools to compute hashes";
homepage = "https://github.com/jessek/hashdeep";
license = licenses.gpl2;
# Build fails on Darwin:
# > ./xml.h:103:82: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
# > void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); }
platforms = with platforms; linux ++ freebsd ++ openbsd;
maintainers = [ maintainers.karantan ];
};

View file

@ -15,6 +15,6 @@ stdenv.mkDerivation {
description = "Run a program using only idle cycles";
license = licenses.gpl2;
maintainers = with maintainers; [ woffs ];
platforms = platforms.linux;
platforms = platforms.all;
};
}

View file

@ -1,8 +1,8 @@
{ lib, stdenv, fetchurl, autoreconfHook }:
let version = "0.6.3"; in
stdenv.mkDerivation {
{ lib, stdenv, fetchurl, autoreconfHook, libiconv }:
stdenv.mkDerivation rec {
pname = "cconv";
inherit version;
version = "0.6.3";
src = fetchurl {
url = "https://github.com/xiaoyjy/cconv/archive/v${version}.tar.gz";
@ -10,12 +10,13 @@ let version = "0.6.3"; in
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libiconv ];
meta = with lib; {
description = "A iconv based simplified-traditional chinese conversion tool";
homepage = "https://github.com/xiaoyjy/cconv";
license = licenses.mit;
platforms = platforms.linux;
platforms = platforms.all;
maintainers = [ maintainers.redfish64 ];
};
}

View file

@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1pzwp3mim58afjrc92yx65mmgr1c834s1v6z4f4gyihwjn8bn3if";
};
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
installPhase = ''
mkdir -p $out/bin
cp dadadodo $out/bin
@ -20,6 +22,6 @@ stdenv.mkDerivation rec {
description = "Markov chain-based text generator";
homepage = "http://www.jwz.org/dadadodo";
maintainers = with maintainers; [ pSub ];
platforms = with platforms; linux;
platforms = platforms.all;
};
}

View file

@ -18,5 +18,6 @@ stdenv.mkDerivation rec {
changelog = "https://sourceforge.net/p/dos2unix/dos2unix/ci/dos2unix-${version}/tree/dos2unix/NEWS.txt?format=raw";
license = licenses.bsd2;
maintainers = with maintainers; [ c0bw3b ];
platforms = platforms.all;
};
}

View file

@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec {
description = "Tool for making eBooks from fanfiction web sites";
homepage = "https://github.com/JimmXinu/FanFicFare";
license = licenses.gpl3;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ dwarfmaster ];
};
}

View file

@ -20,6 +20,6 @@ stdenv.mkDerivation {
homepage = "http://puszcza.gnu.org.ua/software/podiff";
license = licenses.gpl3Plus;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}