attic: fetchurl -> fetchzip

fetchzip calculates the hash of the extracted archive, so that
(irrelevant) changes done to the dynamically generated archive doesn't
cause our hash to be outdated.
This commit is contained in:
Bjørn Forsman 2014-12-24 12:07:19 +01:00
parent 20e0da55f5
commit 1a79e7ffdc

View file

@ -1,12 +1,12 @@
{ stdenv, fetchurl, python3Packages, openssl, acl }:
{ stdenv, fetchzip, python3Packages, openssl, acl }:
python3Packages.buildPythonPackage rec {
name = "attic-0.14";
namePrefix = "";
src = fetchurl {
src = fetchzip {
url = "https://github.com/jborg/attic/archive/0.14.tar.gz";
sha256 = "0zabh6cq7v1aml83y2r475vvy3mmmjbvkijk0bnyfx73z8hmsa3z";
sha256 = "17y7kihykaf84sy9cm00fn4wcc7rnhv2792kcwplylz7dsm7ksiw";
};
propagatedBuildInputs = with python3Packages;