mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
python312Packages.mutag: refactor
(cherry picked from commit 354f023b61
)
This commit is contained in:
parent
bcedd17714
commit
b24b9f58fa
@ -2,30 +2,39 @@
|
|||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
isPy3k,
|
|
||||||
pyparsing,
|
pyparsing,
|
||||||
|
pythonOlder,
|
||||||
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
pname = "mutag";
|
pname = "mutag";
|
||||||
version = "0.0.2-2ffa0258ca";
|
version = "0.0.2-unstable-2018-08-20";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
disabled = !isPy3k;
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aroig";
|
owner = "aroig";
|
||||||
repo = "mutag";
|
repo = "mutag";
|
||||||
rev = "2ffa0258cadaf79313241f43bf2c1caaf197d9c2";
|
rev = "9425169eb5d4aa9eb09f2809a09b83855b3acbef";
|
||||||
hash = "sha256-YT3DGvYPyTuB70gg6p/3oXcTahEPcNuSIqe56xu3rSs=";
|
hash = "sha256-fEMmFRoFyLkqusAuhdx3XEPaPsu1x86ACAz9Vkl9YfA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pyparsing ];
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [ pyparsing ];
|
||||||
|
|
||||||
|
# Module has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "mutag" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/aroig/mutag";
|
|
||||||
description = "A script to change email tags in a mu indexed maildir";
|
description = "A script to change email tags in a mu indexed maildir";
|
||||||
mainProgram = "mutag";
|
homepage = "https://github.com/aroig/mutag";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
|
mainProgram = "mutag";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user