1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/thespian/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

26 lines
740 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, lib }:
buildPythonPackage rec {
version = "3.9.2";
pname = "thespian";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "aec9793fecf45bb91fe919dc61b5c48a4aadfb9f94b06cd92883df7952eacf95";
};
# Do not run the test suite: it takes a long time and uses
# significant system resources, including requiring localhost
# network operations. Thespian tests are performed via its Travis
# CI configuration and do not need to be duplicated here.
doCheck = false;
meta = with lib; {
description = "Python Actor concurrency library";
homepage = http://thespianpy.com/;
license = licenses.mit;
maintainers = [ maintainers.kquick ];
};
}