summary refs log tree commit diff
path: root/pkgs/development/python-modules/jsbeautifier/default.nix
blob: 19b1eeefa5340f79ddabc0c58d85a1dc50dd65f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, buildPythonApplication, EditorConfig, pytest, six }:

buildPythonApplication rec {
  pname = "jsbeautifier";
  version = "1.7.5";
  name = "${pname}-${version}";

  propagatedBuildInputs = [ six ];

  buildInputs = [ EditorConfig pytest ];

  src = fetchurl {
    url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz";
    sha256 = "78eb1e5c8535484f0d0b588aca38da3fb5e0e34de2d1ab53c077e71c55757473";
  };

  meta = with stdenv.lib; {
    homepage    = "http://jsbeautifier.org";
    description = "JavaScript unobfuscator and beautifier.";
    license     = licenses.mit;
    maintainers = with maintainers; [ apeyroux ];
  };
}