lol

Merge pull request #19831 from AbigailBuccaneer/gmad

gmad: init at HEAD

authored by

Tim Steinbach and committed by
GitHub
bca2fd9f ef45c192

+82
+1
lib/maintainers.nix
··· 10 10 aaronschif = "Aaron Schif <aaronschif@gmail.com>"; 11 11 abaldeau = "Andreas Baldeau <andreas@baldeau.net>"; 12 12 abbradar = "Nikolay Amiantov <ab@fmap.me>"; 13 + abigailbuccaneer = "Abigail Bunyan <abigailbuccaneer@gmail.com>"; 13 14 aboseley = "Adam Boseley <adam.boseley@gmail.com>"; 14 15 abuibrahim = "Ruslan Babayev <ruslan@babayev.com>"; 15 16 acowley = "Anthony Cowley <acowley@gmail.com>";
+43
pkgs/development/libraries/bootil/default.nix
··· 1 + { stdenv, fetchFromGitHub, fetchpatch, premake4 }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "bootil-unstable-2015-12-17"; 5 + 6 + meta = { 7 + description = "Garry Newman's personal utility library"; 8 + homepage = https://github.com/garrynewman/bootil; 9 + # License unsure - see https://github.com/garrynewman/bootil/issues/21 10 + license = stdenv.lib.licenses.free; 11 + maintainers = [ stdenv.lib.maintainers.abigailbuccaneer ]; 12 + platforms = stdenv.lib.platforms.all; 13 + }; 14 + 15 + src = fetchFromGitHub { 16 + owner = "garrynewman"; 17 + repo = "bootil"; 18 + rev = "1d3e321fc2be359e2350205b8c7f1cad2164ee0b"; 19 + sha256 = "03wq526r80l2px797hd0n5m224a6jibwipcbsvps6l9h740xabzg"; 20 + }; 21 + 22 + patches = [ (fetchpatch { 23 + url = https://github.com/garrynewman/bootil/pull/22.patch; 24 + name = "github-pull-request-22.patch"; 25 + sha256 = "1qf8wkv00pb9w1aa0dl89c8gm4rmzkxfl7hidj4gz0wpy7a24qa2"; 26 + })]; 27 + 28 + platform = 29 + if stdenv.isLinux then "linux" 30 + else if stdenv.isDarwin then "macosx" 31 + else abort "unrecognized platform"; 32 + 33 + buildInputs = [ premake4 ]; 34 + 35 + configurePhase = "premake4 --file=projects/premake4.lua gmake"; 36 + makeFlags = "-C projects/${platform}/gmake"; 37 + 38 + installPhase = '' 39 + mkdir -p $out/lib 40 + cp lib/${platform}/gmake/libbootil_static.a $out/lib/ 41 + cp -r include $out/ 42 + ''; 43 + }
+34
pkgs/games/gmad/default.nix
··· 1 + { stdenv, fetchFromGitHub, premake4, bootil }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "gmad-unstable-2015-04-16"; 5 + 6 + meta = { 7 + description = "Garry's Mod Addon Creator and Extractor"; 8 + homepage = https://github.com/garrynewman/gmad; 9 + license = stdenv.lib.licenses.unfree; 10 + maintainers = [ stdenv.lib.maintainers.abigailbuccaneer ]; 11 + platforms = stdenv.lib.platforms.all; 12 + }; 13 + 14 + src = fetchFromGitHub { 15 + owner = "garrynewman"; 16 + repo = "gmad"; 17 + rev = "377f3458bf1ecb8a1a2217c2194773e3c2a2dea0"; 18 + sha256="0myi9njr100gxhxk1vrzr2sbij5kxl959sq0riiqgg01div338g0"; 19 + }; 20 + 21 + buildInputs = [ premake4 bootil ]; 22 + 23 + targetName = 24 + if stdenv.isLinux then "gmad_linux" 25 + else if stdenv.isDarwin then "gmad_osx" 26 + else "gmad"; 27 + 28 + configurePhase = "premake4 --bootil_lib=${bootil}/lib --bootil_inc=${bootil}/include gmake"; 29 + 30 + installPhase = '' 31 + mkdir -p $out/bin 32 + cp ${targetName} $out/bin/gmad 33 + ''; 34 + }
+4
pkgs/top-level/all-packages.nix
··· 15542 15542 15543 15543 gltron = callPackage ../games/gltron { }; 15544 15544 15545 + gmad = callPackage ../games/gmad { }; 15546 + 15545 15547 gnubg = callPackage ../games/gnubg { }; 15546 15548 15547 15549 gnuchess = callPackage ../games/gnuchess { }; ··· 16803 16805 beep = callPackage ../misc/beep { }; 16804 16806 16805 16807 blackbird = callPackage ../misc/themes/blackbird { }; 16808 + 16809 + bootil = callPackage ../development/libraries/bootil { }; 16806 16810 16807 16811 brgenml1lpr = callPackage_i686 ../misc/cups/drivers/brgenml1lpr {}; 16808 16812