mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
python3Packages.rencode: switch to fetchFromGitHub
This commit is contained in:
parent
ede76de87d
commit
19bcfe05f3
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user