diff options
author | Florian Jacob <projects+git@florianjacob.de> | 2019-04-13 20:55:49 +0200 |
---|---|---|
committer | Florian Jacob <projects+git@florianjacob.de> | 2019-04-24 21:26:27 +0200 |
commit | 68c6f3f27e7427774f30c65f0e06101acfd73797 (patch) | |
tree | fea6bb104ff206afd71b0e2d8d29930be6f9b922 | |
parent | 7b3ac169ff056393290c14e36d61ba97e5c1c881 (diff) |
journalwatch: use fetchFromGitHub for normalization
See #32997
-rw-r--r-- | pkgs/tools/system/journalwatch/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/tools/system/journalwatch/default.nix b/pkgs/tools/system/journalwatch/default.nix index 40606a45f6391..e0aaee31217cc 100644 --- a/pkgs/tools/system/journalwatch/default.nix +++ b/pkgs/tools/system/journalwatch/default.nix @@ -1,15 +1,15 @@ -{ stdenv, buildPythonPackage, fetchurl, pythonOlder, systemd, pytest }: +{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, systemd, pytest }: buildPythonPackage rec { pname = "journalwatch"; - name = "${pname}-${version}"; version = "1.1.0"; disabled = pythonOlder "3.3"; - - src = fetchurl { - url = "https://github.com/The-Compiler/${pname}/archive/v${version}.tar.gz"; - sha512 = "3hvbgx95hjfivz9iv0hbhj720wvm32z86vj4a60lji2zdfpbqgr2b428lvg2cpvf71l2xn6ca5v0hzyz57qylgwqzgfrx7hqhl5g38s"; + src = fetchFromGitHub { + owner = "The-Compiler"; + repo = pname; + rev = "v${version}"; + sha512 = "11g2f1w9lfqw6zxxyg7qrqpb914s6w71j0gnpw7qr7cak2l5jlf2l39dlg30y55rw7jgmf0yg77wwzd0c430mq1n6q1v8w86g1rwkzb"; }; # can be removed post 1.1.0 |