python.pkgs.logfury: fix build
This commit is contained in:
parent
a75dd64338
commit
b690856b62
32
pkgs/development/python-modules/logfury/default.nix
Normal file
32
pkgs/development/python-modules/logfury/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user