weighttp: 0.3 -> 0.4

cgit doesn't generate stable archives, so the SHA changed when there
was a commit earlier this year. Using fetchgit in hopes of stabilizing
the checked out sha.
This commit is contained in:
Renzo Carbonara 2016-07-20 20:21:47 -03:00 committed by Graham Christensen
parent 6e2d4c91ef
commit 8859fd948a
No known key found for this signature in database
GPG Key ID: FE918C3A98C1030F

View File

@ -1,9 +1,12 @@
{ stdenv, fetchurl, python, libev}:
stdenv.mkDerivation {
name = "weighttp-0.3";
src = fetchurl {
url = http://cgit.lighttpd.net/weighttp.git/snapshot/weighttp-0.3.tar.gz;
sha256 = "0gl83vnip3nj7fdgbwqkmrx7kxp51sri9jfiwd04q9iz8f9bsmz5";
{ stdenv, fetchgit, python, libev}:
stdenv.mkDerivation rec {
name = "weighttp-${version}";
version = "0.4";
src = fetchgit {
url = https://git.lighttpd.net/weighttp.git;
rev = "refs/tags/weighttp-${version}";
sha256 = "14yjmdx9p8g8c3zlrx5qid8k156lsagfwhl3ny54162nxjf7kzgr";
};
buildInputs = [ python libev ];