Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / slimit / default.nix
blob40b4f0ca67b04866cf22252d78713faf5013dd3a
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , ply
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "slimit";
10   version = "unstable-2018-08-08";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "rspivak";
15     repo = "slimit";
16     rev = "3533eba9ad5b39f3a015ae6269670022ab310847";
17     hash = "sha256-J+8RGENM/+eaTNvoC54XXPP+aWmazlssjnZAY88J/F0=";
18   };
20   propagatedBuildInputs = [
21     ply
22   ];
24   pythonImportsCheck = [
25     "slimit"
26   ];
28   nativeCheckInputs = [
29     pytestCheckHook
30   ];
32   meta = with lib; {
33     description = "SlimIt -  a JavaScript minifier/parser in Python";
34     mainProgram = "slimit";
35     homepage = "https://github.com/rspivak/slimit";
36     changelog = "https://github.com/rspivak/slimit/blob/${src.rev}/CHANGES";
37     license = licenses.mit;
38     maintainers = with maintainers; [ hexa ];
39   };