Merge pull request #39285 from florianjacob/synapse

matrix-synapse: 0.27.2 -> 0.27.4
This commit is contained in:
Frederik Rietdijk
2018-04-25 07:41:29 +02:00
committed by GitHub
4 changed files with 47 additions and 30 deletions

View File

@@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi
, frozendict, simplejson, six
}:
buildPythonPackage rec {
pname = "canonicaljson";
version = "1.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "1q50zk9a0r7kd56rdf9cgyxxj7vy54j96sgh8vc8jhmsvdv8dzh6";
};
propagatedBuildInputs = [
frozendict simplejson six
];
meta = with stdenv.lib; {
homepage = https://github.com/matrix-org/python-canonicaljson;
description = "Encodes objects and arrays as RFC 7159 JSON.";
license = licenses.asl20;
};
}

View File

@@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "frozendict";
version = "1.2";
src = fetchPypi {
inherit pname version;
sha256 = "0ibf1wipidz57giy53dh7mh68f2hz38x8f4wdq88mvxj5pr7jhbp";
};
# frozendict does not come with tests
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/slezica/python-frozendict;
description = "An immutable dictionary";
license = licenses.mit;
};
}