nixpkgs/pkgs/tools/misc/edir/default.nix
2023-11-27 02:17:53 +01:00

29 lines
724 B
Nix

{ lib, python3Packages, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "edir";
version = "2.22";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Z4p16v0J7mgl1Av8tdUZ6vSILgbOpLHs3rWx2P7AH+E=";
};
nativeBuildInputs = with python3Packages; [
setuptools-scm
];
propagatedBuildInputs = with python3Packages; [
platformdirs
];
meta = with lib; {
description = "Program to rename and remove files and directories using your editor";
homepage = "https://github.com/bulletmark/edir";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ guyonvarch ];
platforms = platforms.all;
mainProgram = "edir";
};
}