mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
26 lines
637 B
Nix
26 lines
637 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ninvaders";
|
|
version = "0.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sf-refugees";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1wmwws1zsap4bfc2439p25vnja0hnsf57k293rdxw626gly06whi";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ ncurses ];
|
|
|
|
meta = with lib; {
|
|
description = "Space Invaders clone based on ncurses";
|
|
mainProgram = "ninvaders";
|
|
homepage = "https://ninvaders.sourceforge.net/";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ _1000101 ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|