1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/development/python-modules/logfury/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
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`.
2018-06-23 18:14:26 +02:00

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 ];
};
}