From 0af0534fc4e8533e4b11e63923a87e0496cac9ba Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 3 Jun 2022 01:37:44 +0200 Subject: [PATCH] python310Packages.python-slugify: 6.1.1 -> 6.1.2 --- .../python-modules/python-slugify/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/python-slugify/default.nix b/pkgs/development/python-modules/python-slugify/default.nix index 2f22a20afb35..5f985f0fafdd 100644 --- a/pkgs/development/python-modules/python-slugify/default.nix +++ b/pkgs/development/python-modules/python-slugify/default.nix @@ -1,6 +1,6 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub , pytestCheckHook , pythonOlder , text-unidecode @@ -9,14 +9,16 @@ buildPythonPackage rec { pname = "python-slugify"; - version = "6.1.1"; + version = "6.1.2"; format = "setuptools"; disabled = pythonOlder "3.6"; - src = fetchPypi { - inherit pname version; - hash = "sha256-AAAzl/TjFBTpIs5WezpNoozxQ2pT0zLJrutRx9jEaf0="; + src = fetchFromGitHub { + owner = "un33k"; + repo = pname; + rev = "v${version}"; + hash = "sha256-JGjUNBEMuICsaClQGDSGX4qFRjecVKzmpPNRUTvfwho="; }; propagatedBuildInputs = [