mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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 {
|
||||
name = "demjson-1.6";
|
||||
pname = "demjson";
|
||||
version = "2.2.4";
|
||||
name = "${pname}-${version}";
|
||||
disabled = isPy36;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/d/demjson/${name}.tar.gz";
|
||||
sha256 = "0abf7wqqq7rk1sycy47ayn5p93yy7gjq50cb2z69wmik1qqrr60x";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ygbddpnvp5lby6mr5kz60la3hkvwwzv3wwb3z0w9ngxl0w21pii";
|
||||
};
|
||||
|
||||
doCheck = false; # there are no tests
|
||||
|
||||
preFixup = ''
|
||||
mkdir -p "$out/bin"
|
||||
cp jsonlint "$out/bin/"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)";
|
||||
homepage = http://deron.meranda.us/python/demjson/;
|
||||
|
Loading…
Reference in New Issue
Block a user