python3Packages.desktop-notifier: 3.3.0 -> 3.3.1

Switched to GitHub fetcher because Pypi doesn't supply required
resources in their tarball.
This commit is contained in:
Stefan Frijters 2021-08-15 15:10:42 +02:00
parent 000973d1a1
commit 0d79c10f2e
No known key found for this signature in database
GPG Key ID: 7619A6BC6E7DFA6F

View File

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pythonOlder
, stdenv
, packaging
@ -10,12 +10,14 @@
buildPythonPackage rec {
pname = "desktop-notifier";
version = "3.3.0";
version = "3.3.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ROSZorkA2wAp2Ubh3B3KWIUxM/4r7cv/1aSJqeKnPqg=";
src = fetchFromGitHub {
owner = "SamSchott";
repo = pname;
rev = "v${version}";
sha256 = "sha256-GbsbwCKRTgLk0xK6MGKb1Tp6cd8q3h6OUdJ2f+VPyzk=";
};
propagatedBuildInputs = [