python.pkgs.brotlipy: move expression

This commit is contained in:
Frederik Rietdijk 2018-01-01 16:59:56 +01:00
parent 33d1236900
commit a1ab0a6047
2 changed files with 26 additions and 17 deletions

View File

@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
, cffi
, enum34
, construct
}:
buildPythonPackage rec {
pname = "brotlipy";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "10s2y19zywfkf3sksrw81czhva759aki0clld2pnnlgf64sz7016";
};
propagatedBuildInputs = [ cffi enum34 construct ];
meta = {
description = "Python bindings for the reference Brotli encoder/decoder";
homepage = "https://github.com/python-hyper/brotlipy/";
license = lib.licenses.mit;
};
}

View File

@ -10501,23 +10501,7 @@ in {
mistune = callPackage ../development/python-modules/mistune { };
brotlipy = buildPythonPackage rec {
name = "brotlipy-${version}";
version = "0.6.0";
src = pkgs.fetchurl {
url = "mirror://pypi/b/brotlipy/${name}.tar.gz";
sha256 = "10s2y19zywfkf3sksrw81czhva759aki0clld2pnnlgf64sz7016";
};
propagatedBuildInputs = with self; [ cffi enum34 construct ];
meta = {
description = "Python bindings for the reference Brotli encoder/decoder";
homepage = "https://github.com/python-hyper/brotlipy/";
license = licenses.mit;
};
};
brotlipy = callPackage ../development/python-modules/brotlipy { };
sortedcontainers = buildPythonPackage rec {
name = "sortedcontainers-${version}";