add nottetris2 package

auto-flake-update
Yorick van Pelt 2017-01-25 17:55:53 +01:00
parent e61a05c5c3
commit dfa276628d
2 changed files with 17 additions and 1 deletions

View File

@ -29,6 +29,7 @@
ftb = pkgs.callPackage ./ftb.nix {};
pyroscope = pkgs.callPackage ./pyroscope.nix {};
peageprint = pkgs.callPackage ./peageprint.nix {};
nottetris2 = pkgs.callPackage ./nottetris2.nix {};
python35Packages = py3 // {
# pycrypto runs slow tests by default
pycrypto = py3.pycrypto.overrideDerivation (attrs: {
@ -165,7 +166,7 @@
games = mkEnv "y-games" [
# steam openttd wine winetricks minecraft
steam
steam nottetris2
];
js = mkEnv "y-jsdev" [

View File

@ -0,0 +1,15 @@
{ pkgs ? import <nixpkgs> {},
stdenv ? pkgs.stdenv,
love_0_7 ? pkgs.love_0_7 }:
let
name = "nottetris2";
src = pkgs.fetchzip {
url = "http://stabyourself.net/dl.php?file=${name}/${name}-linux.zip";
sha256 = "1zwwp4h1njwl3jnwkszcsqx868v16312pbfy5rp9h48ym79spd36";
stripRoot = false;
};
in
pkgs.writeScriptBin name ''
#! ${stdenv.shell} -e
exec ${love_0_7}/bin/love "${src}/Not Tetris 2.love"
''