notifymuch: Migrate out of python package set

It's an application with no visible library surface, so it has no place
in the python package set.
This commit is contained in:
Martin Weinelt 2022-10-02 17:01:48 +02:00
parent 227aec9ac1
commit d889b1b298
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
4 changed files with 10 additions and 11 deletions

View file

@ -1,19 +1,16 @@
{ lib
, buildPythonApplication
, isPy3k
, fetchFromGitHub
, notmuch
, pygobject3
, gobject-introspection
, libnotify
, wrapGAppsHook
, gtk3
, python3
}:
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "notifymuch";
version = "0.1";
disabled = !isPy3k;
format = "setuptools";
src = fetchFromGitHub {
owner = "kspi";
@ -24,11 +21,12 @@ buildPythonApplication rec {
};
propagatedBuildInputs = [
notmuch
pygobject3
libnotify
gtk3
];
] ++ (with python3.pkgs; [
notmuch
pygobject3
]);
nativeBuildInputs = [
gobject-introspection

View file

@ -4512,6 +4512,8 @@ with pkgs;
notify = callPackage ../tools/misc/notify { };
notifymuch = callPackage ../applications/misc/notifymuch { };
npins = callPackage ../tools/nix/npins { };
nrsc5 = callPackage ../applications/misc/nrsc5 { };

View file

@ -104,6 +104,7 @@ mapAliases ({
mutmut = throw "mutmut has been promoted to a top-level attribute"; # added 2022-10-02
net2grid = gridnet; # add 2022-04-22
nose-cover3 = throw "nose-cover3 has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-02-16
notifymuch = throw "notifymuch has been promoted to a top-level attribute"; # added 2022-10-02
ordereddict = throw "ordereddict has been removed because it is only useful on unsupported python versions."; # added 2022-05-28
pam = python-pam; # added 2020-09-07.
PasteDeploy = pastedeploy; # added 2021-10-07

View file

@ -6250,8 +6250,6 @@ in {
notify2 = callPackage ../development/python-modules/notify2 { };
notifymuch = callPackage ../development/python-modules/notifymuch {};
notmuch = callPackage ../development/python-modules/notmuch {
inherit (pkgs) notmuch;
};