diff options
author | Pascal Wittmann <mail@pascal-wittmann.de> | 2014-10-21 22:35:30 +0200 |
---|---|---|
committer | Pascal Wittmann <mail@pascal-wittmann.de> | 2014-10-21 22:35:30 +0200 |
commit | c5fd7f3b690dda1114f8bd2cec19ad2202b88b9b (patch) | |
tree | 85e11453a26e3cf90b52698243e2fc565024e2b7 /pkgs/development/web/twitter-bootstrap | |
parent | 3514fad7cd5f0e2cbbcd6eafea45d86c01f72f6f (diff) |
twitter-bootstrap: use fetchFromGitHub
Diffstat (limited to 'pkgs/development/web/twitter-bootstrap')
-rw-r--r-- | pkgs/development/web/twitter-bootstrap/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/web/twitter-bootstrap/default.nix b/pkgs/development/web/twitter-bootstrap/default.nix index 9df7e3126d55d..1057e9708654b 100644 --- a/pkgs/development/web/twitter-bootstrap/default.nix +++ b/pkgs/development/web/twitter-bootstrap/default.nix @@ -1,13 +1,14 @@ -{ stdenv, fetchgit, lessc, closurecompiler }: +{ stdenv, fetchFromGitHub, lessc, closurecompiler }: stdenv.mkDerivation rec { name = "twitter-bootstrap-${version}"; version = "2.3.2"; - src = fetchgit { - url = https://github.com/twitter/bootstrap.git; - rev = "refs/tags/v${version}"; - sha256 = "093z4yxqhrr30vna67ksxz3bq146q2xr05hinh78pg2ls88k77la"; + src = fetchFromGitHub { + owner = "twitter"; + repo = "bootstrap"; + rev = "v${version}"; + sha256 = "0b4dsk9sqlkwwfgqqjlgi6p05qz2jssmmz4adm83f31sx70lgh4g"; }; buildInputs = [ lessc closurecompiler ]; |