Add a test for the fetchurl function

This commit is contained in:
Eelco Dolstra 2012-07-09 15:41:43 -04:00
parent 035aa11403
commit 51f9f9924b
3 changed files with 17 additions and 1 deletions

6
tests/fetchurl.nix Normal file
View file

@ -0,0 +1,6 @@
{ filename, sha256 }:
import <nix/fetchurl.nix> {
url = "file://${filename}";
inherit sha256;
}