My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/simplejson/default.nix

39 lines
953 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, stdenv
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "simplejson";
version = "3.17.6";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "1irlp5sakbdfcf717qmrx0r9rjlmwk0vza6zm3y55d32zw5c1cxg";
};
checkInputs = [
pytestCheckHook
];
doCheck = !stdenv.isDarwin;
pythonImportsCheck = [ "simplejson" ];
meta = with lib; {
description = "Extensible JSON encoder/decoder for Python";
longDescription = ''
simplejson covers the full JSON specification for both encoding
and decoding, with unicode support. By default, encoding is done
in an encoding neutral fashion (plain ASCII with \uXXXX escapes
for unicode characters).
'';
homepage = "https://github.com/simplejson/simplejson";
license = with licenses; [ mit afl21 ];
maintainers = with maintainers; [ fab ];
};
}