Merge pull request #104316 from AndersonTorres/at1985-update

This commit is contained in:
Anderson Torres 2020-11-20 12:12:43 -03:00 committed by GitHub
commit ead04a6639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 74 additions and 20 deletions

View File

@ -1,18 +1,30 @@
{ stdenv, fetchFromGitHub { stdenv
, libX11, libXft, libXinerama, fontconfig, freetype }: , fetchFromGitHub
, libX11
, libXft
, libXinerama
, fontconfig
, freetype
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "berry"; pname = "berry";
version = "0.1.5"; version = "0.1.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "JLErvin"; owner = "JLErvin";
repo = "berry"; repo = pname;
rev = version; rev = version;
sha256 = "1wxbjzpwqb9x7vd7kb095fiqj271rki980dnwcxjxpqlmmrmjzyl"; sha256 = "sha256-2kFVOE5l1KQvDb5KDL7y0p4M7awJLrxJF871cyc0YZ8=";
}; };
buildInputs = [ libX11 libXft libXinerama fontconfig freetype ]; buildInputs =[
libX11
libXft
libXinerama
fontconfig
freetype
];
preBuild = '' preBuild = ''
makeFlagsArray+=( PREFIX="${placeholder "out"}" makeFlagsArray+=( PREFIX="${placeholder "out"}"

View File

@ -1,25 +1,32 @@
{ stdenv, fetchurl { stdenv
, pkgconfig, which, autoreconfHook , fetchurl
, rep-gtk, pango, gdk-pixbuf-xlib , pkg-config
, imlib, gettext, texinfo , which
, libXinerama, libXrandr, libXtst, libICE, libSM , autoreconfHook
, rep-gtk
, pango
, gdk-pixbuf-xlib
, imlib
, gettext
, texinfo
, libXinerama
, libXrandr
, libXtst
, libICE
, libSM
, makeWrapper , makeWrapper
}: }:
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sawfish"; pname = "sawfish";
version = "1.12.90"; version = "1.12.90";
sourceName = "sawfish_${version}";
src = fetchurl { src = fetchurl {
url = "https://download.tuxfamily.org/sawfish/${sourceName}.tar.xz"; url = "https://download.tuxfamily.org/sawfish/${pname}_${version}.tar.xz";
sha256 = "18p8srqqj9vjffg13qhspfz2gr1h4vfs10qzlv89g76r289iam31"; sha256 = "18p8srqqj9vjffg13qhspfz2gr1h4vfs10qzlv89g76r289iam31";
}; };
nativeBuildInputs = [ autoreconfHook pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ which buildInputs = [ which
rep-gtk pango gdk-pixbuf-xlib imlib gettext texinfo rep-gtk pango gdk-pixbuf-xlib imlib gettext texinfo
libXinerama libXrandr libXtst libICE libSM libXinerama libXrandr libXtst libICE libSM
@ -31,14 +38,15 @@ stdenv.mkDerivation rec {
''; '';
postInstall = '' postInstall = ''
for i in $out/lib/sawfish/sawfish-menu $out/bin/sawfish-about $out/bin/sawfish-client $out/bin/sawfish-config $out/bin/sawfish; do for i in $out/lib/sawfish/sawfish-menu $out/bin/sawfish-about \
$out/bin/sawfish-client $out/bin/sawfish-config $out/bin/sawfish; do
wrapProgram $i \ wrapProgram $i \
--prefix REP_DL_LOAD_PATH : "$out/lib/rep" \ --prefix REP_DL_LOAD_PATH : "$out/lib/rep" \
--set REP_LOAD_PATH "$out/share/sawfish/lisp" --set REP_LOAD_PATH "$out/share/sawfish/lisp"
done done
''; '';
meta = { meta = with stdenv.lib; {
description = "An extensible, Lisp-based window manager"; description = "An extensible, Lisp-based window manager";
longDescription = '' longDescription = ''
Sawfish is an extensible window manager using a Lisp-based scripting language. Sawfish is an extensible window manager using a Lisp-based scripting language.
@ -47,7 +55,7 @@ stdenv.mkDerivation rec {
All high-level WM functions are implemented in Lisp for future extensibility All high-level WM functions are implemented in Lisp for future extensibility
or redefinition. or redefinition.
''; '';
homepage = "http://sawfish.wikia.com"; homepage = "https://sawfish.fandom.com/wiki/Main_Page";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];
}; };

View File

@ -0,0 +1,32 @@
{ stdenv, fetchFromGitLab, autoreconfHook, libsamplerate, SDL2, SDL2_mixer, readline }:
stdenv.mkDerivation rec {
pname = "1oom";
version = "1.0";
src = fetchFromGitLab {
owner = "KilgoreTroutMaskReplicant";
repo = pname;
rev = "v${version}";
sha256 = "sha256-+HwSykSyAGHtITVOu4nIG87kWwVxGyFXb/NRSjhWlvs=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libsamplerate SDL2 SDL2_mixer readline ];
outputs = [ "out" "doc" ];
postInstall = ''
install -d $doc/share/doc/${pname}
install -t $doc/share/doc/${pname} \
HACKING NEWS PHILOSOPHY README doc/*.txt
'';
meta = with stdenv.lib; {
homepage = "https://kilgoretroutmaskreplicant.gitlab.io/plain-html/";
description = "Master of Orion (1993) game engine recreation";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ];
};
}

View File

@ -25051,6 +25051,8 @@ in
### GAMES ### GAMES
_1oom = callPackage ../games/1oom { };
_2048-in-terminal = callPackage ../games/2048-in-terminal { }; _2048-in-terminal = callPackage ../games/2048-in-terminal { };
_20kly = callPackage ../games/20kly { }; _20kly = callPackage ../games/20kly { };