python3Packages.rencode: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-10 16:57:54 +01:00 committed by Jonathan Ringer
parent ede76de87d
commit 19bcfe05f3

View File

@ -1,17 +1,18 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchgit , fetchFromGitHub
, cython , cython
}: }:
buildPythonPackage { buildPythonPackage rec {
pname = "rencode"; pname = "rencode";
version = "git20150810"; version = "1.0.3";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/aresch/rencode"; owner = "aresch";
rev = "b45e04abdca0dea36e383a8199783269f186c99e"; repo = "rencode";
sha256 = "b4bd82852d4220e8a9493d3cfaecbc57b1325708a2d48c0f8acf262edb10dc40"; rev = "v${version}";
sha256 = "sha256-tL2ChS1CIOipST08+uy8V7EyVwii1IwPis8mLtsQ3EA=";
}; };
buildInputs = [ cython ]; buildInputs = [ cython ];