nixpkgs/pkgs/development/python-modules/jsmin/default.nix

19 lines
417 B
Nix
Raw Normal View History

2017-10-15 16:13:32 +02:00
{ stdenv, lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "jsmin";
version = "2.2.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "0fsmqbjvpxvff0984x7c0y8xmf49ax9mncz48b9xjx8wrnr9kpxn";
};
meta = with lib; {
description = "JavaScript minifier";
homepage = "https://github.com/tikitu/jsmin/";
license = licenses.mit;
};
}