python312Packages.mutag: refactor

(cherry picked from commit 354f023b61)
This commit is contained in:
Fabian Affolter 2024-05-22 23:34:52 +02:00 committed by github-actions[bot]
parent bcedd17714
commit b24b9f58fa

View File

@ -2,30 +2,39 @@
lib,
buildPythonPackage,
fetchFromGitHub,
isPy3k,
pyparsing,
pythonOlder,
setuptools,
}:
buildPythonPackage {
pname = "mutag";
version = "0.0.2-2ffa0258ca";
format = "setuptools";
disabled = !isPy3k;
version = "0.0.2-unstable-2018-08-20";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "aroig";
repo = "mutag";
rev = "2ffa0258cadaf79313241f43bf2c1caaf197d9c2";
hash = "sha256-YT3DGvYPyTuB70gg6p/3oXcTahEPcNuSIqe56xu3rSs=";
rev = "9425169eb5d4aa9eb09f2809a09b83855b3acbef";
hash = "sha256-fEMmFRoFyLkqusAuhdx3XEPaPsu1x86ACAz9Vkl9YfA=";
};
propagatedBuildInputs = [ pyparsing ];
build-system = [ setuptools ];
dependencies = [ pyparsing ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "mutag" ];
meta = with lib; {
homepage = "https://github.com/aroig/mutag";
description = "A script to change email tags in a mu indexed maildir";
mainProgram = "mutag";
license = licenses.gpl3;
homepage = "https://github.com/aroig/mutag";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
mainProgram = "mutag";
};
}