forked from mirrors/nixpkgs
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 {
|
||||
version = "1.4";
|
||||
name = "rtv-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/michael-lazar/rtv/archive/v${version}.tar.gz";
|
||||
sha256 = "0qi45was70p3z15pnh25hkbliya440jldlzmpasqvbdy9zdgpv0w";
|
||||
src = fetchFromGitHub {
|
||||
owner = "michael-lazar";
|
||||
repo = "rtv";
|
||||
rev = "v${version}";
|
||||
sha256 = "071p7idprknpra6mrdjjka8lrr80ykag62rhbsaf6zcz1d9p55cp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
|
|
Loading…
Reference in a new issue