Unverified Commit 157d101f authored by Anton Mosich's avatar Anton Mosich
Browse files

colobot: modernize

parent 797bb84c
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
let
  colobot-data = callPackage ./data.nix { };
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "colobot";
  # Maybe require an update to package colobot-data as well
  # in file data.nix next to this one
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
  src = fetchFromGitHub {
    owner = "colobot";
    repo = "colobot";
    rev = "colobot-gold-${version}";
    tag = "colobot-gold-${finalAttrs.version}";
    hash = "sha256-3iea2+5xCT0//NAjMHrynZKSoiOSgLTNMUQkRhXuXg8=";
  };

@@ -68,11 +68,11 @@ stdenv.mkDerivation rec {
    done
  '';

  meta = with lib; {
  meta = {
    homepage = "https://colobot.info/";
    description = "Colobot: Gold Edition is a real-time strategy game, where you can program your bots";
    license = licenses.gpl3;
    maintainers = with maintainers; [ freezeboy ];
    platforms = platforms.linux;
    license = lib.licenses.gpl3;
    maintainers = with lib.maintainers; [ freezeboy ];
    platforms = lib.platforms.linux;
  };
}
})