blob: 1525888ac793086246c623f48015ed728b723367 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jsmin";
version = "3.0.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "c0959a121ef94542e807a674142606f7e90214a2b3d1eb17300244bbb5cc2bfc";
};
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "jsmin/test.py" ];
pythonImportsCheck = [ "jsmin" ];
meta = {
description = "JavaScript minifier";
homepage = "https://github.com/tikitu/jsmin/";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|