scudcloud: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-11-02 11:02:45 +01:00
parent 7849d37611
commit 51d7d76206

View file

@ -1,12 +1,14 @@
{ lib, fetchurl, python3Packages }: { lib, fetchFromGitHub, python3Packages }:
let version = "1.63"; python3Packages.buildPythonPackage rec {
in python3Packages.buildPythonPackage { pname = "scudcloud";
name = "scudcloud-${version}"; version = "1.63";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/raelgc/scudcloud/archive/v${version}.tar.gz"; owner = "raelgc";
sha256 = "e0d1cb72115d0fda17db92d28be51558ad8fe250972683fac3086dbe8d350d22"; repo = "scudcloud";
rev = "v${version}";
sha256 = "sha256-b8+MVjYKbSpnfM2ow2MNVY6MiT+urpNYDkFR/yUC7ik=";
}; };
propagatedBuildInputs = with python3Packages; [ pyqt5_with_qtwebkit dbus-python jsmin ]; propagatedBuildInputs = with python3Packages; [ pyqt5_with_qtwebkit dbus-python jsmin ];