mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
28 lines
602 B
Nix
28 lines
602 B
Nix
{ stdenv, lib, fetchsvn,
|
|
version, rev, sha256 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "crossfire-maps";
|
|
version = rev;
|
|
|
|
src = fetchsvn {
|
|
url = "http://svn.code.sf.net/p/crossfire/code/maps/trunk/";
|
|
inherit sha256;
|
|
rev = "r${rev}";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out"
|
|
cp -a . "$out/"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Map data for the Crossfire free MMORPG";
|
|
homepage = "http://crossfire.real-time.com/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
hydraPlatforms = [];
|
|
maintainers = with maintainers; [ ToxicFrog ];
|
|
};
|
|
}
|