10 , useProprietaryAssets ? true
14 stdenv.mkDerivation rec {
23 sha256 = "09h9r65z8bar2z89s09j6px0gdq355kjf38rmd85xb2aqwnm6xig";
26 (optional useProprietaryAssets (requireFile {
27 name = "koboredux-${version}-Linux.tar.bz2";
28 sha256 = "11bmicx9i11m4c3dp19jsql0zy4rjf5a28x4hd2wl8h3bf8cdgav";
30 Please purchase the game on https://olofson.itch.io/kobo-redux
31 and download the Linux build.
33 Once you have downloaded the file, please use the following command
34 and re-run the installation:
36 nix-prefetch-url file://\$PWD/koboredux-${version}-Linux.tar.bz2
38 Alternatively, install the "koboredux-free" package, which replaces the
39 proprietary assets with a placeholder theme.
43 sourceRoot = "source"; # needed when we have the assets source
46 patches = [(fetchpatch {
47 url = "https://github.com/olofson/koboredux/commit/cf92b8a61d002ccaa9fbcda7a96dab08a681dee4.patch";
48 sha256 = "0dwhvis7ghf3mgzjd2rwn8hk3ndlgfwwcqaq581yc5rwd73v6vw4";
51 postPatch = optionalString useProprietaryAssets ''
52 cp -r ../koboredux-${version}-Linux/sfx/redux data/sfx/
53 cp -r ../koboredux-${version}-Linux/gfx/redux data/gfx/
54 cp -r ../koboredux-${version}-Linux/gfx/redux_fullscreen data/gfx/
69 description = "A frantic 80's style 2D shooter, similar to XKobo and Kobo Deluxe" +
70 optionalString (!useProprietaryAssets) " (built without proprietary assets)";
72 Kobo Redux is a frantic 80's style 2D shooter, inspired by the look and
73 feel of 90's arcade cabinets. The gameplay is fast and unforgiving,
74 although with less of the frustrating quirkiness of the actual games
75 of the 80's. A true challenge in the spirit of the arcade era!
76 '' + optionalString (!useProprietaryAssets) ''
78 This version replaces the official proprietary assets with placeholders.
79 For the full experience, consider installing "koboredux" instead.
81 homepage = "https://olofson.itch.io/kobo-redux";
82 license = with licenses; if useProprietaryAssets then unfree else gpl2;
83 platforms = platforms.all;
84 maintainers = with maintainers; [ fgaz ];