Python: add pname attributes to libraries

so that we can use the update script.
This commit is contained in:
Frederik Rietdijk
2017-05-27 11:25:35 +02:00
parent dce1c26e5d
commit 959842a9c7
95 changed files with 265 additions and 152 deletions

View File

@@ -1,21 +1,23 @@
{ stdenv, fetchurl, buildPythonApplication, EditorConfig, pytest, six }:
buildPythonApplication rec {
name = "jsbeautifier-1.6.14";
pname = "jsbeautifier";
version = "1.6.14";
name = "jsbeautifier-1.6.14";
propagatedBuildInputs = [ six ];
propagatedBuildInputs = [ six ];
buildInputs = [ EditorConfig pytest ];
buildInputs = [ EditorConfig pytest ];
src = fetchurl {
url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz";
sha256 = "50b2af556aa1da7283a6a92eaa699668312cb91f2ba6b78a4422b1d42af964a2";
};
src = fetchurl {
url = "mirror://pypi/j/jsbeautifier/${name}.tar.gz";
sha256 = "50b2af556aa1da7283a6a92eaa699668312cb91f2ba6b78a4422b1d42af964a2";
};
meta = with stdenv.lib; {
homepage = "http://jsbeautifier.org";
description = "JavaScript unobfuscator and beautifier.";
license = licenses.mit;
maintainers = with maintainers; [ apeyroux ];
};
}
meta = with stdenv.lib; {
homepage = "http://jsbeautifier.org";
description = "JavaScript unobfuscator and beautifier.";
license = licenses.mit;
maintainers = with maintainers; [ apeyroux ];
};
}