mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user