python310Packages.slimit: init at unstable-2018-08-08

This commit is contained in:
Martin Weinelt 2023-05-08 19:05:46 +02:00
parent 2e546199d3
commit 7857ee842e
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, ply
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "slimit";
version = "unstable-2018-08-08";
format = "setuptools";
src = fetchFromGitHub {
owner = "rspivak";
repo = "slimit";
rev = "3533eba9ad5b39f3a015ae6269670022ab310847";
hash = "sha256-J+8RGENM/+eaTNvoC54XXPP+aWmazlssjnZAY88J/F0=";
};
propagatedBuildInputs = [
ply
];
pythonImportsCheck = [
"slimit"
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "SlimIt - a JavaScript minifier/parser in Python";
homepage = "https://github.com/rspivak/slimit";
changelog = "https://github.com/rspivak/slimit/blob/${src.rev}/CHANGES";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -11061,6 +11061,8 @@ self: super: with self; {
slither-analyzer = callPackage ../development/python-modules/slither-analyzer { };
slimit = callPackage ../development/python-modules/slimit { };
slixmpp = callPackage ../development/python-modules/slixmpp {
inherit (pkgs) gnupg;
};