Merge pull request #313687 from fabaff/mutag-fix

python312Packages.mutag: refactor
This commit is contained in:
Weijia Wang 2024-05-23 07:55:56 +02:00 committed by GitHub
commit 41fd66ae76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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";
};
}