pythonPackages.demjson: 1.6 -> 2.2.4
* fetchurl -> fetchPypi * Tests work now. * jsonlint is installed for us by package buildsys. * Disable for python3.6 (build/test error).
This commit is contained in:
parent
f6b0aa8ad5
commit
2e44d576fd
@ -4853,20 +4853,16 @@ in {
|
|||||||
|
|
||||||
|
|
||||||
demjson = buildPythonPackage rec {
|
demjson = buildPythonPackage rec {
|
||||||
name = "demjson-1.6";
|
pname = "demjson";
|
||||||
|
version = "2.2.4";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
disabled = isPy36;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = fetchPypi {
|
||||||
url = "mirror://pypi/d/demjson/${name}.tar.gz";
|
inherit pname version;
|
||||||
sha256 = "0abf7wqqq7rk1sycy47ayn5p93yy7gjq50cb2z69wmik1qqrr60x";
|
sha256 = "0ygbddpnvp5lby6mr5kz60la3hkvwwzv3wwb3z0w9ngxl0w21pii";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false; # there are no tests
|
|
||||||
|
|
||||||
preFixup = ''
|
|
||||||
mkdir -p "$out/bin"
|
|
||||||
cp jsonlint "$out/bin/"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)";
|
description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)";
|
||||||
homepage = http://deron.meranda.us/python/demjson/;
|
homepage = http://deron.meranda.us/python/demjson/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user