generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
camel-snake-pep8.nix
38 lines (32 loc) · 884 Bytes
/
camel-snake-pep8.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "camel-snake-pep8";
version = "0.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "abarker";
repo = "camel-snake-pep8";
rev = "c328293ea8cd5875eda506f35d45ef293c9ec15f";
hash = "sha256-0DRfObrSkOHM0c99g5yB9f8AM0XOO/QVBUAE6BFr/54=";
};
nativeBuildInputs = [
python3.pkgs.setuptools
python3.pkgs.wheel
];
propagatedBuildInputs = with python3.pkgs; [
rope
colorama
setuptools # pkg_resources
];
pythonImportsCheck = [ "camel_snake_pep8" ];
meta = with lib; {
description = "Use Rope to help convert names in a Python project to conform with PEP-8";
homepage = "https://github.com/abarker/camel-snake-pep8";
license = licenses.mit;
maintainers = with maintainers; [ ];
mainProgram = "camel-snake-pep8";
};
}