python3Packages.listparser: fetch from GitHub instead of PyPi"

This commit is contained in:
Colin 2024-06-24 12:40:09 +00:00
parent 5db4d73ad6
commit a06481fbef

View File

@ -1,6 +1,6 @@
{
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
lib,
python3,
requests,
@ -11,10 +11,11 @@ buildPythonPackage rec {
pname = "listparser";
version = "0.18";
src = fetchPypi {
pname = "listparser";
inherit version;
sha256 = "0hdqs1mmayw1r8yla43hgb4d9y3zqs5483vgf8j9ygczkd2wrq2b";
src = fetchFromGitHub {
owner = "kurtmckee";
repo = "listparser";
rev = "v${version}";
hash = "sha256-xT2RwoELxO96F0D0XHM+4yYymPi7ysLh+8SaexKZfaI=";
};
propagatedBuildInputs = [