plover: switch to fetchFromGitHub

+11 -7
+11 -7
pkgs/applications/misc/plover/default.nix
··· 1 - { lib, fetchurl, python27Packages, python3Packages, wmctrl, 2 qtbase, mkDerivationWith }: 3 4 { ··· 12 license = licenses.gpl2; 13 }; 14 15 - src = fetchurl { 16 - url = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz"; 17 - sha256 = "1hdg5491phx6svrxxsxp8v6n4b25y7y4wxw7x3bxlbyhaskgj53r"; 18 }; 19 20 nativeBuildInputs = [ setuptools-scm ]; ··· 34 license = licenses.gpl2; 35 }; 36 37 - src = fetchurl { 38 - url = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz"; 39 - sha256 = "sha256-Eun+ZgmOIjYw6FS/2OGoBvYh52U/Ue0+NtIqrvV2Tqc="; 40 }; 41 42 # I'm not sure why we don't find PyQt5 here but there's a similar
··· 1 + { lib, fetchFromGitHub, python27Packages, python3Packages, wmctrl, 2 qtbase, mkDerivationWith }: 3 4 { ··· 12 license = licenses.gpl2; 13 }; 14 15 + src = fetchFromGitHub { 16 + owner = "openstenoproject"; 17 + repo = "plover"; 18 + rev = "v${version}"; 19 + sha256 = "sha256-LIhTwHMphg+xTR9NKvjAZ6p0mmqPNcZd9C4cgnenmYQ="; 20 }; 21 22 nativeBuildInputs = [ setuptools-scm ]; ··· 36 license = licenses.gpl2; 37 }; 38 39 + src = fetchFromGitHub { 40 + owner = "openstenoproject"; 41 + repo = "plover"; 42 + rev = "v${version}"; 43 + sha256 = "sha256-oJ7+R3ZWhUbNTTAw1AfMg2ur8vW1XEbsa5FgSTam1Ns="; 44 }; 45 46 # I'm not sure why we don't find PyQt5 here but there's a similar