From e678cd261120838cce11f06c71d5d5516ee5a395 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sat, 15 Sep 2012 08:04:49 +0200 Subject: [PATCH] youtube-dl: Update to version 2012.02.27. In addition, we're now switching to using refs/tags from git rather than commit refs directly, which has the advantage, that we don't have to do bookkeeping twice, where people forget to increment the version in nixpkgs. This happened for the previous version, where `pkgver` had the value "2011.12.08", but in rg3/youtube-dl@661a807c65a154eccdddb875b45e4782ca86132c the version actually is "2012.01.08b". Signed-off-by: aszlig --- pkgs/tools/misc/youtube-dl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/youtube-dl/default.nix b/pkgs/tools/misc/youtube-dl/default.nix index 0422383ed3b..a810001d0cc 100644 --- a/pkgs/tools/misc/youtube-dl/default.nix +++ b/pkgs/tools/misc/youtube-dl/default.nix @@ -1,7 +1,7 @@ {stdenv, fetchgit, python}: let pkgname = "youtube-dl"; - pkgver = "2011.12.08"; + pkgver = "2012.02.27"; in stdenv.mkDerivation { @@ -9,8 +9,8 @@ stdenv.mkDerivation { src = fetchgit { url = "git://github.com/rg3/${pkgname}"; - rev = "661a807c65a154eccdddb875b45e4782ca86132c"; - sha256 = "32fd193b867b122400e9d5d32f6dfaf15704f837a9dc2ff809e1ce06712857ba"; + rev = "refs/tags/${pkgver}"; + sha256 = "17270ba14f42e8f2813bc6a0eb3674e51592eede69612e156e7d99a96fd147ce"; }; buildInputs = [python];