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.31";
10 format = "pyproject";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-HcM++zmw+pW1ugmd/Dtz30V2Ew66t840cXPjAIRUlbo=";
15 };
16
17 nativeBuildInputs = with python3Packages; [
18 setuptools-scm
19 ];
20
21 propagatedBuildInputs = with python3Packages; [
22 platformdirs
23 ];
24
25 meta = with lib; {
26 description = "Program to rename and remove files and directories using your editor";
27 homepage = "https://github.com/bulletmark/edir";
28 license = licenses.gpl3Plus;
29 maintainers = with maintainers; [ guyonvarch ];
30 platforms = platforms.all;
31 mainProgram = "edir";
32 };
33}