nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3Packages,
4 fetchPypi,
5}:
6
7python3Packages.buildPythonApplication rec {
8 pname = "edir";
9 version = "2.32";
10 pyproject = true;
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-E9zb7Y4KNQ/gw+TkpRVMUHMPlY1ImQAb0P8G/OFgMwM=";
15 };
16
17 nativeBuildInputs = with python3Packages; [
18 setuptools-scm
19 ];
20
21 propagatedBuildInputs = with python3Packages; [
22 platformdirs
23 ];
24
25 meta = {
26 description = "Program to rename and remove files and directories using your editor";
27 homepage = "https://github.com/bulletmark/edir";
28 license = lib.licenses.gpl3Plus;
29 maintainers = with lib.maintainers; [ guyonvarch ];
30 platforms = lib.platforms.all;
31 mainProgram = "edir";
32 };
33}