diff --git a/meta.yaml b/meta.yaml
index 66bd22c0e39c20f776cbba94b9b774d3387c926e..2a6009ce062273162d5aa3af572e062ca139c7ff 100644
--- a/meta.yaml
+++ b/meta.yaml
@@ -11,8 +11,11 @@ package:
   version: {{ version }}
 
 source:
-  git_url:   {{ repository }}
-  git_rev:   {{ version }}
+  # the FSLCONDA_REPOSITORY and FSLCONDA_REVISION
+  # environment variables can be used to override
+  # the repository/revision for development purposes.
+  git_url:   {{ os.environ.get("FSLCONDA_REPOSITORY", repository) }}
+  git_rev:   {{ os.environ.get("FSLCONDA_REVISION",   version) }}
   git_depth: 1
 
 build: