mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
31 lines
629 B
Nix
31 lines
629 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, funcsigs
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "logfury";
|
|
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 ];
|
|
};
|
|
} |