diff options
author | Nikolay Amiantov <ab@fmap.me> | 2019-06-03 19:19:43 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2019-06-04 01:36:27 +0300 |
commit | 52f171064c45603090bb3561bdd5f28b423d3397 (patch) | |
tree | 53d9f1a60b833f1bc25e69ada75cbc3f96ff3691 /pkgs | |
parent | af28dd0c71320a21673f7e69a6e68d51dd122363 (diff) |
schedtool: update URL
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/schedtool/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/schedtool/default.nix b/pkgs/os-specific/linux/schedtool/default.nix index f24996562d8b8..2c02ef924c3f7 100644 --- a/pkgs/os-specific/linux/schedtool/default.nix +++ b/pkgs/os-specific/linux/schedtool/default.nix @@ -1,11 +1,14 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { - name = "schedtool-1.3.0"; + name = "schedtool-${version}"; + version = "1.3.0"; - src = fetchurl { - url = "http://freequaos.host.sk/schedtool/${name}.tar.bz2"; - sha256 = "1ky8q3jg4lsxbnlmm51q3jkxh160zy0l6a4xkdy2yncxc4m2l02f"; + src = fetchFromGitHub { + owner = "freequaos"; + repo = "schedtool"; + rev = name; + sha256 = "1wdw6fnf9a01xfjhdah3mn8bp1bvahf2lfq74i6hk5b2cagkppyp"; }; makeFlags = [ "DESTDIR=$(out)" "DESTPREFIX=" ]; |