schedtool: update URL

This commit is contained in:
Nikolay Amiantov 2019-06-03 19:19:43 +03:00
parent af28dd0c71
commit 52f171064c

View File

@ -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=" ];