2022-09-15 16:46:36 +00:00
|
|
|
{ testers, fetchzip, runCommand, ... }:
|
2022-05-17 18:49:33 +00:00
|
|
|
|
|
|
|
let
|
2022-05-17 19:10:33 +00:00
|
|
|
url = "https://gist.github.com/glandium/01d54cefdb70561b5f6675e08f2990f2/archive/2f430f0c136a69b0886281d0c76708997d8878af.zip";
|
2022-05-17 18:49:33 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
simple = testers.invalidateFetcherByDrvHash fetchzip {
|
2022-05-17 19:10:33 +00:00
|
|
|
inherit url;
|
2022-05-17 18:49:33 +00:00
|
|
|
sha256 = "sha256-0ecwgL8qUavSj1+WkaxpmRBmu7cvj53V5eXQV71fddU=";
|
|
|
|
};
|
|
|
|
|
|
|
|
postFetch = testers.invalidateFetcherByDrvHash fetchzip {
|
2022-05-17 19:10:33 +00:00
|
|
|
inherit url;
|
2022-05-17 18:49:33 +00:00
|
|
|
sha256 = "sha256-7sAOzKa+9vYx5XyndHxeY2ffWAjOsgCkXC9anK6cuV0=";
|
2022-09-15 16:46:36 +00:00
|
|
|
postFetch = "touch $out/filee";
|
|
|
|
};
|
|
|
|
|
|
|
|
hiddenDir = testers.invalidateFetcherByDrvHash fetchzip {
|
|
|
|
url = "file://${runCommand "hiddendir.tar" {} ''
|
|
|
|
mkdir .foo
|
|
|
|
tar -cf $out .foo
|
|
|
|
''}";
|
|
|
|
sha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
|
2022-05-17 18:49:33 +00:00
|
|
|
};
|
|
|
|
}
|