amoeba: move to by-name, modernize

This commit is contained in:
Rafael Ieda
2025-10-09 13:50:44 -03:00
parent 9df9e47f5e
commit c17f026ad7
3 changed files with 8 additions and 10 deletions
@@ -14,18 +14,18 @@
installShellFiles,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "amoeba";
version = "1.1";
debver = "31";
srcs = [
(fetchurl {
url = "http://http.debian.net/debian/pool/contrib/a/amoeba/amoeba_${version}.orig.tar.gz";
url = "http://http.debian.net/debian/pool/contrib/a/amoeba/amoeba_${finalAttrs.version}.orig.tar.gz";
hash = "sha256-NT6oMuAlTcVZEnYjMCF+BD+k3/w7LfWEmj6bkQln3sM=";
})
(fetchurl {
url = "http://http.debian.net/debian/pool/contrib/a/amoeba/amoeba_${version}-${debver}.debian.tar.xz";
url = "http://http.debian.net/debian/pool/contrib/a/amoeba/amoeba_${finalAttrs.version}-${finalAttrs.debver}.debian.tar.xz";
hash = "sha256-Ga/YeXbPXjkG/6qd9Z201d14Hlj/Je6DxgzeIQOqrWc=";
})
];
@@ -60,11 +60,11 @@ stdenv.mkDerivation rec {
installManPage ../debian/amoeba.1
'';
meta = with lib; {
meta = {
description = "Fast-paced, polished OpenGL demonstration by Excess";
homepage = "https://packages.qa.debian.org/a/amoeba.html";
license = licenses.gpl2Only; # Engine is GPLv2, data files in amoeba-data nonfree
maintainers = [ maintainers.dezgeg ];
platforms = platforms.linux;
license = lib.licenses.gpl2Only; # Engine is GPLv2, data files in amoeba-data nonfree
maintainers = with lib.maintainers; [ dezgeg ];
platforms = lib.platforms.linux;
};
}
})
-2
View File
@@ -13297,8 +13297,6 @@ with pkgs;
qgo = libsForQt5.callPackage ../games/qgo { };
amoeba = callPackage ../games/amoeba { };
anki = callPackage ../games/anki {
protobuf = protobuf_31;
};