Unverified Commit 29a46e30 authored by Anton Mosich's avatar Anton Mosich
Browse files

colobot-data: modernize

parent 6b691c15
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -10,15 +10,15 @@
  python3,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "colobot-data";
  version = "0.2.0-alpha";

  src = fetchFromGitHub {
    owner = "colobot";
    repo = "colobot-data";
    rev = "colobot-gold-${version}";
    sha256 = "sha256-yzIbAzrGsDe6hO0GHF9gjnj7IE8B7+5LDbvjZi4Wtms=";
    tag = "colobot-gold-${finalAttrs.version}";
    hash = "sha256-yzIbAzrGsDe6hO0GHF9gjnj7IE8B7+5LDbvjZi4Wtms=";
  };

  nativeBuildInputs = [
@@ -45,11 +45,11 @@ stdenv.mkDerivation rec {
    cd localSrc
  '';

  meta = with lib; {
  meta = {
    homepage = "https://colobot.info/";
    description = "Game data for colobot";
    license = licenses.gpl3;
    maintainers = with maintainers; [ freezeboy ];
    platforms = platforms.linux;
    license = lib.licenses.gpl3;
    maintainers = with lib.maintainers; [ freezeboy ];
    platforms = lib.platforms.linux;
  };
}
})