Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 86233bdfddfc
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ead04a66392b
Choose a head ref
  • 4 commits
  • 4 files changed
  • 1 contributor

Commits on Nov 19, 2020

  1. berry: 0.1.5 -> 0.1.7

    AndersonTorres committed Nov 19, 2020
    Copy the full SHA
    bd36a2d View commit details
  2. sawfish: cleanup

    AndersonTorres committed Nov 19, 2020
    Copy the full SHA
    da0c487 View commit details
  3. 1oom: init at 1.0

    AndersonTorres committed Nov 19, 2020
    Copy the full SHA
    c56cde8 View commit details

Commits on Nov 20, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ead04a6 View commit details
Showing with 74 additions and 20 deletions.
  1. +18 −6 pkgs/applications/window-managers/berry/default.nix
  2. +22 −14 pkgs/applications/window-managers/sawfish/default.nix
  3. +32 −0 pkgs/games/1oom/default.nix
  4. +2 −0 pkgs/top-level/all-packages.nix
24 changes: 18 additions & 6 deletions pkgs/applications/window-managers/berry/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,30 @@
{ stdenv, fetchFromGitHub
, libX11, libXft, libXinerama, fontconfig, freetype }:
{ stdenv
, fetchFromGitHub
, libX11
, libXft
, libXinerama
, fontconfig
, freetype
}:

stdenv.mkDerivation rec {
pname = "berry";
version = "0.1.5";
version = "0.1.7";

src = fetchFromGitHub {
owner = "JLErvin";
repo = "berry";
repo = pname;
rev = version;
sha256 = "1wxbjzpwqb9x7vd7kb095fiqj271rki980dnwcxjxpqlmmrmjzyl";
sha256 = "sha256-2kFVOE5l1KQvDb5KDL7y0p4M7awJLrxJF871cyc0YZ8=";
};

buildInputs = [ libX11 libXft libXinerama fontconfig freetype ];
buildInputs =[
libX11
libXft
libXinerama
fontconfig
freetype
];

preBuild = ''
makeFlagsArray+=( PREFIX="${placeholder "out"}"
36 changes: 22 additions & 14 deletions pkgs/applications/window-managers/sawfish/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
{ stdenv, fetchurl
, pkgconfig, which, autoreconfHook
, rep-gtk, pango, gdk-pixbuf-xlib
, imlib, gettext, texinfo
, libXinerama, libXrandr, libXtst, libICE, libSM
{ stdenv
, fetchurl
, pkg-config
, which
, autoreconfHook
, rep-gtk
, pango
, gdk-pixbuf-xlib
, imlib
, gettext
, texinfo
, libXinerama
, libXrandr
, libXtst
, libICE
, libSM
, makeWrapper
}:

with stdenv.lib;

stdenv.mkDerivation rec {

pname = "sawfish";
version = "1.12.90";
sourceName = "sawfish_${version}";

src = fetchurl {
url = "https://download.tuxfamily.org/sawfish/${sourceName}.tar.xz";
url = "https://download.tuxfamily.org/sawfish/${pname}_${version}.tar.xz";
sha256 = "18p8srqqj9vjffg13qhspfz2gr1h4vfs10qzlv89g76r289iam31";
};

nativeBuildInputs = [ autoreconfHook pkgconfig ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ which
rep-gtk pango gdk-pixbuf-xlib imlib gettext texinfo
libXinerama libXrandr libXtst libICE libSM
@@ -31,14 +38,15 @@ stdenv.mkDerivation rec {
'';

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 \
--prefix REP_DL_LOAD_PATH : "$out/lib/rep" \
--set REP_LOAD_PATH "$out/share/sawfish/lisp"
done
'';

meta = {
meta = with stdenv.lib; {
description = "An extensible, Lisp-based window manager";
longDescription = ''
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
or redefinition.
'';
homepage = "http://sawfish.wikia.com";
homepage = "https://sawfish.fandom.com/wiki/Main_Page";
license = licenses.gpl2;
maintainers = [ maintainers.AndersonTorres ];
};
32 changes: 32 additions & 0 deletions pkgs/games/1oom/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -25051,6 +25051,8 @@ in

### GAMES

_1oom = callPackage ../games/1oom { };

_2048-in-terminal = callPackage ../games/2048-in-terminal { };

_20kly = callPackage ../games/20kly { };