mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
9833d56c24
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken Tool is still WIP but this is one of the first results. I manually audited the results and removed some results that were not valid. Note that some of these packages maybe should have more constrained platforms set instead of broken set, but I think not being perfectly correct is better than just keep trying to build all these things and never succeeding. Some observations: - Some darwin builds require XCode tools - aarch64-linux builds sometimes suffer from using gcc9 - gcc9 is getting older and misses some new libraries/features - Sometimes tools try to do system detection or expect some explicit settings for platforms that are not x86_64-linux
40 lines
887 B
Nix
40 lines
887 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, ncurses
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "solicurses";
|
|
version = "unstable-2020-02-13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KaylaPP";
|
|
repo = "SoliCurses";
|
|
rev = "dc89ca00fc1711dc449d0a594a4727af22fc35a0";
|
|
sha256 = "sha256-zWYXpvEnViT/8gsdMU9Ymi4Hw+nwkG6FT/3h5sNMCE4=";
|
|
};
|
|
|
|
buildInputs = [
|
|
ncurses
|
|
];
|
|
|
|
preBuild = ''
|
|
cd build
|
|
'';
|
|
|
|
installPhase = ''
|
|
install -D SoliCurses.out $out/bin/solicurses
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A version of Solitaire written in C++ using the ncurses library";
|
|
homepage = "https://github.com/KaylaPP/SoliCurses";
|
|
maintainers = with maintainers; [ laalsaas ];
|
|
license = licenses.gpl3Only;
|
|
inherit (ncurses.meta) platforms;
|
|
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
|
|
broken = stdenv.isDarwin;
|
|
};
|
|
}
|