mime-types: drop, gentoo replaced it with mailcap, marked for removal

This commit is contained in:
Sandro Jäckel 2022-01-21 19:23:06 +01:00 committed by Jonathan Ringer
parent bf4e2bf12c
commit e0c98448bb
3 changed files with 1 additions and 23 deletions

View file

@ -1,21 +0,0 @@
{ lib, fetchzip }:
let
version = "9";
in fetchzip rec {
name = "mime-types-${version}";
url = "https://mirrors.kernel.org/gentoo/distfiles/${name}.tar.bz2";
postFetch = ''
mkdir -p $out/etc
tar xjvf $downloadedFile --directory=$out/etc --strip-components=1
'';
sha256 = "0gyla4wfiaccs0qh0hw7n08kdpnkkssglcg0z2jblb2lsdr4qna0";
meta = with lib; {
description = "A database of common mappings of file extensions to MIME types";
homepage = "https://packages.gentoo.org/packages/app-misc/mime-types";
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.all;
};
}

View file

@ -606,6 +606,7 @@ mapAliases ({
mcgrid = throw "mcgrid has been removed from nixpkgs, as it's not compatible with rivet 3"; # added 2020-05-23
mcomix = throw "mcomix has been removed from nixpkgs, as it's unmaintained; try mcomix3 a Python 3 fork"; # added 2019-12-10, modified 2020-11-25
mididings = throw "mididings has been removed from nixpkgs as it doesn't support recent python3 versions and its upstream stopped maintaining it."; # added 2022-01-12
mime-types = mailcap; # added 2022-01-21
mimms = throw "mimms has been removed from nixpkgs as the upstream project is stuck on python2."; # added 2022-01-01
mirage = throw "mirage has been removed from nixpkgs, as it's unmaintained"; # added 2019-12-10
minergate = throw "minergate has been removed from nixpkgs, because the package is unmaintained and the site has a bad reputation"; # added 2021-08-13

View file

@ -23978,8 +23978,6 @@ with pkgs;
sweet = callPackage ../data/themes/sweet { };
mime-types = callPackage ../data/misc/mime-types { };
shared-mime-info = callPackage ../data/misc/shared-mime-info { };
shared_desktop_ontologies = callPackage ../data/misc/shared-desktop-ontologies { };