move to fetchgit as github tarballs are unpredictable

svn path=/nixpkgs/trunk/; revision=17662
This commit is contained in:
Michael Raskin 2009-10-06 05:58:56 +00:00
parent edbbddce1d
commit 7469c3da48
3 changed files with 20 additions and 7 deletions

View File

@ -2,17 +2,15 @@ a :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "2009.08.08" a;
s = import ./src-for-default.nix;
buildInputs = with a; [
libsoup pkgconfig webkit gtk makeWrapper
];
in
rec {
src = fetchurl {
url = "http://github.com/Dieterbe/uzbl/tarball/${version}";
sha256 = "06f0ae1e34bc0b0f77feeba5f832cdc2349ac04cbc7a5a5b9e7e5ff086a9c497";
name = "uzbl-master-${version}.tar.gz";
};
src = (a.fetchGitFromSrcInfo s) + "/";
inherit (s) name;
inherit buildInputs;
configureFlags = [];
@ -33,7 +31,6 @@ rec {
installFlags = "PREFIX=$out";
name = "uzbl-" + version;
meta = {
description = "Tiny externally controllable webkit browser";
maintainers = [a.lib.maintainers.raskin];

View File

@ -0,0 +1,9 @@
rec {
version="d2d73ad463f3d9f1c673d37457af159947b3faac";
name="uzbl-stable-d2d73ad463f3d9f1c673d37457af159947b3faac";
hash="7b162ad46445b4080c0cf2ac57c777186d4a9a58979499fe5556e6e855d4e53c";
rev="d2d73ad463f3d9f1c673d37457af159947b3faac";
url="git://github.com/Dieterbe/uzbl.git";
}

View File

@ -0,0 +1,7 @@
{
repoUrl = "git://github.com/Dieterbe/uzbl.git";
baseName = "uzbl-stable";
method = "fetchgit";
rev = "origin/master";
}