nixpkgs-suyu/pkgs/development/python-modules/linuxfd/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

24 lines
491 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "linuxfd";
version = "1.4.4";
src = fetchPypi {
inherit pname version;
sha256 = "b8bf6847b5c8e50e0842024d2911bfc1048db9abf37582a310cd57070971d692";
};
# no tests
doCheck = false;
meta = {
description = "Python bindings for the Linux eventfd/signalfd/timerfd/inotify syscalls";
homepage = https://github.com/FrankAbelbeck/linuxfd;
license = with lib.licenses; [ lgpl3 ];
};
}