can-utils: Source is now hosted at GitHub

Gitorious doesn't exist any more.
This commit is contained in:
Tuomas Tynkkynen 2015-07-12 20:36:25 +03:00 committed by Bjørn Forsman
parent 48f5247342
commit 5fbd08968b

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit }:
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "can-utils-${version}";
@ -6,10 +6,11 @@ stdenv.mkDerivation rec {
# latest commit in git master as version number.
version = "20140227";
src = fetchgit {
url = "https://git.gitorious.org/linux-can/can-utils.git";
src = fetchFromGitHub {
owner = "linux-can";
repo = "can-utils";
rev = "67a2bdcd336e6becfa5784742e18c88dbeddc973";
sha256 = "0pnnjl141wf3kbf256m6qz9mxz0144z36qqb43skialzcnlhga38";
sha256 = "1v73b0nk1kb3kp5nbxp4xiygny6nfjgjnm7zgzrjgryvdrnws32z";
};
preConfigure = ''makeFlagsArray+=(PREFIX="$out")'';