1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 10:56:56 +00:00
nixpkgs/pkgs/development/python-modules/rocket-errbot/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

25 lines
610 B
Nix

{ lib, fetchPypi, fetchpatch, buildPythonPackage }:
buildPythonPackage rec {
pname = "rocket-errbot";
version = "1.2.5";
src = fetchPypi {
inherit pname version;
sha256 = "181y1wqjvlry5xdzbliajvrxvswzh3myh795jnj1pm92r5grqzda";
};
# remove with 1.2.6
patches = [ (fetchpatch {
url = "https://github.com/errbotio/rocket/pull/1.patch";
sha256 = "1s668yv5b86b78vbqwhcl44k2l16c9bhk3199yy9hayf0vkxnwif";
}) ];
meta = {
homepage = https://github.com/errbotio/rocket;
description = "Modern, multi-threaded and extensible web server";
license = lib.licenses.mit;
};
}