colobot: modernize
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user