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@661a807c65 the
version actually is "2012.01.08b".

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2012-09-15 08:04:49 +02:00
parent 6667ee858b
commit e678cd2611
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

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