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`.
24 lines
491 B
Nix
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 ];
|
|
};
|
|
}
|