Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: be832e2a9d98
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cddd4fad6bb1
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 23, 2020

  1. Copy the full SHA
    0332c42 View commit details

Commits on Nov 27, 2020

  1. Merge pull request #101437 from IvarWithoutBones/discordpy-update

    discordpy: 1.3.4 -> 1.5.1
    SuperSandro2000 authored Nov 27, 2020
    Copy the full SHA
    cddd4fa View commit details
Showing with 6 additions and 7 deletions.
  1. +6 −7 pkgs/development/python-modules/discordpy/default.nix
13 changes: 6 additions & 7 deletions pkgs/development/python-modules/discordpy/default.nix
Original file line number Diff line number Diff line change
@@ -5,20 +5,19 @@
, withVoice ? true, libopus
, aiohttp
, websockets
, pynacl
}:

buildPythonPackage rec {
pname = "discord.py";
version = "1.3.4";
version = "1.5.1";
disabled = pythonOlder "3.5.3";

# only distributes wheels on pypi now
src = fetchFromGitHub {
owner = "Rapptz";
repo = pname;
rev = "v${version}";
sha256 = "1i4h6vq681x8s05wi0n3ykavsxjh9hxdxn6banwjcqzhxzkyhsxi";
sha256 = "1bidyclwv20p1kfphj21r5gm3kr2vxx0zd151wg7fcngbbx7gmza";
};

propagatedBuildInputs = [ aiohttp websockets ];
@@ -31,7 +30,6 @@ buildPythonPackage rec {
--replace "ctypes.util.find_library('opus')" "'${libopus}/lib/libopus.so.0'"
'';


# only have integration tests with discord
doCheck = false;

@@ -46,9 +44,10 @@ buildPythonPackage rec {
"discord.ext.commands.bot"
];

meta = {
meta = with lib; {
description = "A python wrapper for the Discord API";
homepage = "https://discordpy.rtfd.org/";
license = lib.licenses.mit;
homepage = "https://discordpy.rtfd.org/";
maintainers = [ maintainers.ivar ];
license = licenses.mit;
};
}