Merge pull request #39285 from florianjacob/synapse
matrix-synapse: 0.27.2 -> 0.27.4
This commit is contained in:
23
pkgs/development/python-modules/canonicaljson/default.nix
Normal file
23
pkgs/development/python-modules/canonicaljson/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
20
pkgs/development/python-modules/frozendict/default.nix
Normal file
20
pkgs/development/python-modules/frozendict/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user