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
, buildPythonPackage
, fetchgit
, fetchFromGitHub
, cython
}:
buildPythonPackage {
buildPythonPackage rec {
pname = "rencode";
version = "git20150810";
version = "1.0.3";
src = fetchgit {
url = "https://github.com/aresch/rencode";
rev = "b45e04abdca0dea36e383a8199783269f186c99e";
sha256 = "b4bd82852d4220e8a9493d3cfaecbc57b1325708a2d48c0f8acf262edb10dc40";
src = fetchFromGitHub {
owner = "aresch";
repo = "rencode";
rev = "v${version}";
sha256 = "sha256-tL2ChS1CIOipST08+uy8V7EyVwii1IwPis8mLtsQ3EA=";
};
buildInputs = [ cython ];