python.pkgs.logfury: fix build

This commit is contained in:
Frederik Rietdijk 2017-09-07 09:52:47 +02:00
parent a75dd64338
commit b690856b62
2 changed files with 33 additions and 21 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, funcsigs
, six
}:
buildPythonPackage rec {
pname = "logfury";
name = "${pname}-${version}";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "1lywirv3d1lw691mc4mfpz7ak6r49klri43bbfgdnvsfppxminj2";
};
propagatedBuildInputs = [
funcsigs
six
];
# No tests
doCheck = false;
meta = {
description = "Logfury is for python library maintainers. It allows for responsible, low-boilerplate logging of method calls.";
homepage = "https://github.com/ppolewicz/logfury";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ jwiegley ];
};
}

View File

@ -7005,27 +7005,7 @@ in {
};
};
logfury = buildPythonPackage rec {
name = "logfury-${version}";
version = "0.1.2";
src = pkgs.fetchurl {
url = "mirror://pypi/l/logfury/${name}.tar.gz";
sha256 = "1lywirv3d1lw691mc4mfpz7ak6r49klri43bbfgdnvsfppxminj2";
};
buildInputs =
[ self.funcsigs
self.six
];
meta = with pkgs.stdenv.lib; {
description = "Logfury is for python library maintainers. It allows for responsible, low-boilerplate logging of method calls.";
homepage = "https://github.com/ppolewicz/logfury";
license = licenses.bsd3;
maintainers = with maintainers; [ jwiegley ];
};
};
logfury = callPackage ../development/python-modules/logfury { };
ndg-httpsclient = buildPythonPackage rec {
version = "0.4.2";