rtv: Replace fetchurl with fetchFromGitHub
This commit is contained in:
parent
6c19145234
commit
bc4b46c142
@ -1,12 +1,14 @@
|
|||||||
{ stdenv, fetchurl, pkgs, python, pythonPackages }:
|
{ stdenv, fetchFromGitHub, pkgs, python, pythonPackages }:
|
||||||
|
|
||||||
pythonPackages.buildPythonPackage rec {
|
pythonPackages.buildPythonPackage rec {
|
||||||
version = "1.4";
|
version = "1.4";
|
||||||
name = "rtv-${version}";
|
name = "rtv-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/michael-lazar/rtv/archive/v${version}.tar.gz";
|
owner = "michael-lazar";
|
||||||
sha256 = "0qi45was70p3z15pnh25hkbliya440jldlzmpasqvbdy9zdgpv0w";
|
repo = "rtv";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "071p7idprknpra6mrdjjka8lrr80ykag62rhbsaf6zcz1d9p55cp";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user